| 39 |
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 40 |
$ cvs login |
$ cvs login |
| 41 |
( enter the CVS password: "cvsanon" ) |
( enter the CVS password: "cvsanon" ) |
| 42 |
$ cvs co MITgcm MITgcm_contrib |
$ cvs co MITgcm |
| 43 |
</pre> |
</pre> |
| 44 |
|
|
| 45 |
<p>Using a "C", "csh", or "tcsh" shell the commands are:</p> |
<p>Using a "C", "csh", or "tcsh" shell the commands are:</p> |
| 48 |
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 49 |
$ cvs login |
$ cvs login |
| 50 |
( enter the CVS password: "cvsanon" ) |
( enter the CVS password: "cvsanon" ) |
| 51 |
$ cvs co MITgcm MITgcm_contrib |
$ cvs co MITgcm |
| 52 |
</pre> |
</pre> |
| 53 |
|
|
| 54 |
|
<p>A large amount of additional (optional!) content can be obtained from the |
| 55 |
|
MITgcm_contrib directory that can be checked out using: |
| 56 |
|
|
| 57 |
|
<pre> |
| 58 |
|
$ cvs co MITgcm_contrib |
| 59 |
|
</pre> |
| 60 |
|
|
| 61 |
|
In general, we do not recommend checking out all of MITgcm_contrib since |
| 62 |
|
it takes a long time to download (particularly from remote locations) and |
| 63 |
|
much of it is specific to certain setups (eg. high-res setups, |
| 64 |
|
in-development material that is not yet part of the "main" code, |
| 65 |
|
etc.).</p> |
| 66 |
|
|
| 67 |
<p>Note that you will only need to perform the "cvs login" once. And for |
<p>Note that you will only need to perform the "cvs login" once. And for |
| 68 |
convenience, you may want to add the CVSROOT variable to your shell's |
convenience, you may want to add the CVSROOT variable to your shell's |
| 73 |
<h4>Getting Parts of the Source "Tree"</h4> |
<h4>Getting Parts of the Source "Tree"</h4> |
| 74 |
|
|
| 75 |
<p>The above commands demonstrate how to check out all of the MITgcm code |
<p>The above commands demonstrate how to check out all of the MITgcm code |
| 76 |
and the "contributed" (that is, unsupported by often useful) information |
and the "contributed" (that is, unsupported by occasionally useful) |
| 77 |
within the "MITgcm_contrib" directory. In many cases, this is overkill |
information within the "MITgcm_contrib" directory. In many cases, this is |
| 78 |
and can result in long download times. To reduce the volume of |
overkill and can result in long download times. To reduce the volume of |
| 79 |
information downloaded and thereby speedup the download times, one can |
information downloaded and thereby speedup the download times, one can |
| 80 |
select one of the following pre-defined "aliases" that will provide a |
select one of the following pre-defined "aliases" that will provide a |
| 81 |
sub-set of the entire MITgcm source "tree":</p> |
sub-set of the entire MITgcm source "tree":</p> |
| 93 |
<tr bgcolor="#bbddff"> |
<tr bgcolor="#bbddff"> |
| 94 |
<td width="25%">MITgcm_verif_basic</td> |
<td width="25%">MITgcm_verif_basic</td> |
| 95 |
<td>Source code plus a small set of the verification examples |
<td>Source code plus a small set of the verification examples |
| 96 |
("global_ocean.90x40x15", "aim.5l_cs", "hs94.128x64x5", |
("aim.5l_cs", "hs94.128x64x5", "ideal_2D_oce", "lab_sea", |
| 97 |
"front_relax", and "plume_on_slope").</td> |
"tutorial_baroclinic_gyre", "tutorial_global_oce_latlon" |
| 98 |
</tr> |
and "tutorial_plume_on_slope").</td> |
| 99 |
|
</tr> |
| 100 |
|
<tr bgcolor="#bbffdd"> |
| 101 |
|
<td width="25%">MITgcm_tutorials</td> |
| 102 |
|
<td>Source code plus all of the tutorials examples.</td> |
| 103 |
|
</tr> |
| 104 |
|
<tr bgcolor="#bbddff"> |
| 105 |
|
<td width="25%">MITgcm_verif_all</td> |
| 106 |
|
<td>Source code plus all of the verification examples.</td> |
| 107 |
|
</tr> |
| 108 |
|
<!-- |
| 109 |
<tr bgcolor="#bbffdd"> |
<tr bgcolor="#bbffdd"> |
| 110 |
<td width="25%">MITgcm_verif_atmos</td> |
<td width="25%">MITgcm_verif_atmos</td> |
| 111 |
<td>Source code plus all of the atmospheric examples.</td> |
<td>Source code plus all of the atmospheric examples.</td> |
| 114 |
<td width="25%">MITgcm_verif_ocean</td> |
<td width="25%">MITgcm_verif_ocean</td> |
| 115 |
<td>Source code plus all of the oceanic examples.</td> |
<td>Source code plus all of the oceanic examples.</td> |
| 116 |
</tr> |
</tr> |
|
<tr bgcolor="#bbffdd"> |
|
|
<td width="25%">MITgcm_verif_all</td> |
|
|
<td>Source code plus all of the verification examples.</td> |
|
|
</tr> |
|
|
<!-- |
|
| 117 |
<tr bgcolor="#bbddff"> |
<tr bgcolor="#bbddff"> |
| 118 |
<td width="25%"></td> |
<td width="25%"></td> |
| 119 |
<td></td> |
<td></td> |
| 136 |
|
|
| 137 |
<h4>Getting Specific Releases or "Checkpoints"</h4> |
<h4>Getting Specific Releases or "Checkpoints"</h4> |
| 138 |
|
|
| 139 |
<p>As shown within the <a |
<p>As shown within the |
| 140 |
href="http://dev.mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/doc/tag-index"> CVS |
<!-- <a href="http://mitgcm.org/cgi-bin/viewcvs.cgi/MITgcm/doc/tag-index">CVS Code Browser</a> --> |
| 141 |
Code Browser</a>, the MITgcm code is continuously undergoing updates. At |
<a href="http://mitgcm.org/viewvc/MITgcm/MITgcm/doc/tag-index">CVS Code Browser</a> |
| 142 |
|
, the MITgcm code is continuously undergoing updates. At |
| 143 |
points during the development (typically, after work has been done and the |
points during the development (typically, after work has been done and the |
| 144 |
source code has passed the <a href="testing/latest.html">verification |
source code has passed the <a href="./testing.html">verification |
| 145 |
tests</a>), a release or checkpoint "tag" is created. These tags are a |
tests</a>), a release or checkpoint "tag" is created. These tags are a |
| 146 |
convenient mechanism for referring to different times or points within the |
convenient mechanism for referring to different times or points within the |
| 147 |
development. One can check out these versions using the "-r TAG_NAME" CVS |
development. One can check out these versions using the "-r TAG_NAME" CVS |
| 266 |
|
|
| 267 |
<h4>Wow! CVS is so good, where can I learn more?</h4> |
<h4>Wow! CVS is so good, where can I learn more?</h4> |
| 268 |
|
|
| 269 |
<p>The <a href="http://www.loria.fr/~molli/cvs/doc/cvs_toc.html">basic |
<p>The <a |
| 270 |
manual</a> is a good reference. There is also an <a |
href="http://web.mit.edu/afs/athena.mit.edu/project/gnu/doc/html/cvs_toc.html">basic |
| 271 |
href="http://web.mit.edu/afs/athena.mit.edu/project/gnu/doc/html/cvs_toc.html">online |
manual</a> is a good reference. |
| 272 |
tutorial</a> as well as an <a |
For those who prefer the good old fashioned book there's |
| 273 |
href="http://www.loria.fr/~molli/cvs/cvstrain/cvstrain.html">training |
<a href="http://cvsbook.red-bean.com/">"Open Source Development With CVS"</a>.</p> |
|
manual</a>. For those who prefer the good old fashioned book there's <a |
|
|
href="http://cvsbook.red-bean.com/">"Open Source Development With |
|
|
CVS"</a>.</p> |
|
| 274 |
|
|
| 275 |
</body> |
</body> |
| 276 |
</html> |
</html> |