What do you have for:

clang --version

Try:

./configure COPTFLAGS=-O3 CXXOPTFLAGS=-O3 FOPTFLAGS="-O3 -Wno-unused-function 
-fallow-argument-mismatch" \
--with-debugging=no 
--download-mpich=https://urldefense.us/v3/__https://www.mpich.org/static/downloads/4.3.0/mpich-4.3.0.tar.gz__;!!G_uCfscf7eWS!ZqnlQBfjGKmMASbodhtg_KL2UtSCdiCE50UBiVmMuGJ1WzzTCtH_F9fg728-QPQLpa4GklbSYhpC4sTiA7NDlKsygg$
  \
--download-hdf5=yes --with-hdf5-fortran-bindings=yes --download-fblaslapack=yes 
\
--download-metis=yes --download-parmetis=yes \
CC=gcc-14 CXX=g++-14 FC=gfortran-14 --download-make=yes \
--download-cmake=https://urldefense.us/v3/__https://gitlab.kitware.com/cmake/cmake/-/archive/v3.31.7/cmake-v3.31.7.tar.gz__;!!G_uCfscf7eWS!ZqnlQBfjGKmMASbodhtg_KL2UtSCdiCE50UBiVmMuGJ1WzzTCtH_F9fg728-QPQLpa4GklbSYhpC4sTiA7Mn6rz6mw$
  \
--download-cmake-cc=clang --download-cmake-cxx=clang++

Satish

On Mon, 28 Apr 2025, Jeffrey Hyman wrote:

> Thanks, I'll give it a spin and let you know how it goes.
> 
> JDH
> 
> On Mon, Apr 28, 2025 at 8:43 PM Matthew Knepley <knep...@gmail.com> wrote:
> 
> > On Mon, Apr 28, 2025 at 8:34 PM Jeffrey Hyman <hyma...@gmail.com> wrote:
> >
> >> Hi,
> >>
> >> I am trying to build v3.21.5 to use with pflotran. I'm running into
> >> issues with cmake. configure log attached.  Any suggestions?
> >>
> >
> > The documentation could be clearer here. We cannot use the PETSc compilers
> > to build CMake since it explicitly does not want MPI. Thus you need to
> > specify them yourself. That means you would need
> >
> >   --download-cmake-cc=/opt/homebrew/bin/gcc-14
> > --download-cmake-cxx=/opt/homebrew/bin/g++-14
> >
> >   Thanks,
> >
> >      Matt
> >
> >
> >> Thanks for the help,
> >> Jeffrey
> >>
> >>
> >
> > --
> > What most experimenters take for granted before they begin their
> > experiments is infinitely more interesting than any results to which their
> > experiments lead.
> > -- Norbert Wiener
> >
> > https://urldefense.us/v3/__https://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bZa6EMKsRCbKBAnduL8Vva4vRPvbjUsz_v4OKJW8-c8D8gQcN4fZPfrAaQfZ37j1kQzigfg-TVDeQNOczHyI$
> >  
> > <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!bZa6EMKsRCbKBAnduL8Vva4vRPvbjUsz_v4OKJW8-c8D8gQcN4fZPfrAaQfZ37j1kQzigfg-TVDeQKP18rKz$
> >  >
> >
> 

Reply via email to