How can I set 32 workers performing parfor?

1 visualización (últimos 30 días)
MRC
MRC el 2 de Dic. de 2013
Comentada: Edric Ellis el 3 de Dic. de 2013
Hi,
I'm using Matlab in the HPC cluster of my department. I know that the HPC has a matlab parallel license for up to 32 workers, but if I:
1)Open matlab
2)Go to Parallel--Manage Configurations--right click on Local--Properties--Number of workers(Clustersize)=32
3)type
matlabpool open 32
it gives me the error ??? Error using ==> matlabpool at 125 Error when using the 'scheduler' section of the configuration 'local': The ClusterSize for a local scheduler must be between 1 and 8
Do you know how can I solve this problem?

Respuestas (1)

Edric Ellis
Edric Ellis el 3 de Dic. de 2013
You need to set the HPC cluster as your default, or you need to name the cluster when opening matlabpool, like so:
matlabpool open hpccluster 32
where 'hpccluster' is the name of the profile.
  2 comentarios
MRC
MRC el 3 de Dic. de 2013
Thank you, but I don't know how to set the HPC cluster as my default: if I go to Parallel--Manage Configurations I can see only the option Local.
Edric Ellis
Edric Ellis el 3 de Dic. de 2013
In that case, you need to create a cluster profile pointing at your actual cluster. You might want to start here: http://www.mathworks.co.uk/help/distcomp/clusters-and-cluster-profiles.html.
You'll need to know what sort of scheduler is running the cluster (this might be the MathWorks job scheduler, MJS, or something else like HPCServer, LSF, PBSPro, Torque, GridEngine, ...)

Iniciar sesión para comentar.

Categorías

Más información sobre MATLAB Parallel Server en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by