[slurm-users] srun: error: Unable to allocate resources: Invalid partition name specified

Michael Robbert mrobbert at mines.edu
Thu Jul 26 11:13:26 MDT 2018


The line that you list from your slurm.conf shows the "course" partition 
being set as the default partition, but on our system the sinfo command 
shows our default partition with a * at the end and your output doesn't 
show that so I'm wondering if you've got another partition that is 
getting defined as the default partition.

Can you post the full output of 'sinfo -a' and maybe the output of 'grep 
-i ^Partition /etc/slurm/slurm.conf' would help us debug as well.

Mike Robbert

On 7/26/18 9:57 AM, valeriana at cbpf.br wrote:
> Hi all,
>
> I dont´t understand why its occurs!
>
> user: john
> group: courseit
> partition: course
>
> [john at master ~]$ sinfo
> PARTITION AVAIL  TIMELIMIT  NODES  STATE NODELIST
> course        up   infinite      8   idle node[02-04,06,09-12]
>
> /etc/group
> courseit:x:1002:john
>
> /etc/passwd
> john:x:1001:1002::/home/john:/bin/bash
>
> /etc/slurm/slurm.conf
> PartitionName=course Nodes=node[02-04,06,09-12] AllowGroups=courseit 
> Default=YES MaxTime=INFINITE State=UP
>
>
> [john at master ~]$ srun -N3 -l /bin/hostname
> srun: error: Unable to allocate resources: User's group not permitted 
> to use this partition
>
> And if I put -p course, it´s ok
>
> [john at master ~]$ srun -p course -N3 -l /bin/hostname
> 2: node04
> 1: node03
> 0: node02
>
> Can someone has an idea?
>
> Thanks in advance!
> Valeriana
>
>
>
>
>
>
>



More information about the slurm-users mailing list