Matlab doesn't recognize all cores on my desktop

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

 Akzeptierte Antwort

Sean de Wolski
Sean de Wolski am 22 Jul. 2015
pool = parpool('local',24)

2 Kommentare

Reza
Reza am 22 Jul. 2015
Bearbeitet: Reza am 22 Jul. 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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Multicore Processor Targets finden Sie in Hilfe-Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by