--- MITgcm/doc/devel_HOWTO.sgml 2010/05/28 01:47:32 1.14
+++ MITgcm/doc/devel_HOWTO.sgml 2011/03/01 01:33:19 1.15
@@ -1,6 +1,6 @@
@@ -699,7 +699,7 @@
The Verification Suite
The MITgcm CVS tree (within the $ROOTDIR/verification/>
- directory) includes more than a dozen examples intended for regression
+ directory) includes many (> 90) examples intended for regression
testing. Each one of these example directories contains "known-good"
output files along with all the input (including both code and data
files) required for their re-calculation. These example directories are
@@ -711,7 +711,7 @@
The testreport> Utility
Also included in $ROOTDIR/verification/> are shell
- scripts for automated testing. The newest script (which was written
+ scripts for automated testing. The script (which was written
to work with genmake2>) is called testreport>.
This script can be used to build different versions of the MITgcm
code, run the various examples, compare the output, and (if specified)
@@ -723,15 +723,15 @@
$ cd verification
- $ ./testreport -ieee
+ $ ./testreport
However, some systems (those lacking or wiht a broken "/bin/sh")
may require an explicit shell invocation such as:
- $ sh ./testreport -ieee -t 'exp0 exp4'
- $ /some/path/to/bash ./testreport -ieee -t 'ideal_2D_oce lab_sea natl_box'
+ $ sh ./testreport -t 'exp2 exp4'
+ $ /some/path/to/bash ./testreport -t 'ideal_2D_oce lab_sea natl_box'
The testreport> script accepts a number of
@@ -741,11 +741,24 @@
- -ieee>
+ -ieee> (default) / -noieee>
If allowed by the compiler (as defined in the "optfile"),
- use IEEE arithmetic. This option, along with the GCC compiler,
- is how the standard results were produced.
+ use IEEE arithmetic (genmake2 -ieee>).
+ This option, along with the gfortran / gcc compiler,
+ is how the standard results are produced.
+
+
+
+
+ -optfile=/PATH/FILENAME>
+ -optfile '/PATH/F1 [/PATH/F2 ...]'>
+
+ This specifies a list of "options files" that will be passed
+ to genmake2>. If multiple options files are used
+ (say, to test different compilers or different sets of options
+ for the same compiler), then each options file will be used with
+ each of the test directories.
@@ -756,7 +769,7 @@
This option specifies the test directory or list of test
directories that should be used. Each of these entries should
exactly (note: they are case sensitive!) match the names of
- directries in $ROOTDIR/verification/>. If this
+ directories in $ROOTDIR/verification/>. If this
option is omitted, then all directories that are properly
formatted (that is, containing an input>
sub-directory and a results/output.txt> file) will
@@ -765,18 +778,6 @@
- -optfile=/PATH/FILENAME>
- -optfile '/PATH/F1 [/PATH/F2 ...]'>
-
- This specifies a list of "options files" that will be passed
- to genmake2>. If multiple options files are used
- (say, to test different compilers or different sets of options
- for the same compiler), then each options file will be used with
- each of the test directories.
-
-
-
-
-addr EMAIL>
-addr 'EMAIL1 EMAIL2 [...]'>
@@ -790,29 +791,36 @@
+ -MPI NUMBER_OF_PROCS>
-mpi>
- If the necessary files
- (TESTDIR/code/CPP_EEOPTIONS.h_mpi> and
- TESTDIR/code/SIZE.h_mpi>) exist, then use them for an
- MPI--enabled run. Note that the use of MPI typically requires a
+ If the necessary file (TESTDIR/code/SIZE.h_mpi>)
+ exists, then use it (and all TESTDIR/code/*_mpi> files)
+ for an MPI--enabled run. The new option (-MPI> followed
+ by the maximum number of processors) enable to build and run each
+ test-experiment using variable number of MPI processors (multiple
+ of nPx*nPy> from TESTDIR/code/SIZE.h_mpi>
+ and not larger than NUMBER_OF_PROCS>).
+ The short option ("-mpi") can only be used to build and run on 2 MPI
+ processors (equivalent to "-MPI 2>").
+ Note that the use of MPI typically requires a
special command option (see "-command" below) to invoke the MPI
- executable. Examples of PBS scripts using MPI with testreport can be
+ executable. Examples of PBS scripts using testreport with MPI can be
found in the
- MITgcm-contrib area
+ url="http://mitgcm.org/viewvc/MITgcm/MITgcm/tools/example_scripts/">
+ tools/example_scripts directory.
-command='some command to run'>
- For some tests, particularly MPI runs, the default "make
- output.txt" is not sufficient. This option allows a more general
+ For some tests, particularly MPI runs, a specific command
+ might be needed to run the executable. This option allows a more general
command (or shell script) to be invoked. Examples of PBS scripts
- using MPI with testreport can be found in the
- MITgcm-contrib area
+ using testreport with MPI can be found in the
+ tools/example_scripts directory.