<!DOCTYPE html>
<!-- BaNnErBlUrFlE-BoDy-start -->
<!-- Preheader Text : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">
 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
</div>
<!-- Preheader Text : END -->

<!-- Email Banner : BEGIN -->
<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerStart</div>

<!--[if ((ie)|(mso))]>
  <table border="0" cellspacing="0" cellpadding="0" width="100%" style="padding: 16px 0px 16px 0px; direction: ltr" ><tr><td>
    <table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #90a4ae;background-color:#D0D8DC;"><tr><td valign="top">
      <table align="left" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 8px 4px 8px">
        <tr><td style="color:#000000; font-family: 'Arial', sans-serif; font-weight:bold; font-size:14px; direction: ltr">
          This Message Is From an External Sender
        </td></tr>
        <tr><td style="color:#000000; font-weight:normal; font-family: 'Arial', sans-serif; font-size:12px; direction: ltr">
          This message came from outside your organization.
        </td></tr>

      </table>

    </td></tr></table>
  </td></tr></table>
<![endif]-->

<![if !((ie)|(mso))]>
  <div dir="ltr"  id="pfptBannerybnl9ga" style="all: revert !important; display:block !important; text-align: left !important; margin:16px 0px 16px 0px !important; padding:8px 16px 8px 16px !important; border-radius: 4px !important; min-width: 200px !important; background-color: #D0D8DC !important; background-color: #D0D8DC; border-top: 4px solid #90a4ae !important; border-top: 4px solid #90a4ae;">
    <div id="pfptBannerybnl9ga" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannerybnl9ga" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-weight:bold !important; font-weight:bold; font-size:14px !important; line-height:18px !important; line-height:18px">
        This Message Is From an External Sender
      </div>
      <div id="pfptBannerybnl9ga" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #D0D8DC !important; color:#000000 !important; color:#000000; font-weight:normal; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size:12px !important; line-height:18px !important; line-height:18px; margin-top:2px !important;">
This message came from outside your organization.
      </div>

    </div>

    <div style="clear: both !important; display: block !important; visibility: hidden !important; line-height: 0 !important; font-size: 0.01px !important; height: 0px"> </div>
  </div>
<![endif]>

<div style="display:none !important;display:none;visibility:hidden;mso-hide:all;font-size:1px;color:#ffffff;line-height:1px;height:0px;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<html>
<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBannerybnl9ga { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonybnl9ga:hover, .pfptPrimaryButtonybnl9ga:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonybnl9ga:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta charset="UTF-8"></head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">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 -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.su@gmail.com <mailto:danyang.su@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>






</pre></body></html>