Payu not locating archive directory

Hello!

I have an OM2 experiment and the config files are here: /home/561/qo9901/access-om2/1deg_esm1p5_hist_atm.

The config was originally created by following the payu clone instructions here and then making 20 billion changes so that ESM forcing can be used. I tried to push a copy to my personal github, but in the process I must have disconnected my exp config from the original archive directory, with the restarts later in the experiment.

The archive folder I want to reach is: /scratch/if69/qo9901/access-om2/archive/1deg_esm1p5_hist_atm-expt-b6610589. I added a symlink to this folder in the experiment config file so the restart file can be read and the experiment can be carried on from where I left off, but whenever I do payu sweep or payu setup, it makes a new experiment uuid and archive dir on scratch so I cannot continue the original experiment.

Any help on fixing this would be greatly appreciated, thank you in advance! :smiley:

Is it directing to `/scratch/if69/qo9901/access-om2/archive/1deg_esm1p5_hist_atm-expt-dd1f8a19`?

at the moment yes, I just want it to link back to the /1deg_esm1p5_hist_atm-expt-b6610589 one

Sorry for the delayed reply. Could you confirm this directory /scratch/if69/qo9901/access-om2/archive/1deg_esm1p5_hist_atm-expt-b6610589 exists? I dont have permisson to that folder.

If the data is available, you can replace the experiment_uuid in metadata.yaml with b6610589-c5bd-4d1d-9939-8be93a3d5a76. Then create a symbolic link with,

ln -s /scratch/if69/qo9901/access-om2/archive/1deg_esm1p5_hist_atm-expt-b6610589 archive

Should I be changing the metadata.yaml file and make the symbolic link before or after the payu sweep step? I thought I tried both but it kept making a new experiment uuid.

@minghangli I did what you suggested after the payu sweep, so when I ran the model the uuid and archive was directed correctly. However, when I ran the model and checked the metadata.yaml in my exp directory again, the uuid has now changed. It looks like the uuid will be overridden when I do payu run?