Hi Satish, The additional configure option works. Thanks and regards, Danyang On 2024-06-11, 9: 01 PM, "Satish Balay" <balay. anl@ fastmail. org <mailto: balay. anl@ fastmail. org>> wrote: Try using the additional configure option: 'LDFLAGS=-Wl,-ld_classic
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
 
ZjQcmQRYFpfptBannerEnd
Hi Satish,

The additional configure option works.

Thanks and regards,

Danyang

On 2024-06-11, 9:01 PM, "Satish Balay" <balay....@fastmail.org <mailto:balay....@fastmail.org>> wrote:


Try using the additional configure option: 'LDFLAGS=-Wl,-ld_classic -Wl,-commons,use_dylibs'


Also consider upgrading to the latest petsc release 3.21.2


Satish


On Tue, 11 Jun 2024, Barry Smith wrote:


> 
> The issue is here
> 
> configure:31815: /Users/danyangsu/Soft/PETSc/petsc-3.20.5/macos-gnu-opt/bin/mpif90 -o conftest -I. -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -g -O -fallow-argument-mismatch conftest.f90 -ldl -lm >&5
> ld: warning: -commons use_dylibs is no longer supported, using error treatment instead
> ld: common symbol '_mpifcmb5_' from '/private/var/folders/jm/wcm4mv8s3v1gqz383tcf_4c00000gp/T/ccqBB7yf.o' conflicts with definition from dylib '_mpifcmb5_' from '/Users/danyangsu/Soft/PETSc/petsc-3.20.5/macos-gnu-opt/lib/libmpifort.12.dylib'
> 
> Perhaps someone has the fix. 
> 
> > On Jun 11, 2024, at 9:05 PM, Danyang Su <danyang...@gmail.com <mailto:danyang...@gmail.com>> wrote:
> > 
> > This Message Is From an External Sender
> > This message came from outside your organization.
> > Dear All,
> > 
> > I recently upgraded my MacOS to Sonoma and found some issue in PETSc configuration, which does not occur before. The main issue is from hdf5 fortran binding. It’s more likely something is broken after system upgrade, but not clear which part.
> > 
> > Any suggestions?
> > 
> > Thanks and regards,
> > 
> > Danyang
> > <configure.log>
> 
> 




Reply via email to