Closed Nanoseb closed 6 months ago
I had to use --oversubscribe
because the CI runner doesn't seem to have more than 1 core. Though it shouldn't matter for the logic of the tests themselves.
Can we specify number of ranks we want to test with somehow when building with a command line option? Or do we have to edit the relevant line in the CMakeLists.txt
?
Can we specify number of ranks we want to test with somehow when building with a command line option? Or do we have to edit the relevant line in the
CMakeLists.txt
?
Yes, you don't have to edit the CMakeLists.txt
file. It is set to 4
by default, but is accessible via the CMAKE_CTEST_NPROCS
variable so cmake -DCMAKE_CTEST_NPROCS=42 ...
will work too. Or editing it later on via ccmake
.
closes #20