The Makefile (to be used with GNU make, i.e. gmake on some systems) in ePolyScat contians the following commands:
tests
directory and puts the output in the
tests/outdir.$MACH
directory in file testn.out
tests
directory and puts the output
on the standard output
tests
directory using a batch queue facility
putting the output into the tests/outdir.$MACH
directory.
tests
directory and puts the output in file
tests
directory and puts the
output in the tests/outdir.$MACH
directory
tests
directory using the batch facility
and puts the output in the tests/outdir.$MACH
directory
manual
directory
The Makefile uses machine files found in the include
subdirectory.
In particular, one must create appropriate versions of the following files:
where $MACH is the environment variable the specifies the type of machine and $COMPILER specifies which complier to use.
The libraries that are needed are OpenMPI, LAPACK, and BLAS (e.g. Goto BLAS)
Note that after running a testall command, one can check all of the tests results against the standard outputs using a bash script that is defined in the extras directory
. extras/CompDiff.sh # this defines a few shell functions
CompDiffStndAll tests/outdir.$MACH tests # compares the .out files in the first directory given with the
.ostnd files in the second directory indicated
Note that this does a comparision of certain lines of the output for numerical results. This means e.g. different dates will not be flagged as being different, which would occur if a straight diff were performmed.