[petsc-users] configuration error

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


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/276e4b10/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 438151 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171030/276e4b10/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20171030/276e4b10/attachment-0003.html>


More information about the petsc-users mailing list