37

On a SLURM cluster one can use squeue to get information about jobs on the system.

I know that "R" means running; and "PD" meaning pending, but what is "CG"?

I understand it to be "canceling" or "failing" from experience, but does "CG" apply when a job successfully closes? What is the G?

0

2 Answers 2

57

"CG" stands for "completing" and it happens to a job that cannot be terminated, probably because of an I/O operation.

More detailed info in the Slurm Troubleshooting Guide

19

I found this in the 'squeue' section of the Slurm Troubleshooting Guide:

state

Job state, extended form: PENDING, RUNNING, STOPPED, SUSPENDED, CANCELLED, COMPLETING, COMPLETED, CONFIGURING, FAILED, TIMEOUT, PREEMPTED, NODE_FAIL, REVOKED and SPECIAL_EXIT. See the JOB STATE CODES section below for more information. (Valid for jobs only)

statecompact

Job state, compact form: PD (pending), R (running), CA (cancelled), CF(configuring), CG (completing), CD (completed), F (failed), TO (timeout), NF (node failure), RV (revoked) and SE (special exit state). See the JOB STATE CODES section below for more information. (Valid for jobs only)

Your Answer

Reminder: Answers generated by Artificial Intelligence tools are not allowed on Stack Overflow. Learn more

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.