How to connect various computers to matlab
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Walter Roberson
le 30 Oct 2012
Modifié(e) : Walter Roberson
le 30 Oct 2012
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 ?
Réponse acceptée
Jason Ross
le 31 Oct 2012
Modifié(e) : Jason Ross
le 31 Oct 2012
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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Startup and Shutdown dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!