<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Mar 22, 2018 at 8:42 AM, Klaij, Christiaan <span dir="ltr"><<a href="mailto:C.Klaij@marin.nl" target="_blank">C.Klaij@marin.nl</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif">
<p></p>
<p>Matt,<br>
<br>
The problem must be earlier, because it should be using mpicc for<br>
the check, not gcc. The mpi.h is found here by the 3.7.5 config:<br></p></div></blockquote><div>Yes, I believe we took out the compiler finding stuff since the recommended way to use the compiler</div><div>wrappers is</div><div><br></div><div> --with-cc=mpicc --with-cxx=mpicxx</div><div><br></div><div>so you want to change the option.</div><div><br></div><div> Matt <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr" style="font-size:12pt;color:#000000;background-color:#ffffff;font-family:Calibri,Arial,Helvetica,sans-serif"><p>
Executing: mpicc -E -I/tmp/petsc-JIF0WC/config.<wbr>setCompilers -I/tmp/petsc-JIF0WC/config.<wbr>types -I/tmp/petsc-JIF0WC/config.<wbr>headers -I/opt/intel/compilers_and_<wbr>libraries_2017.1.132/linux/<wbr>mpi/include -I/opt/intel/compilers_and_<wbr>libraries_2017.1.132/linux/<wbr>mpi/intel64/include
/tmp/petsc-JIF0WC/config.<wbr>headers/conftest.c <br>
stdout:<br>
# 1 "/tmp/petsc-JIF0WC/config.<wbr>headers/conftest.c"<br>
# 1 "/tmp/petsc-JIF0WC/config.<wbr>headers/confdefs.h" 1<br>
# 2 "/tmp/petsc-JIF0WC/config.<wbr>headers/conftest.c" 2<br>
# 1 "/tmp/petsc-JIF0WC/config.<wbr>headers/conffix.h" 1<br>
# 3 "/tmp/petsc-JIF0WC/config.<wbr>headers/conftest.c" 2<br>
# 1 "/opt/intel/compilers_and_<wbr>libraries_2017.1.132/linux/<wbr>mpi/intel64/include/mpi.h" 1<br>
<br>
Note that the machine and ENV are exactly the same, the only<br>
change is 3.7.5 versus 3.8.3.<br>
<br>
Chris<br>
</p>
<div style="color:rgb(33,33,33)"></div>
<br>
<font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">dr. ir.</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Christiaan</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Klaij</font><font size="3" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Senior Researcher</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold"> |
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d;font-weight:bold">Research & Development</font><br>
<font style="font-family:Verdana;font-size:9pt;color:#7d7d7d;font-weight:bold">MARIN</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d"> | T
</font><font style="font-family:Verdana;font-size:8pt;color:#7d7d7d"><a href="tel:+31%20317%20493%20344" value="+31317493344" target="_blank">+31 317 49 33 44</a></font><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt"> |
</font><span style="font-family:Verdana;font-size:8pt"><a href="mailto:C.Klaij@marin.nl" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">C.Klaij@marin.nl</span></a></span><font color="#7d7d7d" size="2" face="Segoe UI"></font><font style="font-family:Verdana;font-size:8pt"> |
</font><span style="font-family:Verdana;font-size:8pt"><a href="http://www.marin.nl" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">www.marin.nl</span></a></span><br>
<br>
<a href="https://www.linkedin.com/company/marin" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image1535f1.PNG@9724048a.4ebf3a17" alt="LinkedIn"></a> <a href="http://www.youtube.com/marinmultimedia" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image69ccf8.PNG@aab43cb4.41800203" alt="YouTube"></a> <a href="https://twitter.com/MARIN_nieuws" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image61e2e2.PNG@4ceb5d40.4eb31aaf" alt="Twitter"></a> <a href="https://www.facebook.com/marin.wageningen" target="_blank"><img width="16" height="16" style="border:0px Solid" src="cid:image231a77.PNG@a17b2b0c.4ba756dc" alt="Facebook"></a><br>
<font style="FONT-FAMILY:Verdana;FONT-SIZE:8pt" color="#7d7d7d" size="2" face="Verdana">MARIN news:
<font style="font-family:Verdana;font-size:8pt"><span style="font-family:Verdana;font-size:8pt"><a href="http://www.marin.nl/web/News/News-items/Office-tool-aNySIM-integrated-into-realtime-onboard-software-1.htm" title="" style="font-family:Verdana;font-size:8pt" target="_blank"><span style="font-family:Verdana;font-size:8pt">Office
tool aNySIM integrated into real-time onboard software</span></a></span></font></font>
<p></p>
<p></p>
<div style="color:rgb(33,33,33)">
<hr style="display:inline-block;width:98%">
<div id="m_-7640698868374562165divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Matthew Knepley <<a href="mailto:knepley@gmail.com" target="_blank">knepley@gmail.com</a>><br>
<b>Sent:</b> Thursday, March 22, 2018 1:27 PM<br>
<b>To:</b> Klaij, Christiaan<br>
<b>Cc:</b> <a href="mailto:petsc-users@mcs.anl.gov" target="_blank">petsc-users@mcs.anl.gov</a><br>
<b>Subject:</b> Re: [petsc-users] problem configuring 3.8.3 with intel mpi</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On Thu, Mar 22, 2018 at 8:00 AM, Klaij, Christiaan <span dir="ltr">
<<a href="mailto:C.Klaij@marin.nl" target="_blank">C.Klaij@marin.nl</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Satish,<br>
<br>
I'm trying to upgrade from 3.7.5 to 3.8.3. The first problem is<br>
that my intel mpi installation, which works for 3.7.5, fails with<br>
3.8.3, see the attached logs. It seems that the mpi compilers are<br>
not found anymore. Any ideas?<br>
</blockquote>
<div><br>
</div>
<div>The header check failed:</div>
<div><br>
</div>
<div>
<div> Checking include with compiler flags var CPPFLAGS ['/opt/intel/compilers_and_<wbr>libraries_2017.1.132/linux/<wbr>mpi/include']</div>
<div>Executing: gcc -E -I/tmp/petsc-8GlPlN/config.<wbr>setCompilers -I/tmp/petsc-8GlPlN/config.<wbr>types -I/tmp/petsc-8GlPlN/config.<wbr>headers -I/opt/intel/compilers_and_<wbr>libraries_2017.1.132/linux/<wbr>mpi/include /tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c </div>
<div>stdout:</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c"</div>
<div># 1 "<built-in>"</div>
<div># 1 "<command-line>"</div>
<div># 1 "/usr/include/stdc-predef.h" 1 3 4</div>
<div># 1 "<command-line>" 2</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c"</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/confdefs.h" 1</div>
<div># 2 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c" 2</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/conffix.h" 1</div>
<div># 3 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c" 2</div>
<div>Possible ERROR while running preprocessor: exit code 256</div>
<div>stdout:</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c"</div>
<div># 1 "<built-in>"</div>
<div># 1 "<command-line>"</div>
<div># 1 "/usr/include/stdc-predef.h" 1 3 4</div>
<div># 1 "<command-line>" 2</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c"</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/confdefs.h" 1</div>
<div># 2 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c" 2</div>
<div># 1 "/tmp/petsc-8GlPlN/config.<wbr>headers/conffix.h" 1</div>
<div># 3 "/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c" 2stderr:</div>
<div>/tmp/petsc-8GlPlN/config.<wbr>headers/conftest.c:3:17: fatal error: mpi.h: No such file or directory</div>
<div> #include <mpi.h></div>
<div> ^</div>
<div>compilation terminated.</div>
<div>Source:</div>
<div>#include "confdefs.h"</div>
<div>#include "conffix.h"</div>
<div>#include <mpi.h></div>
<div>Preprocess stderr before filtering:/tmp/petsc-8GlPlN/<wbr>config.headers/conftest.c:3:<wbr>17: fatal error: mpi.h: No such file or directory</div>
<div> #include <mpi.h></div>
</div>
<div><br>
</div>
<div>Where are the headers?</div>
<div><br>
</div>
<div> Thanks,</div>
<div><br>
</div>
<div> Matt</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Chris<br>
<br>
<br>
dr. ir. Christiaan Klaij | Senior Researcher | Research & Development<br>
MARIN | T <a href="tel:+31%20317%20493%20344" value="+31317493344" target="_blank">+31 317 49 33 44</a> | mailto:<a href="mailto:C.Klaij@marin.nl" target="_blank">C.Klaij@marin.nl</a> |
<a href="http://www.marin.nl" rel="noreferrer" target="_blank">http://www.marin.nl</a><br>
<br>
MARIN news: <a href="http://www.marin.nl/web/News/News-items/Office-tool-aNySIM-integrated-into-realtime-onboard-software-1.htm" rel="noreferrer" target="_blank">
http://www.marin.nl/web/News/N<wbr>ews-items/Office-tool-aNySIM-i<wbr>ntegrated-into-realtime-onboar<wbr>d-software-1.htm</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div class="m_-7640698868374562165gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener</div>
<div><br>
</div>
<div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~<wbr>knepley/</a><br>
</div>
</div>
</div>
</div>
</div>
</font></span></div>
</div>
</div>
</div>
<u></u>
<p></p>
<u></u><u></u><u></u>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.caam.rice.edu/~mk51/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div>
</div></div>