DLR-SC / googletest_mpi

Googletest-mpi - Extension of the Google Test library to support MPI parallel tests
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

The collective Macros all use MPI_COMM_WORLD #3

Open holke opened 3 years ago

holke commented 3 years ago

Some users may want to call the new collective macros EXPECT/ASSERT_*_MPI on a subset of COMM_WORLD and it would thus be useful to include an option for this.

Why did we not include it from the start?

Because this would alter the number of arguments of the macros and it would be tedious to allways carry the mpi communicator around.

Maybe there was another reason as well that we could not include this feature, but i cannot remember. We should nevertheless investigate this, if it becomes an issue.