[petsc-users] configuration error

Manav Bhatia bhatiamanav at gmail.com
Mon Oct 30 11:43:12 CDT 2017


Fande, 

  I made the change you recommended and it seems to have moved past that stage in the configuration.

  Thanks for your help!

Regards,
Manav


> On Oct 30, 2017, at 11:36 AM, Kong, Fande <fande.kong at inl.gov> wrote:
> 
> 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 if with_rpath: to  if False at line 54 of config/BuildSystem/config/libraries.py. 
> 
> Not sure if it works for you.
> 
> Fande,
> 
> 
> 
> 
> On Mon, Oct 30, 2017 at 10:14 AM, Manav Bhatia <bhatiamanav at gmail.com <mailto:bhatiamanav at gmail.com>> wrote:
> Hi, 
> 
>   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. 
> 
>   I am not sure how to proceed with this. Any advice will be greatly appreciated!
> 
> Regards,
> Manav
> 
> ===============================================================================
>              Configuring PETSc to compile on your system                       
> ===============================================================================
> ===============================================================================                                                                                                                                                            ***** 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                                                                                                                                                 ===============================================================================                                                                                                                                                      ===============================================================================                                                                                                                                                            ***** 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                                                                                                                                               ===============================================================================                                                                                                                                                      ===============================================================================                                                                                                                                                            ***** 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                                                                                                                                                 ===============================================================================                                                                                                                                                      ===============================================================================                                                                                                                                                                      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                                                                                                                                                               ===============================================================================                                                                                                                                                      TESTING: checkCLibraries from config.compilers(config/BuildSystem/config/compilers.py:171)                                                                                                                                           *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> -------------------------------------------------------------------------------
> C libraries cannot directly be used from Fortran
> *******************************************************************************
> 
> 
> 
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171030/3b6fc26a/attachment-0001.html>


More information about the petsc-users mailing list