[slurm-users] set SLURM_JOB_NAME programmatically from within job script

Chris Samuel chris at csamuel.org
Thu Mar 22 21:22:43 MDT 2018


On Friday, 23 March 2018 8:16:01 AM AEDT Andreas Hilboll wrote:

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

It needs to be set before submission for sbatch to use it, a script cannot 
affect the environment of the parent process.

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




More information about the slurm-users mailing list