Problem
A job on the Pawsey supercomputers fails immediately after it starts with the message “srun: error: Unable to create job step: More processors requested than permitted”
Solution
This indicates a mismatch between the resources specified to srun and those specified to sbatch/salloc, e.g. the number of tasks to execute on does not match the number of cores allocated. Make sure in your job script the resources match both in the sbatch/srun directives and in the flags to the srun command, e.g. if you need 24 cores:
#!/bin/bash -l [..] #SBATCH --ntasks=24 [..] srun --export-all -n 24 <..>
Related articles