How to restart a CommunicatingJob using only the MATLAB workspaces?

조회 수: 1 (최근 30일)
My code runs several jobs on an HPC using createCommunicatingJob and then assigning a task in it. After submission, the main code exit. It works nicely, however sometimes I ask for the wrong amount of time or RAM and some jobs do not save any results. The question is: I see that MATLAB creates a folder and a workspace with the same name of the Job, is it possible to load those workspaces and requeue the job with a different SubmitArguments, without doing it manually? I'd do it from the HPC manager but it is not possible to requeue a TIMEOUT job in my Slurm configuration.

채택된 답변

Raymond Norris
Raymond Norris 2021년 2월 11일
There's no automated process for reading the Job files and recreating the job. It'd be much easier to recreate the steps you've already run. For that reason, I'd suggest keeping all of this in a script and simply rerunning the script.
  댓글 수: 1
Alberto Brandl
Alberto Brandl 2021년 2월 12일
That's a pity, it should be considered in the future because it would be very convenient. In my case, for instance, each job has different input arguments and I have to discover manually which job actually failed, even knowing the job ID. Nothing too hard, however it might be faster to load and re-execute the job. Thanks!

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Cluster Configuration에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by