Date: Oct 31, 2011 12:17 AM
Author: laoya
Subject: Re: matlabpool for distributed machines
Is there anyone who can help me to solve my problem?

I need to launch many processes of external program by matlab on distributed machines, for example, 4 processes every machine for 4 machines, so totally 16 processes.

Now I can launch 4 processes on one machine by parfor and matlabpool 4, but when I call a function to run the 'parfor' and 'matlabpool 4' by createTask on remote machines, it failed: only one process can be created. Is there any solution to this problem? Can I set 'matlabpool 16' to include all these machines and the run the 'parfor'?

Thanks,

Zhanghong Tang

"laoya " <20959284@qq.com> wrote in message <j8dkug$ale$1@newscl01ah.mathworks.com>...

> Dear all,

>

> I wish to have the matlabpool work for distributed machines. I have to machines:

> computer 1:

> IP: 192.168.1.2

> OS: windows xp 32 bit

> matlab: R2010b

> number of cores: 4

>

> computer 2:

> IP: 192.168.1.2

> OS: windows 7 64 bit

> matlab: R2010b

> number of cores: 8

>

> How can I configure the jobs and workers and then start the matlabpool to let the parallel number on computer 1 to be 4 and on computer 2 to be 8?

>

> After matlabpool started, can I run the following code on computer 1?

>

> % test.m: test program of parfor and matlabpool for distributed machines

> function test()

> ...

> parfor i=1:numcomm

> eval(comm(i));

> end

>

>

> Thanks,

> Zhanghong Tang