79 |
|
|
80 |
\end{enumerate} |
\end{enumerate} |
81 |
|
|
82 |
|
\subsubsection{Checkout from CVS} |
83 |
|
\label{sect:cvs_checkout} |
84 |
|
|
85 |
If CVS is available on your system, we strongly encourage you to use it. CVS |
If CVS is available on your system, we strongly encourage you to use it. CVS |
86 |
provides an efficient and elegant way of organizing your code and keeping |
provides an efficient and elegant way of organizing your code and keeping |
87 |
track of your changes. If CVS is not available on your machine, you can also |
track of your changes. If CVS is not available on your machine, you can also |
124 |
\end{verbatim} |
\end{verbatim} |
125 |
\begin{rawhtml} </A> \end{rawhtml} |
\begin{rawhtml} </A> \end{rawhtml} |
126 |
|
|
127 |
|
As a convenience, the MITgcm CVS server contains aliases which are |
128 |
|
named subsets of the codebase. These aliases can be especially |
129 |
|
helpful when used over slow internet connections or on machines with |
130 |
|
restricted storage space. Table \ref{tab:cvsModules} contains a list |
131 |
|
of CVS aliases |
132 |
|
\begin{table}[htb] |
133 |
|
\centering |
134 |
|
\begin{tabular}[htb]{|lp{3.25in}|}\hline |
135 |
|
\textbf{Alias Name} & \textbf{Information (directories) Contained} \\\hline |
136 |
|
\texttt{MITgcm\_code} & Only the source code -- none of the verification examples. \\ |
137 |
|
\texttt{MITgcm\_verif\_basic} |
138 |
|
& Source code plus a small set of the verification examples |
139 |
|
(\texttt{global\_ocean.90x40x15}, \texttt{aim.5l\_cs}, \texttt{hs94.128x64x5}, |
140 |
|
\texttt{front\_relax}, and \texttt{plume\_on\_slope}). \\ |
141 |
|
\texttt{MITgcm\_verif\_atmos} & Source code plus all of the atmospheric examples. \\ |
142 |
|
\texttt{MITgcm\_verif\_ocean} & Source code plus all of the oceanic examples. \\ |
143 |
|
\texttt{MITgcm\_verif\_all} & Source code plus all of the |
144 |
|
verification examples. \\\hline |
145 |
|
\end{tabular} |
146 |
|
\caption{MITgcm CVS Modules} |
147 |
|
\label{tab:cvsModules} |
148 |
|
\end{table} |
149 |
|
|
150 |
The checkout process creates a directory called \textit{MITgcm}. If |
The checkout process creates a directory called \textit{MITgcm}. If |
151 |
the directory \textit{MITgcm} exists this command updates your code |
the directory \textit{MITgcm} exists this command updates your code |
159 |
here |
here |
160 |
\begin{rawhtml} </A> \end{rawhtml} |
\begin{rawhtml} </A> \end{rawhtml} |
161 |
. |
. |
162 |
|
It is important to note that the CVS aliases in Table |
163 |
|
\ref{tab:cvsModules} cannot be used in conjunction with the CVS |
164 |
|
\texttt{-d DIRNAME} option. However, the \texttt{MITgcm} directories |
165 |
|
they create can be changed to a different name following the check-out: |
166 |
|
\begin{verbatim} |
167 |
|
% cvs co MITgcm_verif_basic |
168 |
|
% mv MITgcm MITgcm_verif_basic |
169 |
|
\end{verbatim} |
170 |
|
|
171 |
|
|
172 |
\paragraph*{Conventional download method} |
\subsubsection{Conventional download method} |
173 |
\label{sect:conventionalDownload} |
\label{sect:conventionalDownload} |
174 |
|
|
175 |
If you do not have CVS on your system, you can download the model as a |
If you do not have CVS on your system, you can download the model as a |
189 |
\begin{rawhtml} </A> \end{rawhtml} |
\begin{rawhtml} </A> \end{rawhtml} |
190 |
mailing list. |
mailing list. |
191 |
|
|
192 |
\paragraph*{Upgrading from an earlier version} |
\subsubsection{Upgrading from an earlier version} |
193 |
|
|
194 |
If you already have an earlier version of the code you can ``upgrade'' |
If you already have an earlier version of the code you can ``upgrade'' |
195 |
your copy instead of downloading the entire repository again. First, |
your copy instead of downloading the entire repository again. First, |