<!-- 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;">
 Thank you for your update. I found some links that suggest this issue is related to the Apple linker, which is causing problems with Fortran linking. 1. https: //github. com/open-mpi/ompi/issues/12427 2. https: //x. com/science_dot/status/1768667417553547635?s=46
</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="pfptBanner19r3bov" 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="pfptBanner19r3bov" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBanner19r3bov" 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="pfptBanner19r3bov" 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>
  #pfptBanner19r3bov { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButton19r3bov:hover, .pfptPrimaryButton19r3bov:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButton19r3bov:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Thank you for your update.<div><br></div><div>I found some links that suggest this issue is related to the Apple linker, which is causing problems with Fortran linking.</div><div><br></div><div>1. <a href="https://urldefense.us/v3/__https://github.com/open-mpi/ompi/issues/12427__;!!G_uCfscf7eWS!bHY4uqpTfwl0jKopATQs3gw--TZSBmDp0Lb1gzDBeEu4ZB_zTph-jfw49yIr3jvPx0YEhQbk1PjYbGYVpjjms6Wb$">https://github.com/open-mpi/ompi/issues/12427</a><div>2. <a href="https://urldefense.us/v3/__https://x.com/science_dot/status/1768667417553547635?s=46__;!!G_uCfscf7eWS!bHY4uqpTfwl0jKopATQs3gw--TZSBmDp0Lb1gzDBeEu4ZB_zTph-jfw49yIr3jvPx0YEhQbk1PjYbGYVptASYXS2$">https://x.com/science_dot/status/1768667417553547635?s=46</a> </div><div><br></div><div>Best wishes,</div><div>Zongze</div><div><div><div><br><blockquote type="cite"><div>On 2 Apr 2024, at 01:15, Satish Balay <balay@mcs.anl.gov> wrote:</div><br class="Apple-interchange-newline"><div><div>On Mon, 1 Apr 2024, Zongze Yang wrote:<br><br><blockquote type="cite"><br>I noticed this in the config.log of OpenMPI:<br>```<br>configure:30230: checking to see if mpifort compiler needs additional linker flags<br>configure:30247: gfortran -o conftest -fPIC -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -g -O0 -fallow-argument-mismatch  -Wl,-flat_namespace -Wl,-commons,use_dylibs  conftest.f90  >&5<br>ld: warning: -commons use_dylibs is no longer supported, using error treatment instead<br>configure:30247: $? = 0<br>configure:30299: result: -Wl,-commons,use_dylibs<br>```<br>So, I find it odd that this flag isn't picked up on your platform, as it only checked the exit value.<br></blockquote><br>I get:<br><br>configure:30247: gfortran -o conftest -fPIC -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -g -O0 -fallow-argument-mismatch  -Wl,-flat_namespace -Wl,-commons,use_dylibs  conftest.f90  >&5<br>ld: unknown options: -commons <br>collect2: error: ld returned 1 exit status<br>configure:30247: $? = 1<br>configure: failed program was:<br>| program test<br>|     integer :: i<br>| end program<br>configure:30299: result: none<br><br>Note, I have and older xcode-15/CLT version:<br><br>petsc@npro ~ % clang --version<br>Apple clang version 15.0.0 (clang-1500.1.0.2.5)<br>Target: arm64-apple-darwin23.3.0<br>Thread model: posix<br>InstalledDir: /Library/Developer/CommandLineTools/usr/bin<br><br>Satish<br></div></div></blockquote></div><br></div></div></div></body></html>