Automated testing is now supported through CMake. Build Zoltan through CMake with option
Automated tests can be then run with command
make testThe testing environment uses script zoltan/test/ctest_zoltan.pl. To add new zdrive.inp files to an existing test, add the files to the appropriate directory and to the glob commands in ctest_zoltan.pl. (Follow the example of zdrive.inp.rcb in ctest_zoltan.pl.
To add new test directories, create the directories and populate them with input files. Copy file CMakeLists.txt from zoltan/test/ch_simple to the new directories, and edit the test names and numbers of processors in the new files. Also add the new directories to zoltan/test/CMakeLists.txt, following the example of ch_simple. The new tests will now be run in the CMake environment.
Results of automated nightly testing are posted to the CDASH dashboard.
The purpose of the Zoltan test script is to run the test driver zdrive (or
on a set of test problems to verify that the Zoltan library works correctly.
The script compares the output of actual runs with precomputed output.
The assumption is that if the outputs are identical, then the current implementation
is is likely to be correct.
Small differences may occur depending on the architectures used; developers
should examine the output and use their judgement in determining its correctness.
It is strongly recommended that developers
run test_zoltan to verify correctness before committing changes
to existing code!
It is required to use either the -arch or the -cmd option. The other arguments are optional.
|-arch arch-type||The architecture on which the driver is to run. For a list of currently supported architectures, type test_zoltan with no arguments.|
|-cmd command||The command is the command that the script uses to launch the driver. One must include an option to specify the number of processors as part of the command. Use quotes appropriately; for example, -cmd 'mpirun -np'. Default settings have been provided for all the supported architectures.|
|-logfile filename||The name of the log file. The default is test_zoltan.log. If an old log file exists, it will be moved to test_zoltan.log.old.|
|-no_parmetis||Do not run any ParMETIS methods.|
|-no_nemesis||Do not run test problems in Nemesis format.|
|-no_chaco||Do not run test problems in Chaco format.|
|-yes_fortran||Run the Fortran90 driver zfdrive instead of zdrive.|
The default behavior is to run
all methods on all types of input format.