How can I set 32 workers performing parfor?

1 Ansicht (letzte 30 Tage)
MRC
MRC am 2 Dez. 2013
Kommentiert: Edric Ellis am 3 Dez. 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?

Antworten (1)

Edric Ellis
Edric Ellis am 3 Dez. 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 Kommentare
MRC
MRC am 3 Dez. 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 am 3 Dez. 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, ...)

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu MATLAB Parallel Server finden Sie in Help 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