| 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 |
| 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 |
|
|
| 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 |
| 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 |