--- mitgcm.org/front_content/using_cvs.xml 2008/02/06 01:13:29 1.11 +++ mitgcm.org/front_content/using_cvs.xml 2015/11/21 03:21:16 1.16 @@ -21,7 +21,7 @@
- +
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack'
- $ cvs login
+ $ cvs login
( enter the CVS password: "cvsanon" )
- $ cvs co MITgcm
+ $ cvs co -P MITgcm
Using a "C", "csh", or "tcsh" shell the commands are:
@@ -48,21 +48,34 @@ $ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' $ cvs login ( enter the CVS password: "cvsanon" ) - $ cvs co MITgcm + $ cvs co -P MITgcm -A large amount of additional (optional!) content can be obtained from the - MITgcm_contrib directory that can be checked out using: +
using the "-P" option to check-out ("cvs co -P") prevents + to download unnecessary empty directories.
+ + +Note that it is possible to checkout code without "cvs login" and without +setting any shell environment variables by specifying the pserver name and +password in one line, for example:
- $ cvs co MITgcm_contrib + $ cvs -d :pserver:cvsanon:cvsanon@mitgcm.org:/u/gcmpack co -P MITgcm+ +
A large amount of additional (optional!) content is available + from the MITgcm_contrib directory; much of it is specific to certain + setups (eg. high-res setups, in-development material that is not yet part + of the "main" code, etc ...). + But rather than checking out the full content of MITgcm_contrib + ("cvs co -P MITgcm_contrib"), which takes a long time to download + (particularly from remote locations), we recommend to download only the + specific part of interest, e.g.: "submesoscale" directory, + which can be checked out using:
- In general, we do not recommend checking out all of MITgcm_contrib since - it takes a long time to download (particularly from remote locations) and - much of it is specific to certain setups (eg. high-res setups, - in-development material that is not yet part of the "main" code, - etc.). ++ $ cvs co -P MITgcm_contrib/submesoscale +
Note that you will only need to perform the "cvs login" once. And for convenience, you may want to add the CVSROOT variable to your shell's @@ -73,12 +86,12 @@
The above commands demonstrate how to check out all of the MITgcm code - and the "contributed" (that is, unsupported by occasionally useful) - information within the "MITgcm_contrib" directory. In many cases, this is - overkill and can result in long download times. To reduce the volume of - information downloaded and thereby speedup the download times, one can - select one of the following pre-defined "aliases" that will provide a - sub-set of the entire MITgcm source "tree":
+ and the "contributed" (that is, unsupported but occasionally useful) + information within the "MITgcm_contrib" directory. In many cases, + this is overkill and can result in long download times. + To reduce the volume of information downloaded and thereby speedup the + download times, one can select one of the following pre-defined "aliases" + that will provide a sub-set of the entire MITgcm source "tree":