<!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;">
 Thank you for the suggestion. I'd like to share some test results using the current Xcode. When I added the flag `LDFLAGS=-Wl,-ld_classic` and configured PETSc with OpenMPI, the tests with the latest Xcode seemed okay, except for some link
</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="pfptBannermhbz6se" 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="pfptBannermhbz6se" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannermhbz6se" 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="pfptBannermhbz6se" 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>
  #pfptBannermhbz6se { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonmhbz6se:hover, .pfptPrimaryButtonmhbz6se:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonmhbz6se:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
<meta charset="us-ascii"></head><body><pre style="font-family: sans-serif; font-size: 100%; white-space: pre-wrap; word-wrap: break-word">Thank you for the suggestion.

I'd like to share some test results using the current Xcode. When I added the flag `LDFLAGS=-Wl,-ld_classic` and configured PETSc with OpenMPI, the tests with the latest Xcode seemed okay, except for some link warnings. The configure command is
```
./configure \
    PETSC_ARCH=arch-darwin-c-debug-openmpi \
    LDFLAGS=-Wl,-ld_classic \
    --download-openmpi=<a href="https://urldefense.us/v3/__https://download.open-mpi.org/release/open-mpi/v5.0/openmpi-5.0.3rc1.tar.bz2__;!!G_uCfscf7eWS!eGiVH2meEkLSEHvkY6Y-m7U1wPG4ZDxHod7lLZI3HTu6itzNEDm7n3cz4GNly925EEHvVRnyNQYn2aAt0ewiXz99$">https://urldefense.us/v3/__https://download.open-mpi.org/release/open-mpi/v5.0/openmpi-5.0.3rc1.tar.bz2__;!!G_uCfscf7eWS!eGiVH2meEkLSEHvkY6Y-m7U1wPG4ZDxHod7lLZI3HTu6itzNEDm7n3cz4GNly925EEHvVRnyNQYn2aAt0ewiXz99$</a> \
    --download-mumps --download-scalapack \
    --with-clean \
    && make && make check
```

The output of `make check`. (It seems that the Error below can be ignored.)
```
Running PETSc check examples to verify correct installation
Using PETSC_DIR=/Users/zzyang/workspace/repos/petsc and PETSC_ARCH=arch-darwin-c-debug-openmpi
C/C++ example src/snes/tutorials/ex19 run successfully with 1 MPI process
C/C++ example src/snes/tutorials/ex19 run successfully with 2 MPI processes
C/C++ example src/snes/tutorials/ex19 run successfully with MUMPS
*******************Error detected during compile or link!*******************
See <a href="https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!eGiVH2meEkLSEHvkY6Y-m7U1wPG4ZDxHod7lLZI3HTu6itzNEDm7n3cz4GNly925EEHvVRnyNQYn2aAt0abuucWB$">https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!eGiVH2meEkLSEHvkY6Y-m7U1wPG4ZDxHod7lLZI3HTu6itzNEDm7n3cz4GNly925EEHvVRnyNQYn2aAt0abuucWB$</a>
/Users/zzyang/workspace/repos/petsc/src/snes/tutorials ex5f
*********************************************************
/Users/zzyang/workspace/repos/petsc/arch-darwin-c-debug-openmpi/bin/mpif90 -Wl,-ld_classic -Wl,-search_paths_first -Wl,-no_compact_unwind  -fPIC -Wall -ffree-line-length-none -ffree-line-length-0 -Wno-lto-type-mismatch -Wno-unused-dummy-argument -g -O0  -I/Users/zzyang/workspace/repos/petsc/include -I/Users/zzyang/workspace/repos/petsc/arch-darwin-c-debug-openmpi/include -I/opt/X11/include     ex5f.F90  -Wl,-rpath,/Users/zzyang/workspace/repos/petsc/arch-darwin-c-debug-openmpi/lib -L/Users/zzyang/workspace/repos/petsc/arch-darwin-c-debug-openmpi/lib -Wl,-rpath,/opt/X11/lib -L/opt/X11/lib -Wl,-rpath,/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13 -L/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13 -Wl,-rpath,/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc -L/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc -Wl,-rpath,/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current -L/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current -lpetsc -ldmumps -lmumps_common -lpord -lpthread -lscalapack -llapack -lblas -lX11 -lmpi_usempif08 -lmpi_usempi_ignore_tkr -lmpi_mpifh -lmpi -lgfortran -ld_classic -lgfortran -lemutls_w -lquadmath -lc++ -o ex5f
ld: warning: -commons use_dylibs is no longer supported, using error treatment instead
ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc/aarch64-apple-darwin23/13' ignored
ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current' ignored
ld: warning: duplicate -rpath '/opt/homebrew/Cellar/gcc/13.2.0/lib/gcc/current/gcc' ignored
warning: (arm64)  could not find object file symbol for symbol ___muldc3
Fortran example src/snes/tutorials/ex5f run successfully with 1 MPI process
Completed PETSc check examples
```

Best wishes,
Zongze

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