[petsc-users] configuration error

Smith, Barry F. bsmith at mcs.anl.gov
Tue Oct 31 16:25:34 CDT 2017


  Manav,

    Thanks for reporting the problem 

  Fande,

    Thanks for the pointer.

    Satish determined the correct long term fix and it is in the branch barry/fix-lto_library-option-maint and will be put in the maint branch and master branch if it passes the testing tonight.

   Barry


> 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> 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
> *******************************************************************************
> 
> 
> 
> 
> 
> 



More information about the petsc-users mailing list