[petsc-users] Install PETSc with option `--with-shared-libraries=1` failed on MacOS
Pierre Jolivet
pierre at joliv.et
Sun Mar 17 05:48:13 CDT 2024
You need this MR https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7365__;!!G_uCfscf7eWS!ZkCTTWYisvuRPh4YfLXoXTv2cY0NTXiSQhpIXFilhL3cIcymTpMi-q4OnEYp5mh85b9wUGFXUa55vdINNmkvfQ$
main has been broken for macOS since https://urldefense.us/v3/__https://gitlab.com/petsc/petsc/-/merge_requests/7341__;!!G_uCfscf7eWS!ZkCTTWYisvuRPh4YfLXoXTv2cY0NTXiSQhpIXFilhL3cIcymTpMi-q4OnEYp5mh85b9wUGFXUa55vdKnE_DalQ$ , so the alternative is to revert to the commit prior.
It should work either way.
Thanks,
Pierre
> On 17 Mar 2024, at 11:31 AM, Zongze Yang <yangzongze at gmail.com> wrote:
>
>
> This Message Is From an External Sender
> This message came from outside your organization.
> Hi, PETSc Team,
>
> I am trying to install petsc with the following configuration
> ```
> ./configure \
> --download-bison \
> --download-mpich \
> --download-mpich-configure-arguments=--disable-opencl \
> --download-hwloc \
> --download-hwloc-configure-arguments=--disable-opencl \
> --download-openblas \
> --download-openblas-make-options="'USE_THREAD=0 USE_LOCKING=1 USE_OPENMP=0'" \
> --with-shared-libraries=1 \
> --with-fortran-bindings=0 \
> --with-zlib \
> LDFLAGS=-Wl,-ld_classic
> ```
>
> The log shows that
> ```
> Exhausted all shared linker guesses. Could not determine how to create a shared library!
> ```
>
> I recently updated the system and Xcode, as well as homebrew.
>
> The configure.log is attached.
>
> Thanks for your attention to this matter.
>
> Best wishes,
> Zongze
> <configure.log.tar.gz>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20240317/0ae96e5a/attachment.html>
More information about the petsc-users
mailing list