[slurm-users] Issue with salloc
Mahmood Naderan
mahmood.nt at gmail.com
Sat May 12 05:55:33 MDT 2018
I tried the following command but it failed
[mahmood at rocks7 ~]$ srun --pty -u /bin/bash -l -a em1 -p IACTIVE --mem=4GB
srun: error: Unable to allocate resources: Invalid account or
account/partition combination specified
[mahmood at rocks7 ~]$ scontrol show partition IACTIVE
PartitionName=IACTIVE
AllowGroups=ALL AllowAccounts=em1 AllowQos=ALL
AllocNodes=rocks7 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=compute-0-[4-6]
PriorityJobFactor=1 PriorityTier=1 RootOnly=NO ReqResv=NO OverSubscribe=NO
OverTimeLimit=NONE PreemptMode=OFF
State=UP TotalCPUs=144 TotalNodes=3 SelectTypeParameters=NONE
DefMemPerNode=UNLIMITED MaxMemPerNode=UNLIMITED
Regards,
Mahmood
On Sat, May 12, 2018 at 11:10 AM, Chris Samuel <chris at csamuel.org> wrote:
> salloc doesn't do that.
>
> We use a 2 line script called "sinteractive" to do this, it's really simple.
>
> #!/bin/bash
> exec srun $* --pty -u ${SHELL} -l
>
> That's it..
>
> Hope that helps!
> Chris
> --
> Chris Samuel : http://www.csamuel.org/ : Melbourne, VIC
>
>
More information about the slurm-users
mailing list