MATLAB Answers

0

Unable to start MJS workers

Andrew Martin さんによって質問されました 2019 年 8 月 8 日
最新アクティビティ Kojiro Saito
さんによって 編集されました 2019 年 8 月 8 日
Hello,
While trying to start MJS workers, I'm running into the following error:
java.lang.reflect.InvocationTargetException: null
which is caused by:
java.lang.IllegalArgumentException: matlabExecutable must be of the form '<release string>=<path to executable>;<release string>=<path to executable>;'. Actual string: %MATLAB_EXECUTABLE%
I tried the sollution suggested in:https://www.mathworks.com/matlabcentral/answers/427624-why-do-i-receive-the-error-matlabexecutable-must-be-of-the-form-release-string-path-to-executab
The error changed slightly, in that the "actual string: %MATLAB_EXECUTABLE%" was replaced with "actual string: /usr/local/MATLAB/R2017a/bin/matlab', indicating that I was editing the correct file.
The change I made was:
set.MATLAB_EXECUTABLE=/usr/local/MATLAB/R2017a/bin/matlab
Any help would be greatly appreciated. The system is a CentOS 6.10 system. I'm running Matlab 2017a.

  0 件のコメント

サインイン to comment.

2 件の回答

回答者: Andrew Martin 2019 年 8 月 8 日

Oddly enough, rebooting the servers appears to have resolved this issue. I reverted my change of set.MATLAB_EXECUTABLE as well, and all is well.

  0 件のコメント

サインイン to comment.


Kojiro Saito
回答者: Kojiro Saito
2019 年 8 月 8 日
編集済み: Kojiro Saito
2019 年 8 月 8 日

How about seting
MATLAB_EXECUTABLE=/usr/local/MATLAB/R2017a/bin/glnxa64/matlab
(not bin/matlab, but bin/glnxa64/matlab) in
/var/lib/mdce/Checkpoint\wrapper-phoenix-environment.config file?

  0 件のコメント

サインイン to comment.



Translated by