Hi. My desktop has two CPUs each of which has 12 cores. However, when I use the command 'parpool' in Matlab, it only recognizes 12 workers and not 24 ones. I also manually changed the number 12 in 'Parallel preferences' box from 12 to 24, but when I check the CPU monitor in 'Windows Task Manager', there are still 12 jobs that have been submitted by Matlab. I was wondering if anybody knows how to make Matlab to recognize all 24 cores?
Thanks, Reza

 Réponse acceptée

pool = parpool('local',24)

2 commentaires

Reza
Reza le 22 Juil 2015
Modifié(e) : Reza le 22 Juil 2015
Thanks Sean for your answer, it helped. It seems you can't increase the 'NumWorkers' beyond 12 in Matlab2013b, but I tried it in Matlab2015a and it worked.
Yes, the 12 worker limitation was removed in 14a I believe and is now 512 workers.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Multicore Processor Targets 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!

Translated by