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.
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 matches Requested node configuration is not available (Memory/CPU Mismatch) across every rank in a distributed run and reports which rank failed first, so you act on the initiating node instead of the loudest one.
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.
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 crash log or traceback below and get the real root cause for YOUR run, not this generic entry. No account, no card. Logs are masked at ingress and never saved to account history.
Want 14 days on the Scale plan?
Request an evaluation code. A verified workplace organization activates up to 50 diagnoses a day, alerts, history, and follow-up questions. No credit card or automatic subscription.
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
| Symptom | Why 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.
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 analysisNo 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 extensionRoot 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
Evaluate Denpex on your own logs
Request a Scale evaluation code. A verified workplace organization activates 14 days with up to 50 diagnoses a day. Every account keeps its current diagnosis allowance and gets a verification path. No card or automatic subscription.
References
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.