Skip to content

Failing to run './contrib/moose/scripts/update_and_rebuild_petsc.sh' on MacOS #810

Answered by milljm
Allentro asked this question in Q&A
Discussion options

You must be logged in to vote

Because you are using Homebrew, you might have better luck not using Clang, but rather GCC instead. If that is an option? Clang 15 is pretty new... We usually stick with older, more stable (less bleeding edge) versions. For example, we are mostly using/testing with Clang 12 when operating on a Apple Silicon Mac.

EDIT:
Also Note: If you plan on sticking with Homebrew, just know that when you perform an update (in brew), and you happen to pull a new compiler, or dependency the Cardinal stack needs, you might need to re-build everything anew, as the old compiler/libraries will be lost with the brew update.

Don't get me wrong, Homebrew is fantastic, so long if you are cautious with your brew …

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Allentro
Comment options

@milljm
Comment options

Answer selected by Allentro
@aprilnovak
Comment options

@Allentro
Comment options

@milljm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants