[MacPorts] #55889: petsc @3.7.4+sundials: configure failure (was: petsc 3.7.4 +sundials: configure failure)

MacPorts noreply at macports.org
Sat Feb 24 23:41:20 UTC 2018


#55889: petsc @3.7.4+sundials: configure failure
------------------------+------------------------
  Reporter:  tartarini  |      Owner:  seanfarley
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:  2.4.2
Resolution:             |   Keywords:
      Port:  petsc      |
------------------------+------------------------

Old description:

> sudo port install petsc +sundials
>
> gives the following error (extract from log file):
>
> {{{
> :info:configure
> *******************************************************************************
> :info:configure          UNABLE to CONFIGURE with GIVEN OPTIONS    (see
> configure.log for details):
> :info:configure
> -------------------------------------------------------------------------------
> :info:configure --with-sundials-dir=/opt/local did not work
> :info:configure
> *******************************************************************************
> :info:configure Command failed:  cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_petsc/petsc/work/v3.7.4"
> && ./configure --prefix=/opt/local --prefix=/opt/local/lib/petsc --with-
> valgrind=0 --with-shared-libraries --with-debugging=0 --with-c2html-
> dir=/opt/local --without-x --with-blas-lapack-
> lib=/System/Library/Frameworks/Accelerate.framework/Versions/Current/Accelerate
> --with-hwloc-dir=/opt/local --with-sundials-dir=/opt/local
> CC="/opt/local/bin/mpicc-mpich-mp" CXX="/opt/local/bin/mpicxx-mpich-mp"
> FC="/opt/local/bin/mpif90-mpich-mp" F77="/opt/local/bin/mpif90-mpich-mp"
> F90="/opt/local/bin/mpif90-mpich-mp" COPTFLAGS="-Os" CXXOPTFLAGS="-Os"
> FOPTFLAGS="-Os" LDFLAGS="-L/opt/local/lib
> -Wl,-headerpad_max_install_names" CPPFLAGS="-I/opt/local/include"
> CFLAGS="-Os -arch x86_64" CXXFLAGS="-Os" FFLAGS="-Os" FCFLAGS="-Os"
> F90FLAGS="-Os" PETSC_ARCH="arch-macports" --with-mpiexec=mpiexec-mpich-mp
> :info:configure Exit code: 1
> :error:configure Failed to configure petsc: configure failure: command
> execution failed
> }}}

New description:

 {{{
 sudo port install petsc +sundials
 }}}

 gives the following error (extract from log file):

 {{{
 :info:configure
 *******************************************************************************
 :info:configure          UNABLE to CONFIGURE with GIVEN OPTIONS    (see
 configure.log for details):
 :info:configure
 -------------------------------------------------------------------------------
 :info:configure --with-sundials-dir=/opt/local did not work
 :info:configure
 *******************************************************************************
 :info:configure Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_petsc/petsc/work/v3.7.4"
 && ./configure --prefix=/opt/local --prefix=/opt/local/lib/petsc --with-
 valgrind=0 --with-shared-libraries --with-debugging=0 --with-c2html-
 dir=/opt/local --without-x --with-blas-lapack-
 lib=/System/Library/Frameworks/Accelerate.framework/Versions/Current/Accelerate
 --with-hwloc-dir=/opt/local --with-sundials-dir=/opt/local
 CC="/opt/local/bin/mpicc-mpich-mp" CXX="/opt/local/bin/mpicxx-mpich-mp"
 FC="/opt/local/bin/mpif90-mpich-mp" F77="/opt/local/bin/mpif90-mpich-mp"
 F90="/opt/local/bin/mpif90-mpich-mp" COPTFLAGS="-Os" CXXOPTFLAGS="-Os"
 FOPTFLAGS="-Os" LDFLAGS="-L/opt/local/lib
 -Wl,-headerpad_max_install_names" CPPFLAGS="-I/opt/local/include"
 CFLAGS="-Os -arch x86_64" CXXFLAGS="-Os" FFLAGS="-Os" FCFLAGS="-Os"
 F90FLAGS="-Os" PETSC_ARCH="arch-macports" --with-mpiexec=mpiexec-mpich-mp
 :info:configure Exit code: 1
 :error:configure Failed to configure petsc: configure failure: command
 execution failed
 }}}

--

Comment (by ryandesign):

 Could you attach the main.log and configure.log files?

--
Ticket URL: <https://trac.macports.org/ticket/55889#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list