Parallel computing toolbox: Failed tasks

4 次查看(过去 30 天)
I run an independent job on a local cluster. If one of its tasks fails, the task property Status is set to 'finished' and the task properties Error/ErrorMessage/ErrorIdentifier contain information about the error. Sometimes, however, Status is set to 'failed' and Error/ErrorMessage/ErrorIdentifier are empty.
What does the failed status mean and when/why does it occur? When it happens, how can I determine the reason of the error?
Thank you.
  1 个评论
Edric Ellis
Edric Ellis 2014-12-10
This can happen if the worker crashes when processing the job. You might be able to get more information like so:
c = parcluster();
j = createJob(c, ...);
t = createTask(j, ...);
c.getDebugLog(t) % gets more information about the task 't'

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by