<div dir="ltr"><div dir="ltr"><div dir="ltr">Hi Folks,<div><br></div><div>I upgraded GCC (GCC-5 to GCC-7) on Ubuntu following the first suggestion given here:</div><div><a href="https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91">https://gist.github.com/application2000/73fd6f4bf1be6600a2cf9f56315a2d91</a></div><div><br></div><div>I then removed system mpich (which was using GCC-5) and reinstalled it using Ubuntu package manager. However, now I am getting the following configure error with PETSc</div><div><br></div><p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">===============================================================================</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">TESTING: CxxMPICheck from config.packages.MPI(config/BuildSystem/config/packages/MPI.py:381)                                                                                         *******************************************************************************</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">-------------------------------------------------------------------------------</span></p>
<p style="margin:0px;font-stretch:normal;font-size:15px;line-height:normal;font-family:Monaco;color:rgb(244,244,244);background-color:rgba(0,0,0,0.85098)"><span style="font-variant-ligatures:no-common-ligatures">C++ error! mpi.h could not be located at: []</span></p>
<div><span style="color:rgb(244,244,244);font-family:Monaco;font-size:15px;background-color:rgba(0,0,0,0.85098)">*******************************************************************************</span> <br clear="all"><div><br></div><div><br></div><div>I am attaching the configure.log as well. Any hints on what I should be doing?</div><div><br></div><div>Thanks, </div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>--Amneet <br><br></div><div><br></div><div><br></div></div></div></div></div></div></div>