- MATLAB Distributed Computing Server was renamed to MATLAB Parallel Server
- mdce_def was renamed to mjs_def
- mdce binary was renamed to mjs
Why is my MATLAB Parallel Server validation and job submission failing with an error regarding a bad interpreter?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
MathWorks Support Team
am 19 Mai 2014
Bearbeitet: MathWorks Support Team
am 22 Mär. 2019
When validating my MATLAB Parallel Server profile or submitting a sample batch job, I see the following error:
-bash: /var/spool/PBS/mom_priv/jobs/293558.service0.SC: /bin/bash^M: bad interpreter: No such file or directory
Akzeptierte Antwort
MathWorks Support Team
am 22 Mär. 2019
Bearbeitet: MathWorks Support Team
am 22 Mär. 2019
When validation occurs, or a job is submitted, the IndependentJobWrapper or the CommunicatingJobWrapper, depending on the job, is copied from the submitting machine to the headnode of the cluster.
If you are submitting from a Windows machine and have previously viewed the IndependentJobWrapper or the CommunicatingJobWrapper in a text base editor, the headnode, which is most likely Linux, will be unable to correctly read the file.
To workaround this issue, you can run dos2unix on the above scripts on the Linux machine and then bring those scripts to the Windows machine.
NOTE: Starting in R2019a the following name changes occurred:
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!