next up previous
Next: Running a test problem Up: Examples of Running athena1.0 Previous: Examples of Running athena1.0

The athena1.0 Benchmark

To test the installation of athena1.0 a benchmark can be automatically run using the Makefile. This benchmark consists of running the Brio & Wu shocktube problem on a grid of 800 zones to a time of 0.1, and then computing the L1 error norm between the resulting solution and a precomputed result (stored in the file athena1.0/tst/1D-mhd/test.Brio_Wu.040.tab). If the benchmark fails to run, or if the resulting error norm is large, then something has gone wrong in the installation or in the compilation of the code.

To run the benchmark, athena1.0 must be configured with the default settings. The steps required are given below, including the output when the code is run on a 2.2GHz Athlon processor.

% cd athena1.0
% configure
% make all check
(cd tst/1D-mhd; ./run.brio+wu)
zone-cycles/cpu-second = 1.366816e+05
L1 norm for density: 0
The benchmark not only provides a test of the installation of athena1.0, but also is a convenient way to test how various compilers and compiler options affect the performance and accuracy of the code on a variety of machines.


next up previous
Next: Running a test problem Up: Examples of Running athena1.0 Previous: Examples of Running athena1.0
2003-03-05