Migrate payu experiment project
Instructions to migrate a payu experiment from one project to another on gadi.
Definitions:
- new project: the NCI project code for the project to which the experiment has been migrated (these instructions use w40 as an example, replace w40 with the appropriate project)
- control directory: location where the model is run (contains config.yaml file)
- model: the name of the model in your experiment (these instructions use access-esm as an example, replace access-esm with the appropriate model name)
- laboratory directory: location of the archive and work directories, e.g. /scratch/w40/user/access-esm, where user is your NCI username.
These instructions assume that the laboratory directory has already been copied from the /scratch directory of the original project to the scratch directory of the new project.
If the laboratory directory is at the top level of your /scratch directory, e.g. /scratch/w40/user/access-esm:
shortpath: /scratch/w40
Otherwise, if the laboratory directory is located at some sub-directory path in your /scratch directory:
laboratory: /scratch/w40/user/subdirectorypath/access-esm
Now remove the symbolic link to the archive directory in your control directory:
rm archive
(make sure to not have a trailing / because the operating system thinks this refers to the directory it is linking to rather than the link itself) and run
payu setup --archive
to test your paths are correct and create a new archive. If this is successful then
payu sweep
and the model is ready to run.