PetaVision / OpenPV

PetaVision is a C++ library for designing and deploying large-scale neurally-inspired computational models.
http://petavision.github.io
Eclipse Public License 1.0
40 stars 13 forks source link

Flag for whether to run MPIBlock-based system tests #287

Closed peteschultz closed 5 years ago

peteschultz commented 5 years ago

This pull request adds a Boolean cmake variable, PV_SYSTEM_TEST_MPIBLOCK. This flag turns on or off the following tests:

These tests use the MPIBlock capabilities and by their nature use a large number of parallel processes, indicated in parentheses in the list above. On a small system with a small number of cores, there is no advantage to using the MPIBlock capabilites. It may take effort to set a configuration to run this many processes in parallel without error, for no benefit other than successfully running tests for capabilities that won't get used. For such systems it would be advantageous to turn the PV_SYSTEM_TEST_MPIBLOCK flag off.

The flag defaults to ON.