Idle labs on Parallel Computing Toolbox

I use a network server that is shared with other users in the company to perform heavy calculations with Matlab.
My question is, does Matlab reserve his parallel workers even when idle?
If, for example, I open a matlabpool of 12 labs, does that mean that even when I'm not using Matlab, the other users have 12 cores less to use for themselves? Or does Matlab use them only when asked to?

 Respuesta aceptada

Friedrich
Friedrich el 7 de Mzo. de 2012
Hi,
Does Matlab reserve his parallel workers even when idle?
Yes, when you open a matlabpool of 12 labs, the others have 12 labs less to use. A matlabpool is like an "interactive job" which takes workers like every other job.

5 comentarios

Walter Roberson
Walter Roberson el 7 de Mzo. de 2012
Though when MATLAB exits, it releases any matlabpool that was opened in that session.
Yoav Livneh
Yoav Livneh el 7 de Mzo. de 2012
So every time I finish I should close the matlabpool until next time I need to use parallel computing.
Yoav Livneh
Yoav Livneh el 7 de Mzo. de 2012
Thanks for the answer, by the way!
Walter Roberson
Walter Roberson el 7 de Mzo. de 2012
Yes, close the matlabpool when you do not need it.
Note: it sounds as if you might be using the Distributed Computing Server. I have not read enough about the DCS to know when it reserves cores or when it releases them.
Thomas
Thomas el 7 de Mzo. de 2012
The DCS reserves the cores on the 'matlabpool open' command and releases on getting the 'matlabpool close' command

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by