USAGE (csh stil):

 setenv OPTIONS <compileroptions> 
 ./build [<PADDING1> <PADDING2>]
 ./bench [<PADDING1> <PADDING2>] >& bench.prot
 awk -f filter.awk bench.prot > bench.result
 cat bench.result



build:

 Generates exectuables for the benchmark out of
 the fortran source code files rb{1,2,3,4,5,6,7,8,9}.F
 You must set the environment variable OPTIONS so that
 the compiler is used with the proper optimization
 options. You can specify two constant which are used to
 add small paddings in the Arrays. If no parameters are
 specified no array padding is used.

 On some machines you have to increase the stacksize
 limit in order to be able to execute the programs with
 a grid size of 2049x2049.

 -> setenv OPTIONS <options> (csh usage)

 Possible options:

  Digital Alpha 21164:
    -extend_source -fast -notransform_loops -O5 -tune host

  SGI 8K:
   -Ofast=ip26 -OPT:alias=restrict -i8

  SGI 10K:
   -Ofast=ip27 -OPT:alias=restrict

  SUN (Solaris):

   -fast -xO5 -native -xdepend -xsafe=mem

  Intel (Linux,g77):

   -O3 -fomit-frame-pointer -ffast-math

  HP:

   +O3

bench:

 Executes all programs and measures run time. Results are
 printed to stdout and stderr. Execute "build" before executing
 "bench". The environment variable TIMEPRG can be set to
 override the default time command "/usr/bin/time".

 -> setenv TIMEPRG <time-command>

rb{1,2,3,4,5,6,7,8,9}.F:

 Several variants of the red-black Gauss-Seidel method for
 a 5-point discretisation solving laplace equation.

filter.awk:

 Awk script which can be used to filter the output of the "bench"
 script. The script is writen for an output produced by the
 "/usr/bin/time" command. If another command is used some
 changes may be necessary. The output specifies the filename of
 each executed programm and the achieved MFlops.

 -> awk -f filter.awk bench.prot
