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

  • Question

  • 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,


    Monday, July 25, 2011 8:28 AM

All replies

  • 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.


    Monday, July 25, 2011 4:37 PM