Help with error code received even though the tasks output is fine

Unanswered Help with error code received even though the tasks output is fine

  • 2011年7月25日 上午 08:28
     
     

    The error code received even though the tasks output is fine:

    "task failed during execution with exit code 3.please check task's output for error details."

    sometimes the same tasks finish without error and sometimes with error. but the output is always fine.

    Thanks in advance for the help,

    Ben

所有回覆

  • 2011年7月25日 下午 04:37
     
     

    Hi Ben,

    Windows HPC Server always treats non-zero exit code of the task as a sign of its failure. If the application, which you are running on the cluster, returns 3 even if it succeeds, the task still will be marked as failed.

    If you want Windows HPC Server to report success for tasks with non-zero exit code, you may try to wrap the commandline, which starts your app in a script. Such script can check for app's exit code, determine if it is the one of 'successful' exit codes and return 0 in such cases.

    Thanks,
    Łukasz