You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/includes/payu.md
+22-21Lines changed: 22 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,45 +115,46 @@ Then, you can get the chosen configuration using `payu clone`.
115
115
<!--end:get-config-payu-->
116
116
117
117
<!--start:payu-clone-example-->
118
-
For example, if you want to do a sensitivity experiment about diffusivity in ACCESS-OM2 using the configuration `release-1deg_jra55_ryf`. You decide the following:
118
+
For example, if you want to do a sensitivity experiment in {{model}} using the configuration {{config_example}}. You decide the following:
119
119
120
-
-`<repository>` and `<branch>`: base your experiment off the branch, `release-1deg_jra55_ryf`, from the repository, `https://github.com/ACCESS-NRI/access-om2-configs`
121
-
-`<configurations-directory>`: store all your ACCESS-OM2 configurations under `~/access-om2/`
122
-
-`<local-branch>`: name your branch `diffuse_test1`
123
-
-`<control-directory>`: store the configurations for this research project under `diffuse_exps-1deg_jra55_ryf`
120
+
-`<repository>` and `<branch>`: base your experiment off the branch, {{config_example}}, from the repository, {{github_configs}}
121
+
-`<configurations-directory>`: store all your {{model}} configurations under `~/{{model}}/`
122
+
-`<local-branch>`: name your branch `expt1`. For a real case, a more explicit name is recommended.
123
+
-`<control-directory>`: store the configurations for this research project under `my-project-expts`. For a real case, a more explicit name is recommended.
<terminal-line><span class="payu-yellow">Welcome to the Payu Clone Wizard!</span></terminal-line>
132
132
<terminal-line><span class="payu-yellow">Press 'Ctrl+C' at any time to exit.</span></terminal-line>
133
-
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Please enter the URL of the repository, or the local path of a configuration you want to clone:</span> (e.g., https://github.com/payu-org/bowl1.git or /path/to/local/experiment; 'Tab' to browse, '/' to enter folder) <span class="payu-dark-yellow"> https://github.com/ACCESS-NRI/access-om2-configs</span></terminal-line>
133
+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Please enter the URL of the repository, or the local path of a configuration you want to clone:</span> (e.g., https://github.com/payu-org/bowl1.git or /path/to/local/experiment; 'Tab' to browse, '/' to enter folder) <span class="payu-dark-yellow"> {{github_configs}}</span></terminal-line>
134
134
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Do you want to clone the repo based on:</span> <span class="payu-dark-yellow">An existing branch</span></terminal-line>
135
-
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Please enter the name of the branch you want to clone ('Tab' to browse all branches):</span> <span class="payu-dark-yellow">release-1deg_jra55_ryf</span></terminal-line>
136
-
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">How would you like to name your local experiment directory?</span> <span class="payu-dark-yellow"> diffuse_exps-1deg_jra55_ryf</span></terminal-line>
135
+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Please enter the name of the branch you want to clone ('Tab' to browse all branches):</span> <span class="payu-dark-yellow">{{config_example}}</span></terminal-line>
136
+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">How would you like to name your local experiment directory?</span> <span class="payu-dark-yellow"> my-project-expts</span></terminal-line>
137
137
<terminal-line><span class="spack-cyan">?</span> <span class="payu red">Is this a new experiment?</span> (If yes, payu will create a new branch.) <span class="payu-dark-yellow">Yes</span></terminal-line>
138
-
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">What would you like to name your new branch</span> (Note: this won't be shared to the online repository automatically) <span class="payu-dark-yellow">diffuse_test1-1deg_jra55_ryf</span></terminal-line>
138
+
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">What would you like to name your new branch</span> (Note: this won't be shared to the online repository automatically) <span class="payu-dark-yellow">expt1</span></terminal-line>
139
139
<terminal-line><span class="spack-cyan">?</span> <span class="payu-red">Do you want to specify a custom restart path? (If no, the default restart/initial conditions will be used.)</span> <span class="payu-dark-yellow">No</span></terminal-line>
<terminal-line>Cloned repository from https://github.com/ACCESS-NRI/access-om2-configs to directory: /home/561/\$USER/payu-control/access-om2/ diffuse_exps-1deg_jra55_ryf</terminal-line>
143
-
<terminal-line>Created and checked out new branch: diffuse_test1-1deg_jra55_ryf</terminal-line>
<terminal-line>Added archive symlink to /scratch/\$PROJECT/\$USER/access-om2/archive/diffuse_exps-1deg_jra55_ryf-diffuse_test1-1deg_jra55_ryf-14058c5c</terminal-line>
150
+
<terminal-line>Added archive symlink to /scratch/\$PROJECT/\$USER/{{model}}/archive/my-project-expts-expt1-14058c5c</terminal-line>
151
151
<terminal-line>To change directory to control directory run:</terminal-line>
152
-
<terminal-line> cd diffuse_exps-1deg_jra55_ryf</terminal-line>
152
+
<terminal-line> cd my-project-expts</terminal-line>
153
153
</terminal-window>
154
154
155
155
!!! tip
156
156
Anyone using a configuration is advised to clone only a single branch (as shown in the example above) and not the entire repository.
0 commit comments