Cannot start a Worker on Parallel Server on R2022b
3 次查看(过去 30 天)
显示 更早的评论
I'm trying to start MATLAB Parallel Server R2022b for testing purposes on a single computer before deploying it on something larger. So, I have the Network License Manager, MATLAB, MATLAB Parallel Server, and MATLAB Job Scheduler all on the same computer and I want this same computer to be a Worker. I previously had this setup in R2022a without issues. However, in my attempt to update to R2022b, I manually edited the MJS Service in Windows to point to the R2022b files and now I can't start the computer as a Worker. I've tried uninstalling and reinstalling R2022a and b several times now with and without MATLAB Parallel Server in them, but whenever I try to add the computer as a worker in the Admin Center or on the command line, I get this non-descriptive error message:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1225937/image.png)
Here is the output when starting from PowerShell:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1225942/image.png)
1 个评论
Edric Ellis
2022-12-12
Please contact Installation Support, they will be able to help you get things working.
采纳的回答
James
2023-2-8
Since you recently upgraded MATLAB Job Scheduler (MJS) from a previous release, then it is possible the error is happening because MJS is failing to load an old state that was left by the older version of MJS. In order to fix this, you'll need to clear out the old state by stopping and starting the MJS service cleanly. Please note that doing this will delete the entire MJS database, which includes all previous job data and any stored user credentials. If you want to keep that data, you will have to restart the MJS service from R2022a, and save that data from MATLAB for each job. We do not support migration of old job data when updating MJS.
To do this, you can use the "Destroy MJS service..." option in Admin Center, which is in the right-click menu on the hosts listed in the Hosts section. You can then restart the service, and you should not encounter the issue.
Alternatively the command-line equivalent is:
cd <matlabroot>\toolbox\parallel\bin
.\mjs uninstall -clean
.\mjs install -clean
.\mjs start -clean
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Cluster Configuration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!