<div dir="ltr"><div>We had exactly the same issue when upgraded compilers.  I guess this is somehow related to gfortran.  A simple way to work around for us is to change<i> if with_rpath</i>: to <i> if False </i>at line 54 of config/BuildSystem/config/libraries.py. <br><br></div><div>Not sure if it works for you.<br><br></div><div>Fande,<br></div><div><br></div><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 30, 2017 at 10:14 AM, Manav Bhatia <span dir="ltr"><<a href="mailto:bhatiamanav@gmail.com" target="_blank">bhatiamanav@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi, <div><br></div><div>  I am trying to install pets 3.8 on a new MacBook machine with OS 10.13. I have installed openmpi from macports and I am getting this error on configuration. Attached is also the configure.log file. </div><div><br></div><div>  I am not sure how to proceed with this. Any advice will be greatly appreciated!</div><div><br></div><div>Regards,</div><div>Manav</div><div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:10px;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">==============================<wbr>==============================<wbr>===================</span></div><div style="margin:0px;font-stretch:normal;font-size:10px;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">             Configuring PETSc to compile on your system                       </span></div><div style="margin:0px;font-stretch:normal;font-size:10px;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">==============================<wbr>==============================<wbr>===================</span></div><div style="margin:0px;font-stretch:normal;font-size:10px;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">==============================<wbr>==============================<wbr>===================                                                                                                                                                            ***** WARNING: Using default optimization C flags -g -O3                                                                                                                                                                             You might consider manually setting optimal optimization flags for your system with                                                                                                                                                   COPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples                                                                                                                                                 ==============================<wbr>==============================<wbr>===================                                                                                                                                                      ==============================<wbr>==============================<wbr>===================                                                                                                                                                            ***** WARNING: Using default C++ optimization flags -g -O3                                                                                                                                                                           You might consider manually setting optimal optimization flags for your system with                                                                                                                                                   CXXOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples                                                                                                                                               ==============================<wbr>==============================<wbr>===================                                                                                                                                                      ==============================<wbr>==============================<wbr>===================                                                                                                                                                            ***** WARNING: Using default FORTRAN optimization flags -g -O                                                                                                                                                                        You might consider manually setting optimal optimization flags for your system with                                                                                                                                                   FOPTFLAGS="optimization flags" see config/examples/arch-*-opt.py for examples                                                                                                                                                 ==============================<wbr>==============================<wbr>===================                                                                                                                                                      ==============================<wbr>==============================<wbr>===================                                                                                                                                                                      WARNING! Compiling PETSc with no debugging, this should                                                                                                                                                                                    only be done for timing and production runs. All development should                                                                                                                                                                  be done when configured using --with-debugging=1                                                                                                                                                               ==============================<wbr>==============================<wbr>===================                                                                                                                                                      TESTING: checkCLibraries from config.compilers(config/<wbr>BuildSystem/config/compilers.<wbr>py:171)                                                                                                                                           ******************************<wbr>******************************<wbr>*******************</span></div><div style="margin:0px;font-stretch:normal;font-size:10px;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></div><div style="margin:0px;font-stretch:normal;font-size:10px;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">------------------------------<wbr>------------------------------<wbr>-------------------</span></div><div style="margin:0px;font-stretch:normal;font-size:10px;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 libraries cannot directly be used from Fortran</span></div><div style="margin:0px;font-stretch:normal;font-size:10px;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">******************************<wbr>******************************<wbr>*******************</span></div></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div>
</div></div><br><div style="word-wrap:break-word;line-break:after-white-space"><div></div></div><br></blockquote></div><br></div>