- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- mdce_def was renamed to mjs_def
- mdce binary was renamed to mjs
Why do I receive "qsub: Job exceeds queue resource limits" error during parallel job submissiont to a Torque / PBS cluster?
35 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2012-9-10
编辑: MathWorks Support Team
2024-8-21,14:37
I am submitting a parallel job to a Parallel Computing Toolbox configuration for a Torque or PBS cluster. When ClusterSize is set to a value greater than the number of nodes in the cluster (though fewer than the total number of cores or MATLAB Parallel Server worker licenses) I receive the an error similar to the following:
ERROR: Error executing the PBS script command 'qsub'. The reason given is
qsub: Job exceeds queue resource limits MSG=cannot locate feasible nodes
The job completes successfully if ClusterSize is set to a value equal to or less than the number of nodes in the cluster. How can my parallel jobs take advantage of the additional cores and worker licenses available?
采纳的回答
MathWorks Support Team
2024-8-21,0:00
编辑:MathWorks Support Team
2024-8-21,14:37
The error indicates that the job request exceeds the queue resource limits. Verify with the system administrator the exact limits of the queue, number of physical nodes and number of processors/cores per node. If there are multiple cores per node, and the number of workers per job exceeds the number of physical nodes, you will need to modify the communicatingSubmitFcn.m file (pbsNonSharedParallelSubmitFcn.m in older releases) on the client. In particular you will need to change the line containing:
procsPerNode = 1;
Change the value assigned to procsPerNode from 1 to 2,3,4...N cores to take advantage of all available cores on cluster.
For more information please refer to generic scheduler section of the MATLAB Parallel Computing Toolbox Documentation:
NOTE: Starting in R2019a the following name changes occurred:
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!