Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
SMPI: add utility to keep the order of collective calls performed by each process...
authorAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 20 Mar 2022 20:40:34 +0000 (21:40 +0100)
committerAugustin Degomme <adegomme@users.noreply.github.com>
Sun, 20 Mar 2022 20:40:34 +0000 (21:40 +0100)
commit74208c99e01890f3da51863d290d577392f9bce5
tree094f0b3de1320d0b84846f00b9518a30ed401173
parent33a2dd5a405effecfbc7a26d7a84664902a2432a
SMPI: add utility to keep the order of collective calls performed by each process MPI and validate that all processes do the same.
It's not activated by default, and needs --cfg=smpi/pedantic:true option, as it may store too much data in memory for now
For each comm we maintain a vector of encountered collective calls
Each process stores the amount of calls performed in each communicator
At each new one we compare the amount of calls to the size of the corresponding vector
if we are the first process, add the call to the list
if not, compare its name to the one at the corresponding place in the vector, and cry for help if it's not the same.
Kudos mquinson and MBI for the idea.
src/smpi/include/smpi_comm.hpp
src/smpi/include/smpi_utils.hpp
src/smpi/internals/smpi_utils.cpp
src/smpi/mpi/smpi_comm.cpp