[slurm-users] salloc with bash scripts problem

Chris Samuel chris at csamuel.org
Sun Jan 6 22:57:34 MST 2019


On 3/1/19 12:23 am, Mahmood Naderan wrote:

> [mahmood at rocks7 ~]$ srun --spankx11 ./run_qemu.sh

srun doesn't look inside whatever you pass to it as it can be a binary, 
that's why the directives are called #SBATCH as only sbatch will look at 
those.

So you need to give srun those same arguments from the script for it to 
know what resources you are asking for.

All the best,
Chris
-- 
  Chris Samuel  :  http://www.csamuel.org/  :  Melbourne, VIC



More information about the slurm-users mailing list