[petsc-dev] issue with v3.21.5 build

Matthew Knepley knepley at gmail.com
Mon Apr 28 19:43:15 CDT 2025


On Mon, Apr 28, 2025 at 8:34 PM Jeffrey Hyman <hymanjd at 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!Z8sNx3hU-iCDWOPrXFXGNuMgjo-Nl3cW7M0IbgJKgt81IY8omPWnFQSz2-mKUWWSLjZFRrF0hUKcwjjPa_mU$  <https://urldefense.us/v3/__http://www.cse.buffalo.edu/*knepley/__;fg!!G_uCfscf7eWS!Z8sNx3hU-iCDWOPrXFXGNuMgjo-Nl3cW7M0IbgJKgt81IY8omPWnFQSz2-mKUWWSLjZFRrF0hUKcwnvVKE1L$ >
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20250428/7776409a/attachment.html>


More information about the petsc-dev mailing list