Hi,

I'd like to be able to set the SLURM_JOB_NAME from within the script I'm submitting to `sbatch`. So, e.g., with the script `myscript.sh`,

   #!/bin/bash
   export SLURM_JOB_NAME='myname'
   sleep 120

and then `sbatch myscript.sh`, I'd like the job's name to be 'myname'.

Is this somehow possible? When I tried the above approach, it didn't work (squeue reported the job's name to be 'myscript.sh').

Thanks for your help,
 Andreas

Reply via email to