How to connect various computers to matlab

11 次查看(过去 30 天)
Hi.
I'm wondering if there is anyway to connect two computers, let's call it PC1 and PC2, so that I can use the resources of PC2 when I'm running a script in PC1.
I'm using windows 7 in PC1 and windows XP in PC2.
I have an ethernet cable to connect both computers.
Any help will be highly appreciated.
Thanks.
  2 个评论
Walter Roberson
Walter Roberson 2012-10-30
编辑:Walter Roberson 2012-10-30
Use what kind of resources on PC2 ?
Do both systems have exactly the same version of MATLAB installed? Do they have the same CPU (or at least something very close) ?
Do you have the Parallel Processing Toolbox? Do you have the Distributed Computing Toolbox ?
Daniel Jaló
Daniel Jaló 2012-10-31
What I wished to do is use the processors of the PC2 to run the script in parallel with PC1. I have both the parallel processing toolbox and the distributed computing toolbox. They both have the same version of Matlab. However the PC1 is a Quad-Core processor A6-3420M and the PC2 has a dual core intel processor of 2.1GHz.

请先登录,再进行评论。

采纳的回答

Jason Ross
Jason Ross 2012-10-31
编辑:Jason Ross 2012-10-31
I helped someone with a similar setup before.
Basically once you get the networking stuff set up, you set up the MJS, start the workers, and submit away.
If you wanted to, you could start workers on PC1 as well as PC2, you just have the workers on PC1 controlled by the job manager on PC2 -- although you do need to make sure you don't have too much load on PC1. A good starting point is one MATLAB per compute core, and 2 GB per worker.
You could do two workers on PC2 and three on PC1, keeping in mind you are doing other things on PC1. Tune as desired depending on how the hardware responds.
It's also recommended to keep the same bitness on the machines. Are both operating systems 32-bit? That will let you process parallel jobs most effectively.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by