#include <mpi.h>
double f() {
double timer = MPI_Wtime();
return timer;
}
What I'm looking for is some set of MPI mock functions, so I can #include <mpi_mocks.h>compile it instead of mpi.h without binding to the MPI library. It could also be something like #define MOCKthat will trigger this behavior in mpi.h.
source
share