<div class="gmail_quote">On Sat, Apr 23, 2011 at 18:45, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
 Is there any way ./configure can detect an inappropriate mpi.h (like /usr/include/mpi.h) in the search path and warning the user? Even something as crude as ls in those locations?</blockquote></div><br><div>I want to use that mpi.h when I configure --with-mpi-dir=/usr. It's tricky to reproduce the compiler's "system paths" so it's not clear how to portably determine which mpi.h the compiler is going to pull in.</div>