Why does my scheduler fail with the message "Task with ID 1 returned 0 outputs but 1 were expected? when using a nonshared configuration?
1 次查看(过去 30 天)
显示 更早的评论
MathWorks Support Team
2015-4-9
回答: MathWorks Support Team
2015-4-9
Why does my job result return the below error even though the task log file indicates that the job has completed successfully:
Task with ID 1 returned 0 outputs but 1 were expected.
As well, when validating my cluster profile, I receive a similar error and validation fails.
采纳的回答
MathWorks Support Team
2015-4-9
This error can occur when using the nonshared configuration with MDCS when there is a delay in file mirroring. When using a nonshared configuration, the job result is mirrored by SSH from the cluster headnode to the MATLAB client. If the file structure is too slow and this mirroring process takes an extended period of time, this could cause a false error. This error generally occurs if the job output is retrieved too fast and the job results have not been mirrored to the client machine. Similarly, when running validation, the job output is retrieved right after the test job is finished, which would cause the error.
To resolve the issue, simply wait 15-30 seconds longer prior to retrieving the job status. Unfortunately, due to the way validation occurs, validation will fail as you can't control the job output is retrieved.
0 个评论
更多回答(0 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!