How can I ensure that the code of a submitted job on a Slurm server cluster is preserved, even if I update the codebase with Git Pull after submitting the job?
When submitting a job to a Slurm server cluster, I am concerned that updating the codebase with Git Pull after submission could potentially result in changes to the code of the submitted job. I have heard that Slurm copies the code of a submitted job to a temporary directory, typically located at /var/slurm/job-jobid, once the job begins running. However, I am not sure if this is true.
I would like to know if there are any best practices or recommendations for ensuring that the code of a submitted job on a Slurm server cluster is preserved and not affected by updates to the codebase. Additionally, any information on how Slurm handles the copying and preservation of submitted job code would be greatly appreciated.
Thank you in advance for your help.