1 |
% $Header$ |
% $Header$ |
2 |
% $Name$ |
% $Name$ |
3 |
|
|
4 |
|
\section{Getting started} |
|
\begin{center} |
|
|
{\Large \textbf{Using the model}} |
|
|
|
|
|
\vspace*{4mm} |
|
|
|
|
|
\vspace*{3mm} {\large July 2001} |
|
|
\end{center} |
|
5 |
|
|
6 |
In this part, we describe how to use the model. In the first section, we |
In this part, we describe how to use the model. In the first section, we |
7 |
provide enough information to help you get started with the model. We |
provide enough information to help you get started with the model. We |
14 |
the code when you are ready to try implementing the configuration you have |
the code when you are ready to try implementing the configuration you have |
15 |
in mind. |
in mind. |
16 |
|
|
|
\section{Getting started} |
|
|
|
|
17 |
\subsection{Obtaining the code} |
\subsection{Obtaining the code} |
18 |
|
|
19 |
The reference web site for the model is: |
The reference web site for the model is: |
34 |
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 |
35 |
download a tar file. |
download a tar file. |
36 |
|
|
37 |
\subsubsection{using CVS} |
\subsubsection{Using CVS} |
38 |
|
|
39 |
Before you can use CVS, the following environment variable has to be set in |
Before you can use CVS, the following environment variable has to be set in |
40 |
your .cshrc or .tcshrc: |
your .cshrc or .tcshrc: |
43 |
% cvs login ( CVS password: cvsanon ) |
% cvs login ( CVS password: cvsanon ) |
44 |
\end{verbatim} |
\end{verbatim} |
45 |
|
|
46 |
You only need to do ``cvs login'' once. To obtain the latest source: |
You only need to do ``cvs login'' once. To obtain the source for the release: |
47 |
\begin{verbatim} |
\begin{verbatim} |
48 |
% cvs co -d directory models/MITgcmUV |
% cvs co -d directory -P -r release1 MITgcmUV |
49 |
\end{verbatim} |
\end{verbatim} |
50 |
|
|
51 |
This creates a directory called \textit{directory}. If \textit{directory} |
This creates a directory called \textit{directory}. If \textit{directory} |
53 |
directory in the source tree contains a directory \textit{CVS}. This |
directory in the source tree contains a directory \textit{CVS}. This |
54 |
information is required by CVS to keep track of your file versions with |
information is required by CVS to keep track of your file versions with |
55 |
respect to the repository. Don't edit the files in \textit{CVS}! To obtain a |
respect to the repository. Don't edit the files in \textit{CVS}! To obtain a |
56 |
specific \textit{version} that is not the latest source: |
different \textit{version} that is not the latest source: |
57 |
|
\begin{verbatim} |
58 |
|
% cvs co -d directory -P -r version MITgcm |
59 |
|
\end{verbatim} |
60 |
|
or the latest development version: |
61 |
\begin{verbatim} |
\begin{verbatim} |
62 |
% cvs co -d directory -r version models/MITgcmUV |
% cvs co -d directory -P MITgcm |
63 |
\end{verbatim} |
\end{verbatim} |
64 |
|
|
65 |
\subsubsection{other methods} |
\subsubsection{other methods} |