Reference

sge_status(5)

Grid Engine job status values

NAME

sge_status - Grid Engine job status values

DESCRIPTION

Job state

The following table lists the job states shown by qstat(1) and returned by drmaa_jobcontrol(3). The DRMAA state corresponds to the DRMAA_PS_state value that may be returned by drmaa_job_ps(3).

CategoryStateSGEDRMAA state
Pendingpendingqw, RqQUEUED_ACTIVE
pending, user holdhqwUSER_ON_HOLD
pending, system holdhqwSYSTEM_ON_HOLD
pending, user and system holdhqwUSER_SYSTEM_ON_HOLD
pending, user hold, re-queuehRwqUSER_ON_HOLD
pending, system hold, re-queuehRwqSYSTEM_ON_HOLD
pending, user and system hold, re-queuehRwqUSER_SYSTEM_ON_HOLD
Running / transferringrunning, transferringr, hr, tRUNNING
running, re-run / transferringRr, RtRUNNING
Suspendedjob suspendeds, tsUSER_SUSPENDED
queue suspendedS, tSSYSTEM_SUSPENDED
queue suspended by alarmT, tTSYSTEM_SUSPENDED
all suspended with re-runRs, Rts, RS, RtS, RT, RtTSYSTEM_SUSPENDED
Errorall pending states with errorEqw, Ehqw, EhRqwFAILED
Deletingall running and suspended states with deletiondr, dt, dRr, dRt, ds, dS, dT, dRs, dRS, dRTsame as equivalent DRMAA states without the "d"
Finishedjob finished normallyzDONE
Unkownstatus cannot be determinedUNDETERMINED

The following table lists the "failed" values reported by qacct(1) (see accounting(5)), their description, also reported by qacct, whether the resource usage accounting data are valid for the job ("OK"), and an explanation. The host's messages file or the shepherd trace file (preserved with execd_params KEEP_ACTIVE in sge_conf(5)) may provide more information about errors.

CodeDescriptionOKExplanation
0no failureYran and exited normally
1assumedly before jobNfailed early in execd
3before writing configNfailed before execd set up local spool
4before writing PIDNshepherd failed to record its pid - filesystem problem?
6setting processor setNfailed setting up processor set (obsolete)
7before prologNfailed before prolog
8in prologNfailed in prolog
9before pestartNfailed before starting PE
10in pestartNfailed in PE starter
11before jobNfailed in shepherd before starting job
12before pestopYran, but failed before calling PE stop procedure
13in pestopYran, but PE stop procedure failed
14before epilogYran, but failed before calling epilog
15in epilogYran, but failed in epilog
16releasing processor setYran, but processor set could not be released (obsolete)
17through signalYjob killed by signal (possibly qdel)
18shepherd returned errorNshepherd died somehow
19before writing exit_statusNshepherd didn't write reports correctly - probably program or machine crash
20found unexpected error file?shepherd encountered a problem
21in recognizing jobNqmaster asked about an unknown job (not in accounting?)
24migrating (checkpointing jobs)Yran, will be migrated
25reschedulingYran, will be rescheduled
26opening output fileNfailed opening stderr/stdout file
27searching requested shellNfailed finding specified shell
28changing to working directoryNfailed changing to start directory
29AFS setupNfailed setting up AFS security
30application error returnedYran and exited 100 - maybe re-scheduled
31accessing sgepasswd fileNfailed because sgepasswd not readable (MS Windows)
32entry is missing in password fileNfailed because user not in sgepasswd (MS Windows)
33wrong passwordNfailed because of wrong password against sgepasswd (MS Windows)
34communicating with Grid Engine Helper ServiceNfailed because of failure of helper service (MS Windows)
35before job in Grid Engine Helper ServiceNfailed because of failure running helper service (MS Windows)
36checking configured daemonsNfailed because of configured remote startup daemon
37qmaster enforced h_rt, h_cpu, or h_vmem limitYran, but killed due to exceeding run time limit
38adding supplementary groupNfailed adding supplementary gid to job
100assumedly after jobYran, but killed by a signal (perhaps due to exceeding resources), task died, shepherd died (e.g. node crash), etc.

See sge_shepherd(8) for the effect of non-zero return codes from the various methods (prolog etc.) executed by the shepherd.

SEE ALSO

drmaa_jobcontrol(3), qstat(1), sge_shepherd(8), accounting(5).