The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: matlabpool for distributed machines
Replies: 3   Last Post: Oct 31, 2011 11:04 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 11
Registered: 10/23/11
Re: matlabpool for distributed machines
Posted: Oct 31, 2011 12:17 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

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'?

Zhanghong Tang

"laoya " <> wrote in message <j8dkug$ale$>...
> Dear all,
> I wish to have the matlabpool work for distributed machines. I have to machines:
> computer 1:
> IP:
> OS: windows xp 32 bit
> matlab: R2010b
> number of cores: 4
> computer 2:
> IP:
> 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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.