Makefile options

The Makefile (to be used with GNU make, i.e. gmake on some systems) in ePolyScat contians the following commands:

make all
makes executables and the web manual, needs the environment variables MACH and TMPDIR to run correctly.
make tar
creates a tar file of the current version of the program, and puts it in the root ePolyScat directory
make tardist
creates a tar file of the current version of the program for distribution, and puts it in the root ePolyScat directory
make testn
runs test n that is in the tests directory and puts the output in the tests directory in file testn.out
make o=stdout testn
runs test n that is in the tests directory and puts the output on the standard output
make t=batch testn
runs test n that is in the tests directory using a batch queue facility putting the output into the tests directory.
make o=file testn
runs test n that is in the tests directory and puts the output in file
make testall
runs all of the tests in the tests directory and puts the output in the tests directory
make t=batch testall
runs all of the tests in the tests directory using the batch facility and puts the output in the tests directory
make manual
creates the web manual and puts it in the manual directory
make tarmanual
creates a tar file that contains all of the html files needed for the online manual
make mpiwrapper
makes a wrapper to set up the inp.dat file and run the correct parallel environment, the wrapper is a script with the name ePolyScat in the directory $pe/bin
make clean
removes all files created by make

The Makefile uses machine files found in the include subdirectory. In particular, one must create appropriate versions of the following files:

$MACH.mk
Makefile definitions for compiling and linking the code
$MACH.batch.com
batch script to run the test jobs
$MACH.mpiwrapper.gen
script to creat wrapper script to make the codes easier to run.

where $MACH is the environment variable the specifies the type of machine.

The libraries that are needed are OpenMPI, LAPACK, and BLAS (e.g. Goto BLAS)