<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Could you try with the latest git repo? We just merged this PR <a href="https://github.com/pmodels/mpich/pull/5722" id="LPlnkOWALinkPreview">
https://github.com/pmodels/mpich/pull/5722</a> to fix this issue.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
FYI, we have changed the way we configure test suite. In the main branch, test suite, i.e.
<code>test/mpi</code>​, is now configured independently from the mpich configure. To run test suite, after build and installing mpich, go to
<code>test/mpi</code>​, run</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
     ./autogen.sh</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
     ./configure</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
     make testing</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
We added rule in the mpich Makefile so <code>make testing</code>​ will do above as a convenience. But if you encounter issues or need customized test configuration, try configure test/mpi separately.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-- <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hui Zhou<br>
</div>
<div class="_Entity _EType_OWALinkPreview _EId_OWALinkPreview _EReadonly_1">
<div id="LPBorder_GTaHR0cHM6Ly9naXRodWIuY29tL3Btb2RlbHMvbXBpY2gvcHVsbC81NzIy" class="LPBorder772189" style="width: 100%; margin-top: 16px; margin-bottom: 16px; position: relative; max-width: 800px; min-width: 424px;">
<table id="LPContainer772189" role="presentation" style="padding: 12px 36px 12px 12px; width: 100%; border-width: 1px; border-style: solid; border-color: rgb(200, 200, 200); border-radius: 2px;">
<tbody>
<tr style="border-spacing: 0px;" valign="top">
<td>
<div id="LPImageContainer772189" style="position: relative; margin-right: 12px; height: 120px; overflow: hidden; width: 240px;">
<a target="_blank" id="LPImageAnchor772189" href="https://github.com/pmodels/mpich/pull/5722"><img id="LPThumbnailImageId772189" alt="" style="display: block;" width="240" height="120" src="https://opengraph.githubassets.com/30d95a98b05bdcdc5c065f2271e7272120785210f8cf33aa46c1a0dd0f55f901/pmodels/mpich/pull/5722"></a></div>
</td>
<td style="width: 100%;">
<div id="LPTitle772189" style="font-size: 21px; font-weight: 300; margin-right: 8px; font-family: "wf_segoe-ui_light", "Segoe UI Light", "Segoe WP Light", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px;">
<a target="_blank" id="LPUrlAnchor772189" href="https://github.com/pmodels/mpich/pull/5722" style="text-decoration: none; color: var(--themePrimary);">test/config: minor fixes by raffenet · Pull Request #5722 · pmodels/mpich</a></div>
<div id="LPDescription772189" style="font-size: 14px; max-height: 100px; color: rgb(102, 102, 102); font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif; margin-bottom: 12px; margin-right: 8px; overflow: hidden;">
Pull Request Description Improve configure output Fix dtpools build issue Author Checklist Provide Description Particularly focus on why, not what. Reference background, issues, test failures, ...</div>
<div id="LPMetadata772189" style="font-size: 14px; font-weight: 400; color: rgb(166, 166, 166); font-family: "wf_segoe-ui_normal", "Segoe UI", "Segoe WP", Tahoma, Arial, sans-serif;">
github.com</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Gregor Corbin via discuss <discuss@mpich.org><br>
<b>Sent:</b> Thursday, December 16, 2021 11:48 AM<br>
<b>To:</b> discuss@mpich.org <discuss@mpich.org><br>
<b>Cc:</b> Gregor Corbin <g.corbin@fz-juelich.de><br>
<b>Subject:</b> [mpich-discuss] make testing fails when building from git(main)</font>
<div> </div>
</div>
<div>
<p>Dear MPICH devs,</p>
<p>I want to use the MPI test suite provided with MPICH to test an MPI wrapper library I am developing (the MPI wrapper for Score-P).
<br>
</p>
<p>As a first step, I tried to check out the latest version from git, build everything and then run the test suite with `make testing`. I can build MPICH itself without a problem and the example cpi program runs just fine. However, during `make testing` I run
 into lots of errors of the form</p>
<blockquote>
<p>In file included from dtpools.c:6:<br>
../include/dtpools_internal.h:12:10: fatal error: mpi.h: No such file or directory<br>
   12 | #include "mpi.h"<br>
      |          ^~~~~~~<br>
compilation terminated.</p>
</blockquote>
<p><br>
</p>
<p>This happens only with the git version, not with the tarball version(mpich-4.0b1). 
<br>
</p>
<p>I attached all the program outputs and log files. Any help is appreciated.</p>
<p><br>
</p>
<p>As I workaround I first built MPICH itself, then did './configure CC=mpicc ...', in the test/mpi directory and then directly use the runtests script. This works for now, but is surely not how it was intended.
<br>
</p>
<p>Kind regards,</p>
<p>Gregor Corbin</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
</div>
</body>
</html>