| 96 |
\begin{verbatim} |
\begin{verbatim} |
| 97 |
% export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
% export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 98 |
\end{verbatim} |
\end{verbatim} |
| 99 |
in your .profile or .bashrc file. |
in your \texttt{.profile} or \texttt{.bashrc} file. |
| 100 |
|
|
| 101 |
|
|
| 102 |
To get MITgcm through CVS, first register with the MITgcm CVS server |
To get MITgcm through CVS, first register with the MITgcm CVS server |
| 772 |
the user's path. When these three items have been identified, |
the user's path. When these three items have been identified, |
| 773 |
genmake2 will try to find an optfile that has a matching name. |
genmake2 will try to find an optfile that has a matching name. |
| 774 |
|
|
| 775 |
|
\item[\texttt{--pdefault='PKG1 PKG2 PKG3 ...'}] specifies the default |
| 776 |
|
set of packages to be used. The normal order of precedence for |
| 777 |
|
packages is as follows: |
| 778 |
|
\begin{enumerate} |
| 779 |
|
\item If available, the command line (\texttt{--pdefault}) settings |
| 780 |
|
over-rule any others. |
| 781 |
|
|
| 782 |
|
\item Next, \texttt{genmake2} will look for a file named |
| 783 |
|
``\texttt{packages.conf}'' in the local directory or in any of the |
| 784 |
|
directories specified with the \texttt{--mods} option. |
| 785 |
|
|
| 786 |
|
\item Finally, if neither of the above are available, |
| 787 |
|
\texttt{genmake2} will use the \texttt{/pkg/pkg\_default} file. |
| 788 |
|
\end{enumerate} |
| 789 |
|
|
| 790 |
\item[\texttt{--pdepend=/PATH/FILENAME}] specifies the dependency file |
\item[\texttt{--pdepend=/PATH/FILENAME}] specifies the dependency file |
| 791 |
used for packages. |
used for packages. |
| 792 |
|
|
| 799 |
assumed that the two packages are compatible and will function |
assumed that the two packages are compatible and will function |
| 800 |
either with or without each other. |
either with or without each other. |
| 801 |
|
|
|
\item[\texttt{--pdefault='PKG1 PKG2 PKG3 ...'}] specifies the default |
|
|
set of packages to be used. |
|
|
|
|
|
If not set, the default package list will be read from {\em |
|
|
pkg/pkg\_default} |
|
|
|
|
| 802 |
\item[\texttt{--adof=/path/to/file}] specifies the "adjoint" or |
\item[\texttt{--adof=/path/to/file}] specifies the "adjoint" or |
| 803 |
automatic differentiation options file to be used. The file is |
automatic differentiation options file to be used. The file is |
| 804 |
analogous to the ``optfile'' defined above but it specifies |
analogous to the ``optfile'' defined above but it specifies |
| 833 |
provided by commercial Unix vendors, GNU \texttt{make} (sometimes |
provided by commercial Unix vendors, GNU \texttt{make} (sometimes |
| 834 |
called \texttt{gmake}) should be preferred. This option provides a |
called \texttt{gmake}) should be preferred. This option provides a |
| 835 |
means for specifying the make executable to be used. |
means for specifying the make executable to be used. |
| 836 |
|
|
| 837 |
|
\item[\texttt{--bash=/path/to/sh}] On some (usually older UNIX) |
| 838 |
|
machines, the ``bash'' shell is unavailable. To run on these |
| 839 |
|
systems, \texttt{genmake2} can be invoked using an ``sh'' (that is, |
| 840 |
|
a Bourne, POSIX, or compatible) shell. The syntax in these |
| 841 |
|
circumstances is: |
| 842 |
|
\begin{center} |
| 843 |
|
\texttt{/bin/sh genmake2 -bash=/bin/sh [...options...]} |
| 844 |
|
\end{center} |
| 845 |
|
where \texttt{/bin/sh} can be replaced with the full path and name |
| 846 |
|
of the desired shell. |
| 847 |
|
|
| 848 |
\end{description} |
\end{description} |
| 849 |
|
|