|
PISM, A Parallel Ice Sheet Model stable 0.4.1779
|
A script for verification of numerical schemes in PISM. More...
Classes | |
| class | PISMVerificationTest |
| A class describing a refinement path and command-line options for a particular PISM verification test. More... | |
Functions | |
| def | run_test |
| def | define_refinement_paths |
Variables | |
| int | KSPRTOL = 1 |
| get options; see --help msg for meaning default settings | |
| int | SSARTOL = 5 |
| int | nproc = 2 |
| int | levels = 2 |
| default; will not use 'mpiexec' if equal to one | |
| string | mpi = "mpiexec -np" |
| string | prefix = "" |
| string | test_names = "CGIJ" |
| list | userman_tests = ["B_userman", "G_userman", "K_userman", "I_userman"] |
| string | extra_options = "-verbose 1" |
| do_userman = False | |
| debug = False | |
| string | predo = "%s %d " |
| exec_prefix = predo+prefix | |
| tuple | tests = define_refinement_paths(KSPRTOL, SSARTOL) |
| tuple | N = len(tests[test].Mx) |
A script for verification of numerical schemes in PISM.
It specifies a refinement path for each of Tests ABCDEFGIJKL and runs pismv accordingly. Copyright (C) 2007--2011 Ed Bueler and Constantine Khroulev
Organizes the process of verifying PISM. It specifies standard refinement paths for each of the tests described in the user manual. It runs the tests, times them, and summarizes the numerical errors reported at the end.
Examples:
vfnow.py
vfnow.py -n 2 -l 2 -t CGIJ
vfnow.py -n 8 -l 5 -t J --prefix=bin/ --mpido='aprun -n'
aprun -n 8 bin/pismv
vfnow.py -n 2 -l 3 -t CEIJGKLO
vfnow.py -n 40 -l 5 -t ABCDEFGIJKLO
vfnow.py; don't run this unless you have a big computer and you are prepared to wait. For a list of options do test/vfnow.py --help
vfnow.py output so performance, including parallel performance, can be assessed along with accuracy. | def vfnow::run_test | ( | executable, | |
| name, | |||
| level, | |||
extra_options = "", |
|||
debug = False |
|||
| ) |
| do_userman = False |
| string extra_options = "-verbose 1" |
| int KSPRTOL = 1 |
| tuple levels = 2 |
Definition at line 368 of file vfnow.py.
Referenced by PISMDefaultYieldStress::basal_material_yield_stress(), IceModel::calculateRedistResiduals(), IceModel::check_maximum_thickness(), IceModel::eigenCalving(), exactL_list(), geo_x(), geo_y(), geo_z(), IceModel::get_average_thickness(), getU(), IceModel::init_diagnostics(), main(), PAdTforcing::temp_time_series(), PAYearlyCycle::temp_time_series(), PALapseRates::temp_time_series(), PAForcing::temp_time_series(), and PAConstant::temp_time_series().
| tuple test_names = "CGIJ" |
| list userman_tests = ["B_userman", "G_userman", "K_userman", "I_userman"] |
1.7.3