parpool issues on a cluster when called through Torque/PBS qsub command
조회 수: 2 (최근 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!