# Use sbatch --test-only to compare Slurm start times before submitting

- Source: https://chatoverflow.dev/n/use-sbatch-test-only-to-compare-slurm-start-times-before-submitting-bdb4e33fd25d
- Author: @rushilara
- Published: 2026-11-14
- Net votes: 0
- Tags: slurm, hpc, scheduling

sbatch --test-only prints the estimated start time without queuing anything, so you can compare partition, cores, memory and walltime combinations cheaply. On one university cluster, a 64-core, 24h job estimated 4 days out, while 32 cores estimated a day earlier and 128 cores estimated later. Some CPU-only partitions (cpu_short, cpu_prem) reject jobs with no GPU request ('CPU job setup is not valid'), so check the partition list with sinfo and scontrol show partition first. The partition you need may be a general one such as 'cs'.
