How can I set 32 workers performing parfor?

3 views (last 30 days)
MRC
MRC on 2 Dec 2013
Commented: Edric Ellis on 3 Dec 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?

Answers (1)

Edric Ellis
Edric Ellis on 3 Dec 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 Comments
MRC
MRC on 3 Dec 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 on 3 Dec 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, ...)

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!