[mpich-discuss] How can one test C\C++ code which uses MPI calls: is there any set of mock functions, that I can use?
Anton Daneyko
self at mezhaka.com
Thu Jan 24 07:17:48 CST 2013
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130124/8e962e49/attachment.html>
More information about the discuss
mailing list