active-particles / run /

Filename Size Date modified Message
1.9 KB
4.2 KB
1.6 KB
20.2 KB
The test_runner suite will run a series of tests with the current version of 
enzo.  It compares these new outputs against a set of existing "good" outputs 
(either from analytical solutions or from previous versions of enzo).  It 
returns how the current version of enzo performed on these tests.

You must specify a test destination directory outside of the enzo file 
structure where the tests will executed and tested.  You can also specify 
invididual test tags for choosing the tests to run.  By default, all the tests 
will be run.

In order to run the test_runner suite, go to the enzo/run subdirectory and 


Example: ./ -o ~/temp --AMR=True --author="John Wise"

The test tags are (with defaults first followed by alternatives):

name = ''
answer_testing_script = None  ''
nprocs = 1
runtime = 'short', 'medium', 'long'
critical = True False
cadence = 'nightly'
hydro = False, True
mhd = False, True
gravity = False, True
cosmology = False, True
chemistry = False, True
cooling = False, True
AMR = False, True
dimensionality = 1, 2, 3
author = 'John Wise'
radiation = None, 'fld', 'ray'
max_time_minutes = 1  

Additional flags are:
  -h, --help            show this help message and exit
  -c COMPARE_DIR, --compare-dir=COMPARE_DIR
                        The directory structure to compare against
  --clobber             Recopies tests and tests from scratch.
  --interleave          Option to interleave preparation, running, and
  -m MACHINE, --machine=MACHINE
                        Machine to run tests on.
  -o OUTPUT_DIR, --output-dir=OUTPUT_DIR
                        Where to place the run directory
  --repo=REPOSITORY     Path to repository being tested.
  --sim-only            Only run simulations.
  --test-only           Only perform tests.
  -v, --verbose         Slightly more verbose output.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.