For those of you having difficulty configuring PETSc 3.21.X on MacOS Sequoia 15.4.X, the following configure arguments work for me:
/usr/bin/python3 ./config/configure.py --PETSC_ARCH=gnu-c-opt \
--COPTFLAGS='-O3' --CXXOPTFLAGS='-O3' \
--FOPTFLAGS='-O3 -Wno-unused-function -fallow-argument-mismatch' \
--with-clanguage=c --with-shared-libraries=no --with-debugging=no \
--download-hdf5=yes \
--download-hdf5-fortran-bindings=yes \
--download-parmetis=yes \
--download-metis=yes \
--download-hypre \
--download-fblaslapack=yes \
--download-cmake \
--download-make \
--download-cmake-cc=clang --download-cmake-cxx=clang++ --download-cmake=https://gitlab.kitware.com/cmake/cmake/-/archive/v3.31.7/cmake-v3.31.7.tar.gz
Be sure to remove the old directory for your PETSC_ARCH:
cd $PETSC_DIR
rm -Rf $PETSC_ARCH
This issue may only apply to ARM chips. Note that there is no need to include “hypre”.
We hope to upgrade to PETSc 3.23.X soon, and that will provide a long-term solution.
Glenn
Seunghwan,
I never perform ‘make check’ with PETSc or build the PETSc example problems. It is possible that these failures occur with my installation. My metric for success is whether PFLOTRAN builds. What errors do you receive when you build PFLOTRAN?
Glenn
From:
pflotra...@googlegroups.com <pflotra...@googlegroups.com> on behalf of Seunghwan Baek <godlo...@gmail.com>
Date: Wednesday, May 28, 2025 at 6:31 PM
To: pflotran-users <pflotra...@googlegroups.com>
Subject: [pflotran-users: 8408] Re: Configuring PETSc 3.21.X on MacOS Sequoia 15.4.X
Check twice before you click! This email originated from outside PNNL.
--
You received this message because you are subscribed to the Google Groups "pflotran-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
pflotran-user...@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/pflotran-users/b50a7004-d46f-47ce-8c5e-2f920d813083n%40googlegroups.com.