Unable to build petsc #3266
-
Hello, I am trying to install firedrake and along the way I keep running into errors when building petsc. The most current output says: Depending on your platform, PETSc may take an hour or more to build! Here are the firedrake-install.log and petsc configure.log. I was previously getting an issue with gfortran so I deactivated conda, and I now get this issue instead. Please advise. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
@Ig-dolci is the most knowledgeable about current MacOS install issues. Does this look like the same Xcode issues that we've been seeing? I do notice that you are not using a homebrew-installed Python which is not supported. Please install Python via homebrew and use this. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your response. I think Python was installed but unlinked so I linked it and tried to redo the installation. However, I'm not sure if this ensured that the homebrew-installed Python is being used since the python filepath in the new error message looks the same: Depending on your platform, PETSc may take an hour or more to build! Do you know how to check if the homebrew-installed Python is being used? Or should it perhaps be installed in another location? |
Beta Was this translation helpful? Give feedback.
-
This error is not related to the Xcode 15 version. As you said @connorjward, the right homebrew Python is not used here. |
Beta Was this translation helpful? Give feedback.
-
Thank you both for your responses. I'm trying to download Xcode but it looks like it requires a lot of free disk space so I'll try to find a way to do that. I'll follow up once I have a chance to try it out. |
Beta Was this translation helpful? Give feedback.
I don't think that the issue is with Xcode in your case. Please just try to use the correct Python and see what happens.