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.vandervl...@surf.nl

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to