How can I set 32 workers performing parfor?
1 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(1 个)
Edric Ellis
2013-12-3
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 个评论
Edric Ellis
2013-12-3
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, ...)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Parallel Server 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!