Azzera filtri
Azzera filtri

How can I set 32 workers performing parfor?

1 visualizzazione (ultimi 30 giorni)
MRC
MRC il 2 Dic 2013
Commentato: Edric Ellis il 3 Dic 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?

Risposte (1)

Edric Ellis
Edric Ellis il 3 Dic 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 Commenti
MRC
MRC il 3 Dic 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 il 3 Dic 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, ...)

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by