Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Parfor and clusters
Date: Fri, 14 Nov 2008 22:11:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 17
Message-ID: <gfkt1m$32n$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1226700662 3159 172.30.248.35 (14 Nov 2008 22:11:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 14 Nov 2008 22:11:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1601482
Xref: news.mathworks.com comp.soft-sys.matlab:500915


I'm trying to run a parfor loop on a cluster and am having a rough time. There are two computers set up in my area, a dual-core and a single core machine. One machine has a job manager running and two workers, the other machine has a worker. Both have the parallel computing toolbox and distcomp. R2008 is on both. All are running on a LAN on the same subnet. The remote machine refuses to run anything. I think I'm missing a critical bit of information, and the documentation or forums haven't helped me. 

My setup:
- nodestatus shows both the remote machine and local machine connected to the job manager.
- nodestatus shows the two workers on the main machine and the single worker on the remote machine are started.
- I can connect to the job manager via findResource on both machines.
- Both machines validate sucessfully in the configuration manager.

What I've tried:
- Running matlabpool on both machines with a jobmanager profile (files and paths point to the same shared folder that contains the project code). Both machines sucessfully download the folder when matlabpool starts.
- Running matlabpool on both machines with a local profile (works great, locally. Didn't expect otherwise).
- When I run matlabpool <myjobmanager> a job is instantly sent to the job manager and starts running, according to findResource. But it appears no resources (memory, CPU) are consumed, and I am returned to the command prompt.

Hypothesis:
My understanding is that the beauty of parfor loops is they should automatically run across a cluster without needing to submit a job (given that matlabpool is running). What am I missing? Am I misconfiguring matlabpool? 

I've reached capitualtion after two full days and any help on the matter would be delightful. Thanks in advance.