20141103095435 bud30:~> salloc -p idle,idleProc,teamProd,teamdev --mem=80000 --nice=0 -c 8 salloc: error: Job submit/allocate failed: Invalid partition name specified It would be good if it actually told me which partition was the problem...
This is for Brian (or whoever works on this): The job_allocate() function in job_mgr.c takes an argument of "char **err_msg" and this can include whatever details we want to pass back to the user about why his job was rejected.
Created attachment 1391 [details] Proposed patch.
The proposed patch gives the following behavior: brian@compy:~/slurm/master2/compy$ sbatch -p debugg ~/jobs/sleep.sh sbatch: error: invalid partition specified: debugg sbatch: error: Batch job submission failed: Invalid partition name specified brian@compy:~/slurm/master2/compy$ sbatch -p debug,debugg ~/jobs/sleep.sh sbatch: error: invalid partition specified: debugg sbatch: error: Batch job submission failed: Invalid partition name specified brian@compy:~/slurm/master2/compy$ sbatch -p debug,debug1,debugg ~/jobs/sleep.sh sbatch: error: invalid partition specified: debugg sbatch: error: Batch job submission failed: Invalid partition name specified brian@compy:~/slurm/master2/compy$ sbatch -p debug,debugg,debug1 ~/jobs/sleep.sh sbatch: error: invalid partition specified: debugg sbatch: error: Batch job submission failed: Invalid partition name specified brian@compy:~/slurm/master2/compy$ sbatch -p debug,debug2,debug1 ~/jobs/sleep.sh Submitted batch job 10
This is fixed in the following commit in 15.08.0pre1: https://github.com/SchedMD/slurm/commit/b0772490e243d7bba4801ad8653aa6be2ad178b4 Thanks, Brian