1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125
|
Flexpath Testing
================
Possible Test Setups
--------------------
1. Program which directly calls adios_flexpath functions and checks returns.
2. Program which forks readers and writers, which dump to file and checks file contents.
Existing Directories
--------------------
* global_range_select - runs tests using the global range selectors. Current tests are listed below:
- 1 to 1 all to all
* scalar - read/write a scalar with (XML API)
* 1D_arr_global - read/write a 1D array of doubles (XML API)
* 1D_arr_global_noxml - read/write a 1D array of doubles but no XML API (analogous
to 1D_arr_global)
* maya_noxml - inspired by maya; same variables written multiple times (doesn't work with Flexpath)
How to build and clean the build
--------------------------------
# build
$ make
# clean
$ make clean
How to run regression tests (might be outdated 2013-09-04)
----------------------------
# be sure that appropriate paths for openmpi, mxml, and evpath are
# set appropriately
module list
Currently Loaded Modules:
1) openmpi/1.6.3 2) mxml/2.7 3) evpath
There is a convenience bash script
./run_tests.sh
Run it without options to see how to run all tests.
# to run test
# in one terminal run writers
./run_tests.sh -flx-w
# in the second terminal run readers
./run_tests.sh -flx-r
Notes
------
There are directories that are used to most of the tests (2013-09-04)
include
common
If you want to copy the individual regression test, then
copy the include and common directory and the test directory as well.
Recent tests
------------
MPI transport (2013-09-04) - my laptop
TEST_PASSED scalar: rank 0
TEST_PASSED scalar: rank 1
TEST_PASSED 1D_arr_global: rank 0
TEST_PASSED 1D_arr_global: rank 1
TEST_PASSED 1D_arr_global_noxml: rank 0
TEST_PASSED 1D_arr_global_noxml: rank 1
TEST_PASSED maya_noxml: rank 0
FLEXPATH transport (2013-09-04) - my laptop
TEST_PASSED scalar: rank 0
TEST_PASSED scalar: rank 1
TEST_PASSED 1D_arr_global: rank 0
TEST_PASSED 1D_arr_global: rank 1
TEST_PASSED 1D_arr_global_noxml: rank 0
TEST_PASSED 1D_arr_global_noxml: rank 1
maya_noxml tests failed
Some tests produced message
1D_arr_global_noxml
mpirun -np 2 ./writer -t flx
Rank=1 adios_group_size(): adios_groupsize=100, adios_totalsize=558, retval=0
Rank=1 committed write
Rank=0 adios_group_size(): adios_groupsize=100, adios_totalsize=558, retval=0
Rank=0 committed write
No event handler with takeable buffer executing on this CM.
No event handler with takeable buffer executing on this CM.
Event 2ad30c000b60 not found in taken events list
Event 2b3260000b60 not found in taken events list
No event handler with takeable buffer executing on this CM.
No event handler with takeable buffer executing on this CM.
Event 2b3260001b90 not found in taken events list
Event 2ad30c001b90 not found in taken events list
No event handler with takeable buffer executing on this CM.
No event handler with takeable buffer executing on this CM.
No event handler with takeable buffer executing on this CM.
Event 2ad30c03f200 not found in taken events list
No event handler with takeable buffer executing on this CM.
Event 2b326003f200 not found in taken events list
No event handler with takeable buffer executing on this CM.
Event 2ad30c03fad0 not found in taken events list
No event handler with takeable buffer executing on this CM.
Event 2b326003fad0 not found in taken events list
make[1]: Leaving directory `/rock/synchrobox/proj/w-ecl/2013-06-17-adios/tests/C/flexpath_tests/1D_arr_global_noxml'
1D_arr_global_noxml'
mpirun -np 2 ./reader -t flx
DEBUG: DEBUG: matched overlap type 1
matched overlap type 1
TEST_PASSED 1D_arr_global_noxml: rank 1
TEST_PASSED 1D_arr_global_noxml: rank 0
DEBUG: adios_read_finalize_method completed
DEBUG: adios_read_finalize_method completed
make[1]: Leaving directory `/rock/synchrobox/proj/w-ecl/2013-06-17-adios/tests/C/flexpath_tests/1D_arr_global_noxml'
|