Cannot start a Worker on Parallel Server on R2022b

조회 수: 4 (최근 30일)
James
James 2022년 12월 9일
댓글: James 2023년 2월 9일
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:
Here is the output when starting from PowerShell:
  댓글 수: 1
Edric Ellis
Edric Ellis 2022년 12월 12일
Please contact Installation Support, they will be able to help you get things working.

댓글을 달려면 로그인하십시오.

채택된 답변

James
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 CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품


릴리스

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by