Error · SLURM · VASP · LAMMPS · 5 min read

CANCELLED AT ... DUE TO NODE FAILURE (NODE_FAIL)

Example
error: *** JOB 123456 ON node042 CANCELLED AT 2026-11-12T03:12:45 DUE TO NODE FAILURE, SEE SLURMCTLD LOG FOR DETAILS ***

That is the wording SLURM's source code uses when a job, or one of its steps (STEP 123456.0), is ended because a node failed. The job id, node and time are an example, and the start of the line varies with the SLURM version: for the time-limit message from the same place in the code, SLURM 25.11.8 put a bracketed timestamp before error:. sacct and squeue then show the job's state as NODE_FAIL (short form NF). The line was read in the source code, not seen in a real job's output, so it may not appear in yours; the state in sacct is the thing to check.

Checked against the docs · SLURM 26.05 · Last checked 12 November 2026 · Spot a mistake? Tell us

Short answer

One of the nodes your job was running on failed, and SLURM ended the job; sacct shows its state as NODE_FAIL. Check whether SLURM put the job back in the queue (it may run the script again from the top), continue from where it stopped if not, and tell your cluster's administrators the job id and node.

What does this error mean?

A node is one computer of the cluster; a job runs on one or more of them. The Job State Codes page describes NODE_FAIL as "terminated due to node failure", and the sacct page as "Job terminated due to failure of one or more allocated nodes". The sbatch page says that by default "Slurm terminates the entire job allocation if any node fails", so one failed node ends the whole job, even a job on many nodes.

The state says that a node failed, not why. "SEE SLURMCTLD LOG" points to the log of slurmctld, SLURM's central controller, which the administrators read; users usually cannot. The SLURM pages checked do not say whether a job itself can bring a node down; if the same job keeps ending this way on different nodes, ask your administrators what the log shows.

What happens to the job next?

It depends on whether the job may be requeued, put back in the queue:

  • Requeued. The sbatch page says a job may be requeued "after node failure", and that the cluster setting JobRequeue sets the default; its default value, 1, lets batch jobs be requeued unless the user disables it. A requeued job waits in the queue again under the same job id, and "the batch script is initiated from its beginning". SLURM's source records the failed run in accounting as NODE_FAIL before the job goes back to pending.
  • Not requeued (you submitted with --no-requeue, or your cluster set JobRequeue to 0): the job ends in NODE_FAIL and stays ended.

A requeued job starting its script from the first line in the same folder may overwrite what the first run wrote, or start the calculation again from the beginning. Make sure that is what you want, or submit with --no-requeue.

What should I try, in order?

  1. Confirm it and see where. After the job ends:

    Terminal
    sacct -j 123456 -D --format=JobID,State,ExitCode,Elapsed,NodeList,Restarts

    123456 is an example job id. State reads NODE_FAIL; NodeList lists the job's nodes; Restarts counts how many times it was requeued. -D (--duplicates) shows every run of a job id: without it, sacct shows only the most recent one, and the sacct page notes that a requeue resets the submit time.

  2. Check whether it is back in the queue. squeue -j 123456. If it is pending or running again, it was requeued and will run (or is running) the script from the top.

  3. If it was not requeued, continue from where it stopped, not from the start, as after a time limit:

    • VASP: CONTCAR is written after every ionic step; copy it to POSCAR for an unfinished relaxation.
    • LAMMPS: read_restart continues from the last restart file, if the script wrote them (restart N file).

    Start fresh or continue a run? and CANCELLED ... DUE TO TIME LIMIT cover what to carry over.

  4. Tell your cluster's administrators: the job id, the node from NodeList and the time. sinfo -R lists the reasons recorded for nodes that are down, drained or failing, if the administrators have recorded one.

  5. Next time, keep a failure cheap. For a long LAMMPS run, write restart files regularly (Keep long LAMMPS runs safe); for any long run, consider a chain of shorter jobs (Chain jobs and job arrays).

Can a job survive a node failure?

The sbatch option --no-kill (-k) tells SLURM not to end the job when one of its nodes fails: the allocation stays, so you can start new job steps on the remaining nodes. The page says that steps already running on the failed node are still killed, and that you then "assume the responsibilities for fault-tolerance". So the option helps a job made of separate steps that can start again elsewhere, not a step that was running on the failed node.

Monitor shows a job that ended in NODE_FAIL as Failed and keeps its log a click away (Job log); it does not say that a node was the cause, so sacct as above is the way to tell. Continue from here starts a new run from where this one stopped, carrying its final structure and, if you choose, its restart files.

Updated
12 November 2026
Applies to
SLURM 26.05; VASP 5.4 and 6.x; LAMMPS stable release 30 Sep 2026
Source check
Checked against the docs, 12 November 2026

Where can I read more?

The SLURM documentation (version 26.05):

What was this page checked against?

Checked against SLURM 26.05, 12 November 2026. Every statement about SLURM was read against these pages (the version is from each page's header): Job State Codes, sacct, squeue, sbatch, sinfo, slurm.conf and Job Reason Codes. The line's wording was read in SLURM's source code on the 26.05 branch (req.c), and what happens to a requeued job in job_mgr.c. The note on the line's start is from the time-limit line seen on a SLURM 25.11.8 test cluster on 11 November 2026. The VASP and LAMMPS steps are those of CANCELLED ... DUE TO TIME LIMIT, checked there against the VASP wiki and the LAMMPS stable release 30 Sep 2026. Every link on this page was opened.