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

  • lunes, 25 de julio de 2011 8: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

Todas las respuestas

  • lunes, 25 de julio de 2011 16: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