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

 Respuesta aceptada

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

2 comentarios

Reza
Reza el 22 de Jul. de 2015
Editada: Reza el 22 de Jul. de 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.
Sean de Wolski
Sean de Wolski el 23 de Jul. de 2015
Yes, the 12 worker limitation was removed in 14a I believe and is now 512 workers.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Multicore Processor Targets en Centro de ayuda y File Exchange.

Preguntada:

el 22 de Jul. de 2015

Comentada:

el 23 de Jul. de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by