Codes de retour

The PBS exit value of a job may fall in one of four ranges:
  • X = 0 (= JOB_EXEC_OK)
    This is a PBS special return value indicating that the job executed successfully
  • X < 0
    This is a PBS special return value indicating that the job could not be executed. These negative values are:

-1 = JOB_EXEC_FAIL1 : Job exec failed, before files, no retry
-2 = JOB_EXEC_FAIL2 : Job exec failed, after files, no retry
-3 = JOB_EXEC_RETRY : Job exec failed, do retry
-4 = JOB_EXEC_INITABT : Job aborted on MOM initialization
-5 = JOB_EXEC_INITRST : Job aborted on MOM initialization, checkpoint, no migrate
-6 = JOB_EXEC_INITRMG : Job aborted on MOM initialization, checkpoint, ok migrate
-7 = JOB_EXEC_BADRESRT : Job restart failed
-8 = JOB_EXEC_GLOBUS_INIT_RETRY : Initialization of Globus job failed. Do retry.
-9 = JOB_EXEC_GLOBUS_INIT_FAIL : Initialization of Globus job failed. Do not retry.
-10 = JOB_EXEC_FAILUID : Invalid UID/GID for job
-11 = JOB_EXEC_RERUN : Job was rerun
-12 = JOB_EXEC_CHKP : Job was checkpointed and killed
-13 = JOB_EXEC_FAIL_PASSWORD : Job failed due to a bad password
-14 = JOB_EXEC_RERUN_ ON_SIS_FAIL : Job was requeued (if rerunnable) or deleted (if not) due to a communication failure between Mother Superior and a Sister

  • 0 <= X < 128 (or 256 depending on the system)

    This is the exit value of the top process in the job, typically the shell. This may be the exit value of the last command executed in the shell or the .logout script if the user has such a script (csh).

  • X >=128 (or 256 depending on the system)
    This means the job was killed with a signal. The signal is given by X modulo 128 (or 256). For example an exit value of 137 means the job's top process was killed with signal 9 (137 % 128 = 9).