[mpich-discuss] MPICH test suite in 3.1.2
Bland, Wesley B.
wbland at anl.gov
Fri Aug 1 14:58:49 CDT 2014
Hi Mike,
All of the test suite utility functions are implemented in `test/mpi/util/mtest.c` if you’re in C. The Fortran variations are generated in there as well under the fortran directory.
How they are linked however depends on your configuration. The easiest way to figure out how a particular file is compiled is to add `V=1` to your `make` line. For instance, if I’m compiling on particular test on my machine:
wbland at iBland:ft$ make V=1 barrier
depbase=`echo barrier.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
/Users/wbland/tools/bin/mpicc -DHAVE_CONFIG_H -I. -I../include -I../include -I../include -MT barrier.o -MD -MP -MF $depbase.Tpo -c -o barrier.o barrier.c &&\
mv -f $depbase.Tpo $depbase.Po
/Users/wbland/tools/bin/mpicc -o barrier barrier.o ../util/mtest.o
Your configuration will change this obviously.
Thanks,
Wesley
On Aug 1, 2014, at 2:52 PM, Michael L. Stokes <Michael.Stokes at uah.edu<mailto:Michael.Stokes at uah.edu>> wrote:
I would like to find the location in the distribution to the source code for the MTest_* prototypes referenced in the mpitest.h file. Also I'd like to know library is linked to to acces these calls.
Examples, MTest_Init( int *, char *** ), MTest_Finalize(int), etc.
Thanks
Mike
_______________________________________________
discuss mailing list discuss at mpich.org<mailto:discuss at mpich.org>
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20140801/c34ee01a/attachment.html>
More information about the discuss
mailing list