Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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 ]
laoya

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

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




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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.