nesi / APSIM-HPC

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

Remove the need to manually assign #SBATCH --partition milan during mahuika cluster container build #5

Closed DininduSenanayake closed 2 months ago

DininduSenanayake commented 2 months ago

Only the milan partition in Mahuika cluster has fakeroot enabled for Apptainer/Singularity builds. Therefore, the standard Slurm template will need #SBATCH --partition=milan within the script OR sbatch -p milan during the submission. Since this brings in the redundancy of having to remember to do this each time, it will be ideal to add this requirement as a logical operator to the build script

DininduSenanayake commented 2 months ago

Fixed in https://github.com/DininduSenanayake/APSIM-eri-mahuika/commit/c7101a77bcc9f12fbe723efd3b75af60427879d9