parpool issues on a cluster when called through Torque/PBS qsub command
3 次查看(过去 30 天)
显示 更早的评论
I have a matlab script which calls "parpool(10)". When I pass the script to the PBS/Torque scheduler via a qsub command on the head node, the "parpool(10)" command has issues:
unable to resolve the name
com.mathworks.toolbox.distcomp.pmode.SessionInfo.NULL_SESSION_INFO.
Eror in parpool (line 91)
sessionInfo = com.mathworks.toolbox.distcomp.pmode.SessionInfo.NULL_SESSION_INFO.
I have tested the same matlab script successfully two ways:
1) Running the script above directly on the compute node specified in my PBS/torque script (for testing only). I log into the compute node, start matlab, run the matlab script, and start a local parallel pool with parpool(10).
2) Running the script above through qsub but with the "parpool(10)" line removed. The same script successfully calls other matlab toolboxes (verifying the license server via a qsub command)
Unsure if this is a license server configuration issue or something else. The cluster and administrators are new to this. Parpool using a cluster configuration on the head node also is successful. Cluster has both parallel server toolbox and parallel computing toolbox. Thanks for your help!
2 个评论
Edric Ellis
2022-4-5
That looks like something has gone wrong accessing the Java code needed by Parallel Computing Toolbox. It might be worth checking the startup arguments you're passing to MATLAB - in particular do not use the -nojvm flag (although the error in that case ought to be more informative). I would suggest contacting MathWorks support directly who can help you better with configuration problems like this.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Parallel Computing Fundamentals 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!