payu-org / payu

A workflow management tool for numerical models on the NCI computing systems
Apache License 2.0
18 stars 26 forks source link

access-om2 models leaving symlink in output #234

Open aidanheerdegen opened 4 years ago

aidanheerdegen commented 4 years ago

The {{accessom2}} models create a symlink in the top level work directory to {{accessom_restart.nml}} in the previous restart directory. This is not being cleaned up when the model is archived, and so gets copied to the {{archive/outputXXX}} directory. e.g.

$ ls -l output605/accessom2_restart.nml 
lrwxrwxrwx 1 amh157 x77 94 Feb 28 14:15 output605/accessom2_restart.nml -> /scratch/x77/amh157/access-om2/archive/01deg_jra55v13_ryf9091/restart604/accessom2_restart.nml

This is incorrect behaviour, and the symlink breaks when restarts are cleaned or moved to another location.

FYI @nichannah