Unable to create a job on the cluster

3 次查看(过去 30 天)
Hello,
I am using Matlab R2014a with a cluster (for which I am not admin). I have submitted several jobs on the cluster using the following syntax :
c = parcluster();
taskoutputs=cell(1,N);
for k=1:N
j = createJob(c);
t = createTask(j,...);
submit(j);
wait(j);
taskoutputs{k}=fetchOutputs(j);
end
After running perfecly fine for 67 jobs, I received the following error :
Unable to write a Job object to the job manager database.
Ever since, I can no longer create jobs with
j=createJob(c);
or delete the 67 finished jobs with
delete(c.Jobs);
I have tried to restart Matlab but the error message remains. Moreover, the command
c=parcluster()
outputs :
Associated Jobs:
Number Pending: 2
Number Queued: 0
Number Running: 0
Number Finished: 67
but the two pending jobs do not appear anywhere. Could you, please, help me with this issue ?
Thank you !
  2 个评论
Thomas Ibbotson
Thomas Ibbotson 2015-12-21
It's possible that your job manager has run out of disk space. Did your jobs generate a lot of data?
Talk to your cluster administrator to see if they can verify and fix this. If you can't delete the jobs that have already finished then there is not very much else you can do. It might require the job manager to be restarted and reset to clear out the old files.
If this is not possible or does not resolve the problem then you should contact MathWorks technical support who can help you gather logs from the cluster to further diagnose the problem.
Jean-Baptiste SCHIRATTI
Thank you for your answer. I will contact my cluster administrator to see if the JobManager can be restarted.

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by