Difference between revisions of "Migrate payu experiment project"
A.heerdegen (talk | contribs) (Initial version) |
A.heerdegen (talk | contribs) |
||
Line 12: | Line 12: | ||
'''If''' the laboratory directory is at the top level of your <tt>/scratch</tt> directory, e.g. <tt>/scratch/w40/user/access-esm:</tt> | '''If''' the laboratory directory is at the top level of your <tt>/scratch</tt> directory, e.g. <tt>/scratch/w40/user/access-esm:</tt> | ||
− | + | <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">Edit the <tt>config.yaml</tt> in the control directory and add | |
− | Edit the <tt>config.yaml</tt> in the control directory and add | + | <code>shortpath: /scratch/w40</code> |
− | + | if there is no shortpath option, or change it to the new project code if there is already a <tt>shortpath</tt> option defined.</div> | |
− | <code>shortpath: /scratch/w40</code> | ||
− | |||
− | if there is no shortpath option, or change it to the new project code if there is already a <tt>shortpath</tt> option defined. | ||
− | |||
'''Otherwise''', if the laboratory directory is located at some sub-directory path in your <tt>/scratch</tt> directory: | '''Otherwise''', if the laboratory directory is located at some sub-directory path in your <tt>/scratch</tt> directory: | ||
− | + | <div style="background:#eeeeee;border:1px solid #cccccc;padding:5px 10px;">Edit the <tt>config.yaml</tt> in the control directory and add the full path to the model laboratory directory | |
− | Edit the <tt>config.yaml</tt> in the control directory and add the full path to the model laboratory directory | + | <code>laboratory: /scratch/w40/user/subdirectorypath/access-esm</code> |
− | + | if there is already a shortpath option remove it</div> | |
− | <code>laboratory: /scratch/w40/user/subdirectorypath/access-esm</code> | ||
− | |||
− | if there is already a shortpath option remove it |
Revision as of 21:04, 27 October 2021
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:
Edit the config.yaml in the control directory and add
shortpath: /scratch/w40
Otherwise, if the laboratory directory is located at some sub-directory path in your /scratch directory:
Edit the config.yaml in the control directory and add the full path to the model laboratory directory
laboratory: /scratch/w40/user/subdirectorypath/access-esm