nesi / APSIM-HPC

Deploy APSIM (Agricultural Production Systems sIMulator - https://www.apsim.info/) on high performance computing clusters.
MIT License
0 stars 0 forks source link

add `mkdir -p set-x/slurmlogs` to split_configfiles_to_sets.sh as Slurm < 23.0.0 can not automatically create dir in `#SBATCH --output dir/...` #43

Closed DininduSenanayake closed 1 week ago

DininduSenanayake commented 1 week ago

All of the Slurm processes we deploy in the pipeline creates Slurm standard out by default. We prefer to have this file stored in a separate directory named slurmlogs . i.e. #SBATCH --output slurmlogs/%j.out Any platform using an older version of Slurm ( < 23) can not create that slurmlogs directory during runtime. In other words, it has to be created before hand and not having the directory means the job will fail within the first second without any log, Therefore, it is ideal to mkdir -p set-x/slurmlogs during split_configfiles_to_sets.sh execution