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

Contents of /manual/s_getstarted/text/testing.tex

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


Revision 1.2 - (show annotations) (download) (as text)
Thu Jan 29 18:50:45 2004 UTC (21 years, 5 months ago) by edhill
Branch: MAIN
Changes since 1.1: +37 -6 lines
File MIME type: application/x-tex
 o clean-ups

1 % $Header: /u/u3/gcmpack/manual/part3/testing.tex,v 1.1 2004/01/29 17:36:26 edhill Exp $
2 % $Name: $
3
4 \section{Testing}
5 \label{sect:testing}
6 \label{www:testing}
7
8 A script (\texttt{testreport}) for automated testing is included in
9 the model within the {\em verification} directory. While intended
10 mostly for advanced users, the script can be helpful for beginners.
11
12 \subsection{Using \texttt{testreport}}
13
14 On many systems, the program can be run with the command:
15 \begin{verbatim}
16 % cd verification
17 % ./testreport -ieee
18 \end{verbatim}
19 which will do the following:
20 \begin{enumerate}
21 \item Locate all ``valid'' test directories. Here, valid tests are
22 defined to be those directories within the current directory (which
23 is generally {\em verification}) that contain a subdirectory and
24 file with the names {\em results/output.txt}.
25
26 \item Then within each valid test:
27 \begin{enumerate}
28 \item run \texttt{genmake2} to produce a {\em Makefile}
29 \item build an executable
30 \item run the executable
31 \item compare and the output of the executable with the
32 contents of certain variables within {\em
33 TESTNAME/results/output.txt}
34 \item print and, if requested (with the
35 \texttt{-addr=EMAIL\_ADDRESS} option), send a MIME-encoded email
36 with the testing results
37 \end{enumerate}
38
39 \end{enumerate}
40
41 For further details, please see the MITgcm Developers' HOWTO at:
42 \begin{rawhtml} <A href=''http://mitgcm.org/docs.html'' target="idontexist"> \end{rawhtml}
43 \begin{verbatim}
44 http://mitgcm.org/docs.html
45 \end{verbatim}
46 \begin{rawhtml} </A> \end{rawhtml}
47
48
49 \subsection{Automated testing}
50
51 Automated testing results are produced on a regular basis and they can
52 be viewed at:
53 \begin{rawhtml} <A href=''http://mitgcm.org/testing.html'' target="idontexist"> \end{rawhtml}
54 \begin{verbatim}
55 http://mitgcm.org/testing.html
56 \end{verbatim}
57 \begin{rawhtml} </A> \end{rawhtml}
58 which also includes links to various scripts for batch job submission
59 on a variety of different machines.
60

  ViewVC Help
Powered by ViewVC 1.1.22