<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Mike,
<div><br>
</div>
<div>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.</div>
<div><br>
</div>
<div>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:</div>
<div><br>
</div>
<div><font face="Menlo">wbland@iBland:ft$ make V=1 barrier<br>
depbase=`echo barrier.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\<br>
<span class="Apple-tab-span" style="white-space: pre;"></span>/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 &&\<br>
<span class="Apple-tab-span" style="white-space: pre;"></span>mv -f $depbase.Tpo $depbase.Po<br>
/Users/wbland/tools/bin/mpicc -o barrier barrier.o ../util/mtest.o</font></div>
<div><br>
Your configuration will change this obviously.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Wesley<br>
<br>
<blockquote type="cite">On Aug 1, 2014, at 2:52 PM, Michael L. Stokes <<a href="mailto:Michael.Stokes@uah.edu">Michael.Stokes@uah.edu</a>> wrote:<br>
<br>
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.<br>
<br>
Examples, MTest_Init( int *, char *** ), MTest_Finalize(int), etc.<br>
<br>
Thanks<br>
Mike<br>
_______________________________________________<br>
discuss mailing list <a href="mailto:discuss@mpich.org">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</blockquote>
<br>
</div>
</body>
</html>