Re: [slurm-users] Issue with salloc

2018-05-14 Thread Mahmood Naderan
Yes you are right. I missed some options. About --mem, it seems that without specifying that option, the srun won't work and it says about QOS policy error. I have set an upper limit (8G) for the user in the account. So, I expect that when I don't specify --mem, slurm will handle that and will abor

Re: [slurm-users] Issue with salloc

2018-05-14 Thread Michael Robbert
Mahmood, You need to put all the options to srun before the executable that you want to run, which in this case is /bin/bash. So, it should look more like: srun -l -a em1 -p IACTIVE --mem=4GB --pty -u /bin/bash The way you have it most of your srun options are being interpreted as bash argum

Re: [slurm-users] Issue with salloc

2018-05-12 Thread Mahmood Naderan
I tried the following command but it failed [mahmood@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@rocks7 ~]$ scontrol show partition IACTIVE PartitionName=IACTIVE

Re: [slurm-users] Issue with salloc

2018-05-11 Thread Chris Samuel
On Saturday, 12 May 2018 3:35:39 PM AEST Mahmood Naderan wrote: > Although I specified one compute node in an interactive partition, the > salloc doesn't ssh to that node. salloc doesn't do that. We use a 2 line script called "sinteractive" to do this, it's really simple. #!/bin/bash exec srun