Problem
Sometimes a PBS job can become stuck in the submitted state (e.g. due to a problem with a queue). It may not be possible to tell the problem from Cylc, without manually running qstat -f
E.g.
comment = Not Running: Placement set is too small: Not enough free nodes available
Proposed Solution
Adjust the PBS job runner manager to use qstat -f -F json as the poll command, and parse the results.
The comment could be included in the poll output so would show in the job activity log, or could be sent by cylc message so it would show in the UI.
Problem
Sometimes a PBS job can become stuck in the submitted state (e.g. due to a problem with a queue). It may not be possible to tell the problem from Cylc, without manually running
qstat -fE.g.
Proposed Solution
Adjust the PBS job runner manager to use
qstat -f -F jsonas the poll command, and parse the results.The comment could be included in the poll output so would show in the job activity log, or could be sent by
cylc messageso it would show in the UI.