I found this with a Google search. http://people.sc.fsu.edu/~jburkardt/classes/acs2_2008/mpi/mpi_stubs/mpi_stub... On Jan 24, 2013, at 7:17 AM, Anton Daneyko wrote:
Here's an example: #include <mpi.h> double f() {
double timer = MPI_Wtime();
return timer; } What I am searching for is some set of mock MPI functions, so I can #include <mpi_mocks.h> instead of mpi.h and get it compiled without linking to MPI library. It could also be something like #define MOCK which will trigger this behavior in mpi.h. It feels, like I've stumbled on something like this, but I cannot find it right now.
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss