payu-org / payu

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

Restarting access-om2 requires outputNNN/ice/cice_in.nml #193

Open aekiss opened 5 years ago

aekiss commented 5 years ago

To start a new access-om2 experiment from an existing restart (say, restart123) it is necessary to copy/link both restart123 and output123/ice/cice_in.nml to the new experiment's archive, otherwise payu aborts with payu: error: Cannot find prior namelist cice_in.nml.

It is counterintuitive to need more than just restart123.

aekiss commented 5 years ago

I should have said, this is with payu 0.11.2

marshallward commented 5 years ago

Any idea if this has been fixed? It sounds like an older problem

aekiss commented 5 years ago

Did you mean this? https://github.com/payu-org/payu/issues/140

marshallward commented 5 years ago

That's the one... I thought it had been fixed but guess not. Maybe @aidanheerdegen can confirm?

aidanheerdegen commented 5 years ago

Issue #140 is more about readability than this particular bug

The code was changed some time ago to look for a cice_in.nml in the prior restart directory

https://github.com/payu-org/payu/blob/master/payu/models/cice.py#L194-L202

but it does look like there is no code to copy the updated cice_in.nml to the restart directory that I can see.

aekiss commented 5 years ago

Even if this is fixed at some point, it will remain an issue when starting from older restarts.

aekiss commented 5 years ago

Seems related: https://github.com/payu-org/payu/pull/88 and https://github.com/COSIMA/access-om2/issues/43

AndyHoggANU commented 5 years ago

Just to confirm that I accidentally discovered this has not been fixed, or else has re-emerged. Does anybody know how we fix this one?