Skip to content

Requested node configuration is not available (Memory/CPU Mismatch)

The user requested a combination of resources (like --mem-per-cpu combined with a high --ntasks) that exceeds the physical hardware capacity of any single node within the specified partition. Often caused by confusing --mem (total memory per node) with --mem-per-cpu.

Quick answer

The user requested a combination of resources (like --mem-per-cpu combined with a high --ntasks) that exceeds the physical hardware capacity of any single node within the specified partition.

Root cause
The user requested a combination of resources (like --mem-per-cpu combined with a high --ntasks) that exceeds the physical hardware capacity of any single node within the specified partition. Often caused by confusing --mem (total memory per node) with --mem-per-cpu.
Recommended fix
Adjust memory or CPU requirements Modify #SBATCH --mem=<value> or --mem-per-cpu=<value> in the job script to fit within the limits shown by sinfo. Ensures the requested resources match the physical capabilities of the available nodes.
How Denpex helps
Denpex investigates Requested node configuration is not available (Memory/CPU Mismatch) using the evidence you provide or your connected workload collects. Earlier rank, host or application evidence is needed to distinguish an initiating failure from a downstream report.
Resource Allocation#Constraint Mismatch

What this failure is

Requested node configuration is not available (Memory/CPU Mismatch) is a Resource Allocation failure seen during ML training runs. The user requested a combination of resources (like --mem-per-cpu combined with a high --ntasks) that exceeds the physical hardware capacity of any single node within the specified partition. Often caused by confusing --mem (total memory per node) with --mem-per-cpu. Common tags: Constraint Mismatch.

Live diagnosis, no signup

Is this what broke your run? Paste your log.

You're reading about Requested node configuration is not available (Memory/CPU Mismatch). Paste your own traceback and relevant evidence for an investigation of your workload, with a next action or a specific missing fact. A reference entry does not establish your cause. No account or card for the free diagnosis. Review data handling before submitting sensitive logs.

Before uploading, review cloud data handling and local options.

training_logs.txt
No log to hand? Try one:

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

3 free diagnoses/day

Why it happens (the mechanism)

The error message is generic and does not specify which exact resource constraint (memory, CPU, GPUs, or walltime) caused the rejection, making users think the cluster is down or they don't have access.

What you'll observe

  • sbatch error: Batch job submission failed: Requested node configuration is not available
  • salloc: error: Requested node configuration is not available

Common symptoms and what they mean

SymptomWhy it happens
The job is immediately rejected upon submission via sbatch or salloc.The user requested a combination of resources (like --mem-per-cpu combined with a high --ntasks) that exceeds the physical hardware capacity of any single node within the specified partition. Often caused by confusing --mem (total memory per node) with --mem-per-cpu.
No job ID is returned, and the job never enters the queue.The user requested a combination of resources (like --mem-per-cpu combined with a high --ntasks) that exceeds the physical hardware capacity of any single node within the specified partition. Often caused by confusing --mem (total memory per node) with --mem-per-cpu.

Which systems are affected

  • SLURM

How to confirm this is the problem

Use this checklist to test the hypothesis against a small reproduction. No single line proves the root cause, so preserve the preceding events and compare one variable at a time.

  • ✓Run `sinfo -O partition,memory,cpus` to see the actual hardware limits of the target partition.
  • ✓Run `scontrol show node <nodename>` to check specific node memory and core counts.
  • ✓Check the submission script for conflicting `-n` (tasks) and `-N` (nodes) flags.

Root cause

  • The user requested a combination of resources (like --mem-per-cpu combined with a high --ntasks) that exceeds the physical hardware capacity of any single node within the specified partition. Often caused by confusing --mem (total memory per node) with --mem-per-cpu.

The fix and how to prevent it

The fix and the prevention pattern

The root cause is on this page and stays free. A free account adds the exact remediation steps, saved history, and the fix on every entry in the encyclopedia.

Sign up free. Unlock the full analysis

No credit card. Daily allowance follows verified trust tier. Instant access.

Diagnose this failure in VS Code

Select the traceback or open the failed terminal, then run Denpex locally to see the initiating rank, collateral failures, exact fix, and verification command without uploading the log.

Install the free VS Code extension

Don't just read the fix, diagnose your run

The encyclopedia tells you what went wrong. Denpex tells you what went wrong in YOUR training run. With your logs, your config, and your stack.