Using parfor on cluster, changing number of cores per worker
Afficher commentaires plus anciens
I am using parfor on a computing cluster that has 128 workers.
If I use parfor will it utilize multiple cores per worker automatically?
What command can I use to ensure that multiple cores per worker are used?
Currently I am using the following code, but have not made any settings changes.
c = parcluster;
Job = c.batch(@RunParallelForLoop, 2, {}, 'Pool', 127)
to utilize 127 workers to run this function.
Is there any way I can set the number of cores per worker?
Thank you in advance.
JB
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Startup and Shutdown dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!