Why I have occasionally error when starting workers on MATLAB R2019b (PCT 7.1, Windows Server 2019)
2 views (last 30 days)
Show older comments
I have job manager "testjmanager" on host "test2" and start workers on remote host "test" to connect to it sending command on remote host ("test") within PowerShell:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe Invoke-Command -ComputerName test -ScriptBlock {"cd 'C:\Program Files\MATLAB\R2019b\toolbox\parallel\bin';.\mjs install;.\mjs stop -clean;.\mjs start;.\startworker -num 8 -name worker -jobmanager testjmanager -jobmanagerhost test2"}
Periodically (not every time) I get an error when running workers on a remote host "test" with the following content (mjs-service.log from remote host "test" attached):
The mjs service on the host test.domain.local
+ CategoryInfo : NotSpecified: (The mjs service...test.domain.local:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
+ PSComputerName : test
returned the following error:
NotSpecified: (:String) [], RemoteException
Problem starting the MATLAB worker.
NotSpecified: (:String) [], RemoteException
The cause of the problem is:
NotSpecified: (:String) [], RemoteException
============================================================================
couldn't delete file: C:\Windows\TEMP\MJS\Checkpoint\test.domain.local_phoenix_log\Snapshot.1
NotSpecified: ( :String) [], RemoteException
This is causing:
NotSpecified: ( :String) [], RemoteException
Check the mjs log file
C:\Windows\TEMP\MJS\Log\mjs-service.log"
on the host test.domain.local
for information about the cause of the exit.
NotSpecified: ( :String) [], RemoteException
This is causing:
NotSpecified: ( :String) [], RemoteException
The worker group exited unexpectedly while starting.
NotSpecified: ( :String) [], RemoteException
This is causing:
NotSpecified: ( :String) [], RemoteException
Problem starting the worker group process.
Can you please explain the possible causes of this error and give an advice on how to resolve it?
Thank you!
0 Comments
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!