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

database_list.txt registers .db names based on Slurm state which included failed sample IDs #14

Closed DininduSenanayake closed 2 months ago

DininduSenanayake commented 2 months ago

From the latest simulation,

$ cat database_list.txt 
.txt.db
.txt.db
.txt.db
.txt.db
.txt.db
.txt.db
.txt.db
.txt.db
.txt.db
.txt.db
13223_Ahiaruhe_1a1.db
13223_Airfield_4a2.db
13223_Airfield_7a1.db
13223_Airfield_5a1.db

$ ls
13223_Airfield_4a2.db  13223_Airfield_5a1.db  13223_Airfield_7a1.db  database_list.txt
DininduSenanayake commented 2 months ago

adding -e ( "add exit immediately on error") in #13 resolved this