Eva Hocks
2014-09-23 22:16:33 UTC
slurm Version=14.03:
I am trying to run a simple job with
#SBATCH --nodes=1-1
#SBATCH --ntasks=2
#SBATCH --cpus-per-task=1
on a test cluster with 2 nodes both configured:
CPUAlloc=0 CPUErr=0 CPUTot=8
but whenever I try sbatch it refuses: Requested node configuration is
not available. The nodes have 8 CPUs configured so why can't I run a 2
task job on 2 of those CPUs? I can run a 1 task job or if I don't
include the ntasks I get by default 8 tasks, that works. But I cannot
specify anything >1 task. sbatch --verbose isn't very helpful. The slurm
log has:
[2014-09-23T14:58:03.834] cons_res: cr_job_test: evaluating job 152 on 3 nodes
[2014-09-23T14:58:03.834] cons_res: _can_job_run_on_node: 8 cpus on hpc-0-4(1), mem 0/24151
[2014-09-23T14:58:03.834] cons_res: _can_job_run_on_node: 8 cpus on hpc-0-5(0), mem 0/24151
[2014-09-23T14:58:03.834] cons_res: _can_job_run_on_node: 8 cpus on hpc-0-6(1), mem 0/24151
[2014-09-23T14:58:03.834] cons_res: eval_nodes:0 consec c=24 n=3 b=0 e=2 r=-1
[2014-09-23T14:58:03.834] cons_res: cr_job_test: test 0 fail: insufficient resources
[2014-09-23T14:58:03.834] no job_resources info for job 152 rc=-1
[2014-09-23T14:58:03.834] _pick_best_nodes: job 152 never runnable
[2014-09-23T14:58:03.835] _slurm_rpc_submit_batch_job: Requested node configuration is not available
and scontrol shows the job with
JobState=FAILED Reason=BadConstraints
NumNodes=1 NumCPUs=2 CPUs/Task=1
BTW mysql is running and I can with no problem connect to the server
manually.
Any insight how to run a 1 node/2CPU job in slurm?
Thanks
Eva
I am trying to run a simple job with
#SBATCH --nodes=1-1
#SBATCH --ntasks=2
#SBATCH --cpus-per-task=1
on a test cluster with 2 nodes both configured:
CPUAlloc=0 CPUErr=0 CPUTot=8
but whenever I try sbatch it refuses: Requested node configuration is
not available. The nodes have 8 CPUs configured so why can't I run a 2
task job on 2 of those CPUs? I can run a 1 task job or if I don't
include the ntasks I get by default 8 tasks, that works. But I cannot
specify anything >1 task. sbatch --verbose isn't very helpful. The slurm
log has:
[2014-09-23T14:58:03.834] cons_res: cr_job_test: evaluating job 152 on 3 nodes
[2014-09-23T14:58:03.834] cons_res: _can_job_run_on_node: 8 cpus on hpc-0-4(1), mem 0/24151
[2014-09-23T14:58:03.834] cons_res: _can_job_run_on_node: 8 cpus on hpc-0-5(0), mem 0/24151
[2014-09-23T14:58:03.834] cons_res: _can_job_run_on_node: 8 cpus on hpc-0-6(1), mem 0/24151
[2014-09-23T14:58:03.834] cons_res: eval_nodes:0 consec c=24 n=3 b=0 e=2 r=-1
[2014-09-23T14:58:03.834] cons_res: cr_job_test: test 0 fail: insufficient resources
[2014-09-23T14:58:03.834] no job_resources info for job 152 rc=-1
[2014-09-23T14:58:03.834] _pick_best_nodes: job 152 never runnable
[2014-09-23T14:58:03.835] _slurm_rpc_submit_batch_job: Requested node configuration is not available
and scontrol shows the job with
JobState=FAILED Reason=BadConstraints
NumNodes=1 NumCPUs=2 CPUs/Task=1
BTW mysql is running and I can with no problem connect to the server
manually.
Any insight how to run a 1 node/2CPU job in slurm?
Thanks
Eva