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, the folder is created without any error on the compute node (which indicate the prolog is being executed without an issue) but $SCRATCH seems to be undone once the prolog script is done We also tried to create an additional script to only export SCRATCH but no luck We have been using the same script for an older setup and it work fine. Any suggestion if there is any workaround to define $SCRACTH beside getting user to define it in their submit script ? Prolog script #!/bin/sh export SCRATCH=/scratch/$SLURM_JOB_USER/$SLURM_JOB_ID mkdir --parents $SCRATCH Thanks Mike