How can one test C\C++ code which uses MPI calls: is there any set of mock functions, that I can use?
24 Jan
2013
24 Jan
'13
7:17 a.m.
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.
4926
Age (days ago)
4926
Last active (days ago)
0 comments
1 participants
participants (1)
-
Anton Daneyko