I have three scripts:
config.yaml
and script.py
and slurm.sh
I am submitting job to the job scheduler in Slurm
using the slurm.sh
file which calls the script.py
file and the script.py
files loads the config from the config.yaml
file.
It would look like this:
sbatch slurm.sh
Now, I change the config.yaml
and submit another job. However, if both jobs are in the queue, the config.yaml
file will be overwritten and both jobs will use the same configuration.
Is there any way to tell the slurm
scheduler to cache the config.yaml
file as well? I know it is dont for the slurm.sh
file.