Closed blimlim closed 1 month ago
Yeah I think you are right, that payu is finding the storage paths for restarts, exes and inputs using the manifests, so maybe payu setup
is required when updating those paths. @aidanheerdegen any thoughts on this?
My only idea at the moment at how to get around that is changing payu to auto-run setup and sweep before it submits the pbs payu-run job. It would take longer to run and have a bunch of logs..
Yeah I think you are right, that payu is finding the storage paths for restarts, exes and inputs using the manifests, so maybe
payu setup
is required when updating those paths. @aidanheerdegen any thoughts on this?
You're spot on. It's a known issue with the storage
flags on gadi
. It's a chicken and egg problem, which is why I always suggest users do payu setup
every time they clone an experiment, or make changes like this. It's a great test to make sure you have access to all the paths in the config.yaml
, and also updates manifests etc when paths change, which allows payu
to choose the correct storage
flags.
We've got it in our trouble-shooting section for OM2
https://access-hive.org.au/models/run-a-model/run-access-om/#trouble-shooting
I think I had it as a recommended step after cloning the experiment, but was convinced that it was better as a trouble-shooting measure.
I'll close this issue as the solution is just to run payu setup
first!
I've been testing out ESM1.5 configurations with new input filepaths however run into a
payu: error:
through the following steps:payu clone
.config.yaml
file, adding in the updated filepaths (which lie intm70
).payu run
.This leads to the following error in the PBS error logs:
which looks like it occurs as
tm70
isn't included in the storage flags:First running
payu setup
thenpayu run -f
lets the job run without any issues, and it includesgdata/tm70
in the storage flags.I'm not 100% sure on this, but I think payu is finding the storage paths for the restarts, executables, and input files from the manifests here: https://github.com/payu-org/payu/blob/c83489e1cf5af27f94aa8d255330cc50b6cb34fe/payu/schedulers/pbs.py#L119
And so if the
payu setup
step is skipped, the manifests aren't updated and I don't think the new file paths aren't found.I just wanted to check whether this is what is meant to happen, ie is
payu setup
meant to be run whenever changes to the filepaths are made?