Error · SLURM · VASP · LAMMPS · 5 min read
CANCELLED AT ... DUE TO NODE FAILURE (NODE_FAIL)
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
sbatchpage says a job may be requeued "after node failure", and that the cluster settingJobRequeuesets 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 asNODE_FAILbefore the job goes back to pending. - Not requeued (you submitted with
--no-requeue, or your cluster setJobRequeueto 0): the job ends inNODE_FAILand 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?
-
Confirm it and see where. After the job ends:
Terminalsacct -j 123456 -D --format=JobID,State,ExitCode,Elapsed,NodeList,Restarts123456is an example job id.StatereadsNODE_FAIL;NodeListlists the job's nodes;Restartscounts how many times it was requeued.-D(--duplicates) shows every run of a job id: without it,sacctshows only the most recent one, and thesacctpage notes that a requeue resets the submit time. -
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. -
If it was not requeued, continue from where it stopped, not from the start, as after a time limit:
- VASP:
CONTCARis written after every ionic step; copy it toPOSCARfor an unfinished relaxation. - LAMMPS:
read_restartcontinues 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.
- VASP:
-
Tell your cluster's administrators: the job id, the node from
NodeListand the time.sinfo -Rlists the reasons recorded for nodes that are down, drained or failing, if the administrators have recorded one. -
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.