Re: [slurm-users] Slurm prolog export variable

2021-03-23 Thread Yap, Mike
Hi Jürgen Thanks for the help 😊 TaskProlog did get the job done Regards Mike -Original Message- From: slurm-users On Behalf Of Juergen Salk Sent: Tuesday, 23 March 2021 8:39 PM To: Slurm User Community List Subject: Re: [slurm-users] Slurm prolog export variable Hi Mike, for

Re: [slurm-users] Slurm prolog export variable

2021-03-23 Thread Juergen Salk
Hi Mike, for pushing environvent variables into the job environment, you'll have to use the TaskProlog script (not the regular Prolog script). The location of the TaskProlog script needs to be defined in slurm.conf, e.g. TaskProlog=/etc/slurm/task_prolog and the standard output of TaskProlog

[slurm-users] Slurm prolog export variable

2021-03-22 Thread Yap, Mike
Hi All Can anyone assist the following We're using Bright Cluster 9.1 with CentOS 7.9 running with slurm 2.02.6 We have a script running on prolog exporting the SCRATCH as variable for user running job Addition command on the script to create a user folder accordingly When submitting the job, t