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

valeriana at cbpf.br valeriana at cbpf.br
Fri Jul 27 07:20:16 MDT 2018


Hi Merlin

[root at masters3 ~]# scontrol show partition
PartitionName=course
    AllowGroups=courseit AllowAccounts=ALL AllowQos=ALL
    AllocNodes=ALL Default=NO QoS=N/A
    DefaultTime=NONE DisableRootJobs=NO ExclusiveUser=NO GraceTime=0 Hidden=NO
    MaxNodes=UNLIMITED MaxTime=UNLIMITED MinNodes=1 LLN=NO  
MaxCPUsPerNode=UNLIMITED
    Nodes=node[02-04,06,09-12]
    PriorityJobFactor=1 PriorityTier=1 RootOnly=NO ReqResv=NO OverSubscribe=NO
    OverTimeLimit=NONE PreemptMode=OFF
    State=UP TotalCPUs=64 TotalNodes=8 SelectTypeParameters=NONE
    DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED

PartitionName=test
    AllowGroups=testcluster AllowAccounts=ALL AllowQos=ALL
    AllocNodes=ALL Default=YES QoS=N/A
    DefaultTime=NONE DisableRootJobs=NO ExclusiveUser=NO GraceTime=0 Hidden=NO
    MaxNodes=UNLIMITED MaxTime=UNLIMITED MinNodes=1 LLN=NO  
MaxCPUsPerNode=UNLIMITED
    Nodes=node[01,05,07,08]
    PriorityJobFactor=1 PriorityTier=1 RootOnly=NO ReqResv=NO OverSubscribe=NO
    OverTimeLimit=NONE PreemptMode=OFF
    State=UP TotalCPUs=32 TotalNodes=4 SelectTypeParameters=NONE
    DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED

/etc/slurm/slurm.conf
PartitionName=course Nodes=node[02-04,06,09-12] AllowGroups=courseit  
Default=NO MaxTime=INFINITE State=UP
PartitionName=test Nodes=node[01,05,07,08] AllowGroups=testcluster  
Default=YES MaxTime=INFINITE State=UP


> Do you accidentally have more than one partition with Default=YES?
It was. I changed to NO and I continue with the same error

Thanks!!!


Citando Merlin Hartley <merlin at mrc-mbu.cam.ac.uk>:

> Do you accidentally have more than one partition with Default=YES?
>
>
> --
> Merlin Hartley
> Computer Officer
> MRC Mitochondrial Biology Unit
> University of Cambridge
> Cambridge, CB2 0XY
> United Kingdom
>
>> On 26 Jul 2018, at 16:57, 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
>>
>>
>>
>>
>>
>>
>>

----- Final da mensagem encaminhada -----

-------------- next part --------------
An embedded message was scrubbed...
From: valeriana at cbpf.br
Subject: Re: [slurm-users] srun: error: Unable to allocate resources: Invalid partition name specified
Date: Thu, 26 Jul 2018 14:52:02 -0300
Size: 3807
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20180727/d6e4e2dc/attachment.mht>


More information about the slurm-users mailing list