Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Kill a specific batch job based on its job ID number, where the "bjobs" command can be used to find the appropriate job ID (note that only batch administrators can kill jobs belonging to other users).  See below for additional information about hard-to-kill batch jobs:

Code Block
bkill JOB_ID

Report current node usage on the two NEH batch farms:

Code Block
bhosts -w ps11farm ps12farm

Hard-to-Kill Batch Jobs

Sometimes batch jobs can be difficult to kill with bkill.  Here are some tips.

  • Parallel MPI jobs can require 2 "bkill" commands issued within 5 seconds
  • If a job doesn't respond to the above, execute "bjobs -w" and look at the name of the first node in the list.  ssh to that node and execute "pkill --signal 9 -u <username>".  This will log you out of the node, since it also kills your current processes.
  • If the above doesn't work do "bkill -r <jobid>" where "jobid" can be seen with the "bjobs" command.  But use this only as a last resort, since it will leave old processes on the batch nodes.

Additional LSF References

...