/[MITgcm]/manual/s_getstarted/text/getting_started.tex
ViewVC logotype

Diff of /manual/s_getstarted/text/getting_started.tex

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.44 by jmc, Mon Aug 30 23:09:20 2010 UTC revision 1.45 by jmc, Wed May 11 18:58:02 2011 UTC
# Line 92  You only need to do a ``cvs login'' once Line 92  You only need to do a ``cvs login'' once
92    
93  To obtain the latest sources type:  To obtain the latest sources type:
94  \begin{verbatim}  \begin{verbatim}
95  % cvs co MITgcm  % cvs co -P MITgcm
96  \end{verbatim}  \end{verbatim}
97  or to get a specific release type:  or to get a specific release type:
98  \begin{verbatim}  \begin{verbatim}
99  % cvs co -P -r checkpoint52i_post  MITgcm  % cvs co -P -r checkpoint52i_post MITgcm
100  \end{verbatim}  \end{verbatim}
101    The CVS command ``\texttt{cvs co}'' is the abreviation of the full-name
102    ``\texttt{cvs checkout}'' command and using the option ``-P'' (\texttt{cvs co -P})
103    will prevent to download unnecessary empty directories.
104    
105  The MITgcm web site contains further directions concerning the source  The MITgcm web site contains further directions concerning the source
106  code and CVS.  It also contains a web interface to our CVS archive so  code and CVS.  It also contains a web interface to our CVS archive so
107  that one may easily view the state of files, revisions, and other  that one may easily view the state of files, revisions, and other
# Line 148  It is important to note that the CVS ali Line 152  It is important to note that the CVS ali
152  \texttt{-d DIRNAME} option.  However, the \texttt{MITgcm} directories  \texttt{-d DIRNAME} option.  However, the \texttt{MITgcm} directories
153  they create can be changed to a different name following the check-out:  they create can be changed to a different name following the check-out:
154  \begin{verbatim}  \begin{verbatim}
155     %  cvs co MITgcm_verif_basic     %  cvs co -P MITgcm_verif_basic
156     %  mv MITgcm MITgcm_verif_basic     %  mv MITgcm MITgcm_verif_basic
157  \end{verbatim}  \end{verbatim}
158    
# Line 162  your copy instead of downloading the ent Line 166  your copy instead of downloading the ent
166  \end{verbatim}  \end{verbatim}
167  and then issue the cvs update command such as:  and then issue the cvs update command such as:
168  \begin{verbatim}  \begin{verbatim}
169  % cvs -q update -r checkpoint52i_post -d -P  % cvs -q update -d -P -r checkpoint52i_post
170  \end{verbatim}  \end{verbatim}
171  This will update the ``tag'' to ``checkpoint52i\_post'', add any new  This will update the ``tag'' to ``checkpoint52i\_post'', add any new
172  directories (-d) and remove any empty directories (-P). The -q option  directories (-d) and remove any empty directories (-P). The -q option
# Line 208  have run into a problem for which ``we h Line 212  have run into a problem for which ``we h
212  latest code'' and we haven't made a ``tag'' or ``release'' since that  latest code'' and we haven't made a ``tag'' or ``release'' since that
213  patch then you'll need to get the latest code:  patch then you'll need to get the latest code:
214  \begin{verbatim}  \begin{verbatim}
215  % cvs -q update -A -d -P  % cvs -q update -d -P -A
216  \end{verbatim}  \end{verbatim}
217  Unlike, the ``check-out'' and ``update'' procedures above, there is no  Unlike, the ``check-out'' and ``update'' procedures above, there is no
218  ``tag'' or release name. The -A tells CVS to upgrade to the  ``tag'' or release name. The -A tells CVS to upgrade to the

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45

  ViewVC Help
Powered by ViewVC 1.1.22