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 abort if user process request more than 8G memory during run time.
Isn't that? Regards, Mahmood On Mon, May 14, 2018 at 7:21 PM, Michael Robbert <mrobb...@mines.edu> wrote: > 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 > arguments. > > Mike