Dear MPICH devs,

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).

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

In file included from dtpools.c:6:
../include/dtpools_internal.h:12:10: fatal error: mpi.h: No such file or directory
   12 | #include "mpi.h"
      |          ^~~~~~~
compilation terminated.


This happens only with the git version, not with the tarball version(mpich-4.0b1). 

I attached all the program outputs and log files. Any help is appreciated.


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.

Kind regards,

Gregor Corbin