[slurm-users] Prologslurmctld environment variables

Bas van der Vlies bas.vandervlies at surf.nl
Fri Sep 17 10:49:32 UTC 2021


The only way to set propogate this vars to slurmctld is via an spank 
plugin, see:
  * https://slurm.schedmd.com/spank.html

read section: spank_job_control_setenv

regards



On 16/09/2021 15:59, Joe Teumer wrote:
> In the Prologslurmctld script environment there are only SLURM_* 
> variables available.
> 
> Is there any way to export additional variables to Prologslurmctld from 
> an SBATCH job?
> 
> I tried exporting variables in the SBATCH script, however, these 
> variables do not get exported to Prologslurmctld, only to the node env 
> and only after the Prologslurmctld script terminates.
> 
> The end goal is to pass information from a user's SBATCH job to the 
> Prologslurmctld script to provision the node correctly before running 
> the job.

-- 
Bas van der Vlies
| HPCV Supercomputing | Internal Services  | SURF | 
https://userinfo.surfsara.nl |
| Science Park 140 | 1098 XG Amsterdam | Phone: +31208001300 |
|  bas.vandervlies at surf.nl
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2331 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210917/24de176c/attachment.bin>


More information about the slurm-users mailing list