Opened 3 years ago

Closed 3 years ago

#55889 closed defect (fixed)

petsc @3.7.4+sundials: configure failure

Reported by: tartarini (Daniele Tartarini) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc:
Port: petsc

Description (last modified by ryandesign (Ryan Schmidt))

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

Attachments (2)

petsc_sundials_error.log (180.8 KB) - added by tartarini (Daniele Tartarini) 3 years ago.
main.log
petsc_sundials_error_configure.log (2.5 MB) - added by tartarini (Daniele Tartarini) 3 years ago.
configure.log

Change History (5)

comment:1 Changed 3 years ago by mf2k (Frank Schima)

Cc: seanfarley removed
Owner: set to seanfarley
Status: newassigned

comment:2 Changed 3 years ago by ryandesign (Ryan Schmidt)

Description: modified (diff)
Summary: petsc 3.7.4 +sundials: configure failurepetsc @3.7.4+sundials: configure failure

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

Changed 3 years ago by tartarini (Daniele Tartarini)

Attachment: petsc_sundials_error.log added

main.log

Changed 3 years ago by tartarini (Daniele Tartarini)

configure.log

comment:3 Changed 3 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: assignedclosed

In 221d10e025ae0948c292e178850d9117d57d0289/macports-ports:

petsc: update to 3.8.3

This patch corrects the sundials dependency, patches configure to use MacPorts
python, and correct the petsc.pc pkgconfig file.

Fixes: #54119
Fixes: #55877
Fixes: #55889

Note: See TracTickets for help on using tickets.