<!-- 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 Barry, with the changes in place for my fortran calls I'm now picking up the following error running PC + gamg preconditioner and mpiaijkokkos, kokkos vec: [0]PETSC ERROR: ------------------------------------------------------------------------
</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="pfptBanner6fuz6zv" 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="pfptBanner6fuz6zv" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBanner6fuz6zv" 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="pfptBanner6fuz6zv" 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>
  #pfptBanner6fuz6zv { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButton6fuz6zv:hover, .pfptPrimaryButton6fuz6zv:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButton6fuz6zv:active {
    background-color: #90a4ae !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Barry, with the changes in place for my fortran calls I'm now picking up the following error running PC + gamg preconditioner and mpiaijkokkos, kokkos vec:</div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div class="elementToProof" style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: ------------------------------------------------------------------------</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: Caught signal number 7 BUS: Bus Error, possibly illegal memory access</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: Try option -start_in_debugger or -on_error_attach_debugger</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: or see <a href="https://urldefense.us/v3/__https://petsc.org/release/faq/*valgrind__;Iw!!G_uCfscf7eWS!c9ba-qn-H5Nd7u-gSlKeT4yx78fRpyYpoTFvBgzvaq6SJkJPQ0MzGeR_DjeB4_rn-1VhQT1FBxHQNruqNJ4dGIXVWyyt_tvV$">https://petsc.org/release/faq/#valgrind</a> and <a href="https://urldefense.us/v3/__https://petsc.org/release/faq/__;!!G_uCfscf7eWS!c9ba-qn-H5Nd7u-gSlKeT4yx78fRpyYpoTFvBgzvaq6SJkJPQ0MzGeR_DjeB4_rn-1VhQT1FBxHQNruqNJ4dGIXVW2O-znOO$">https://petsc.org/release/faq/</a></div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: ---------------------  Stack Frames ------------------------------------</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: The line numbers in the error traceback are not always exact.</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #1 MPI function</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #2 PetscSFLinkFinishCommunication_Default() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/vec/is/sf/impls/basic/sfmpi.c:13</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #3 PetscSFLinkFinishCommunication() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/include/../src/vec/is/sf/impls/basic/sfpack.h:291</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #4 PetscSFBcastEnd_Basic() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/vec/is/sf/impls/basic/sfbasic.c:373</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #5 PetscSFBcastEnd() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/vec/is/sf/interface/sf.c:1540</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #6 VecScatterEnd_Internal() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/vec/is/sf/interface/vscat.c:95</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #7 VecScatterEnd() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/vec/is/sf/interface/vscat.c:1352</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #8 MatDiagonalScale_MPIAIJ() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/mat/impls/aij/mpi/mpiaij.c:1990</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #9 MatDiagonalScale() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/mat/interface/matrix.c:5691</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #10 MatCreateGraph_Simple_AIJ() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/mat/impls/aij/mpi/mpiaij.c:8026</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #11 MatCreateGraph() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/mat/interface/matrix.c:11426</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #12 PCGAMGCreateGraph_AGG() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/ksp/pc/impls/gamg/agg.c:663</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #13 PCGAMGCreateGraph() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/ksp/pc/impls/gamg/gamg.c:2041</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #14 PCSetUp_GAMG() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/ksp/pc/impls/gamg/gamg.c:695</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #15 PCSetUp() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/ksp/pc/interface/precon.c:1077</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #16 KSPSetUp() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/ksp/ksp/interface/itfunc.c:415</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #17 KSPSolve_Private() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/ksp/ksp/interface/itfunc.c:826</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
[0]PETSC ERROR: #18 KSPSolve() at /autofs/nccs-svm1_home1/vanellam/Software/petsc/src/ksp/ksp/interface/itfunc.c:1073</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
MPICH ERROR [Rank 0] [job id 2109802.0] [Fri Jul 19 15:31:18 2024] [frontier03726] - Abort(59) (rank 0 in comm 0): application called MPI_Abort(MPI_COMM_WORLD, 59) - process 0</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
I setup PETSc with gnu compilers like this in Frontier:</div>
<div style="line-height: normal; margin: 0px; font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
./configure COPTFLAGS="-O2" CXXOPTFLAGS="-O2" FOPTFLAGS="-O2" FCOPTFLAGS="-O2" HIPOPTFLAGS="-O2 --offload-arch=gfx90a" --with-debugging=1 --with-cc=cc --with-cxx=CC --with-fc=ftn --with-hip --with-hip-arch=gfx908 --with-hipc=hipcc   --LIBS="-L${MPICH_DIR}/lib
 -lmpi ${CRAY_XPMEM_POST_LINK_OPTS} -lxpmem ${PE_MPICH_GTL_DIR_amd_gfx90a} ${PE_MPICH_GTL_LIBS_amd_gfx90a}" --download-kokkos --download-kokkos-kernels --download-hypre --download-suitesparse --download-cmake --force</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
 </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Have you guys come across this before? Thank you for your time,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Marcos</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Vanella, Marcos (Fed) <marcos.vanella@nist.gov><br>
<b>Sent:</b> Friday, July 19, 2024 12:54 PM<br>
<b>To:</b> Barry Smith <bsmith@petsc.dev><br>
<b>Cc:</b> petsc-users@mcs.anl.gov <petsc-users@mcs.anl.gov>; Patel, Saumil Sudhir <spatel@anl.gov><br>
<b>Subject:</b> Re: [petsc-users] compilation error with latest petsc source</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thank you Barry! We'll address the change accordingly.</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
M</div>
<div id="x_appendonsend"></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Barry Smith <bsmith@petsc.dev><br>
<b>Sent:</b> Friday, July 19, 2024 12:42 PM<br>
<b>To:</b> Vanella, Marcos (Fed) <marcos.vanella@nist.gov><br>
<b>Cc:</b> petsc-users@mcs.anl.gov <petsc-users@mcs.anl.gov><br>
<b>Subject:</b> Re: [petsc-users] compilation error with latest petsc source</font>
<div> </div>
</div>
<div style="line-break:after-white-space">
<div><br>
</div>
<div>   We made some superficial changes to the Fortran API to better support Fortran and its error checking. See the bottom of <a href="https://urldefense.us/v3/__https://petsc.org/main/changes/dev/__;!!G_uCfscf7eWS!c9ba-qn-H5Nd7u-gSlKeT4yx78fRpyYpoTFvBgzvaq6SJkJPQ0MzGeR_DjeB4_rn-1VhQT1FBxHQNruqNJ4dGIXVW9CAoatv$" originalsrc="https://petsc.org/main/changes/dev/" shash="j/wF4QvgAQ/OtF/Bt7fA9XpSPmkQAqTVsbCzeZhRsNYym9odHrww7mIjv1dzex396rHhn8b4wqvrw8TLMuWhbTkoUie3kdb3hQey6W+j058HL9wsVqKsF4RMhqQXasY/pbdRkz+J5UV1kmZt/z0fFW9DU040tD+NIbdur/ZBapY=">https://petsc.org/main/changes/dev/<br>
</a><br>
</div>
<div>   Basically, you have to respect Fortran's pickiness about passing the correct dimension (or lack of dimension) of arguments. In the error below, you need to pass PETSC_NULL_INTEGER_ARRAY</div>
<div><br>
</div>
<div><span style="font-size:16px; font-family:"Courier New",monospace"><br>
</span></div>
<div><font face="Courier New, monospace" size="3"><br>
</font></div>
<div><font face="Courier New, monospace" size="3"><br id="x_x_lineBreakAtBeginningOfMessage">
</font>
<div><br>
<blockquote type="cite">
<div>On Jul 19, 2024, at 12:20 PM, Vanella, Marcos (Fed) via petsc-users <petsc-users@mcs.anl.gov> wrote:</div>
<br class="x_x_Apple-interchange-newline">
<div>
<div dir="ltr" id="x_x_pfptBanner0jt9o5d" style="writing-mode:revert!important; color:revert!important; font-family:revert!important; font-feature-settings:revert!important; font-kerning:revert!important; font-size:revert!important; font-size-adjust:revert!important; font-stretch:revert!important; font-style:revert!important; font-variant-alternates:revert!important; font-variant-caps:revert!important; font-variant-east-asian:revert!important; font-variant-ligatures:revert!important; font-variant-numeric:revert!important; font-weight:revert!important; text-orientation:revert!important; zoom:revert!important; letter-spacing:revert!important; text-autospace:revert!important; align-content:revert!important; align-items:revert!important; align-self:revert!important; background-attachment:revert!important; background-blend-mode:revert!important; background-image:revert!important; background-position:revert!important; background-repeat:revert!important; background-size:revert!important; border-collapse:revert!important; box-sizing:revert!important; break-after:revert!important; break-before:revert!important; break-inside:revert!important; caption-side:revert!important; clear:revert!important; clip:revert!important; column-count:revert!important; column-fill:revert!important; column-gap:revert!important; column-rule-color:revert!important; column-rule-style:revert!important; column-rule-width:revert!important; column-span:revert!important; column-width:revert!important; content:revert!important; counter-increment:revert!important; counter-reset:revert!important; empty-cells:revert!important; flex:revert!important; flex-flow:revert!important; float:revert!important; image-orientation:revert!important; isolation:revert!important; justify-content:revert!important; justify-items:revert!important; line-break:revert!important; line-height:revert!important; list-style:revert!important; mix-blend-mode:revert!important; object-fit:revert!important; object-position:revert!important; order:revert!important; orphans:revert!important; outline:revert!important; overflow:revert!important; position:revert!important; quotes:revert!important; tab-size:revert!important; table-layout:revert!important; text-align:left!important; text-decoration-color:revert!important; text-decoration:revert!important; text-decoration-style:revert!important; text-emphasis-color:revert!important; text-emphasis-style:revert!important; text-indent:revert!important; text-justify:revert!important; text-overflow:revert!important; text-transform:revert!important; text-underline-position:revert!important; vertical-align:revert!important; white-space:revert!important; widows:revert!important; word-break:revert!important; z-index:revert!important; border-spacing:revert!important">
<div id="x_x_pfptBanner0jt9o5d" style="writing-mode:unset!important; color:unset!important; font-family:unset!important; font-feature-settings:unset!important; font-kerning:unset!important; font-size:unset!important; font-size-adjust:unset!important; font-stretch:unset!important; font-style:unset!important; font-variant-alternates:unset!important; font-variant-caps:unset!important; font-variant-east-asian:unset!important; font-variant-ligatures:unset!important; font-variant-numeric:unset!important; font-weight:unset!important; text-orientation:unset!important; zoom:unset!important; letter-spacing:unset!important; text-autospace:unset!important; align-content:unset!important; align-items:unset!important; align-self:unset!important; background:unset!important; background-blend-mode:unset!important; border-collapse:unset!important; border:unset!important; box-sizing:unset!important; break-after:unset!important; break-before:unset!important; break-inside:unset!important; caption-side:unset!important; clear:unset!important; clip:unset!important; column-count:unset!important; column-fill:unset!important; column-gap:unset!important; column-rule-color:unset!important; column-rule-style:unset!important; column-rule-width:unset!important; column-span:unset!important; column-width:unset!important; content:unset!important; counter-increment:unset!important; counter-reset:unset!important; empty-cells:unset!important; flex:unset!important; flex-flow:unset!important; float:left!important; image-orientation:unset!important; isolation:unset!important; justify-content:unset!important; justify-items:unset!important; line-break:unset!important; line-height:unset!important; list-style:unset!important; mix-blend-mode:unset!important; object-fit:unset!important; object-position:unset!important; order:unset!important; orphans:unset!important; outline:unset!important; overflow:unset!important; position:unset!important; quotes:unset!important; tab-size:unset!important; table-layout:unset!important; text-align:unset!important; text-decoration-color:unset!important; text-decoration:unset!important; text-decoration-style:unset!important; text-emphasis-color:unset!important; text-emphasis-style:unset!important; text-indent:unset!important; text-justify:unset!important; text-overflow:unset!important; text-transform:unset!important; text-underline-position:unset!important; vertical-align:unset!important; white-space:unset!important; widows:unset!important; word-break:unset!important; z-index:unset!important; border-spacing:unset!important">
<div id="x_x_pfptBanner0jt9o5d" style="writing-mode:unset!important; font-family:Arial,sans-serif!important; font-feature-settings:unset!important; font-kerning:unset!important; font-size:14px!important; font-size-adjust:unset!important; font-stretch:unset!important; font-style:unset!important; font-variant-alternates:unset!important; font-variant-caps:unset!important; font-variant-east-asian:unset!important; font-variant-ligatures:unset!important; font-variant-numeric:unset!important; font-weight:bold!important; text-orientation:unset!important; zoom:unset!important; letter-spacing:unset!important; align-content:unset!important; align-items:unset!important; align-self:unset!important; background-attachment:unset!important; background-blend-mode:unset!important; background-image:unset!important; background-position:unset!important; background-repeat:unset!important; background-size:unset!important; border-collapse:unset!important; border:unset!important; box-sizing:unset!important; break-after:unset!important; break-before:unset!important; break-inside:unset!important; caption-side:unset!important; clear:unset!important; clip:unset!important; column-count:unset!important; column-fill:unset!important; column-gap:unset!important; column-rule-color:unset!important; column-rule-style:unset!important; column-rule-width:unset!important; column-span:unset!important; column-width:unset!important; content:unset!important; counter-increment:unset!important; counter-reset:unset!important; empty-cells:unset!important; flex:unset!important; flex-flow:unset!important; float:unset!important; image-orientation:unset!important; isolation:unset!important; justify-content:unset!important; justify-items:unset!important; line-break:unset!important; line-height:18px!important; list-style:unset!important; mix-blend-mode:unset!important; object-fit:unset!important; object-position:unset!important; order:unset!important; orphans:unset!important; outline:unset!important; overflow:unset!important; position:unset!important; quotes:unset!important; tab-size:unset!important; table-layout:unset!important; text-align:unset!important; text-decoration-color:unset!important; text-decoration:unset!important; text-decoration-style:unset!important; text-emphasis-color:unset!important; text-emphasis-style:unset!important; text-indent:unset!important; text-overflow:unset!important; text-transform:unset!important; text-underline-position:unset!important; vertical-align:unset!important; white-space:unset!important; widows:unset!important; word-break:unset!important; z-index:unset!important; border-spacing:unset!important; word-spacing:unset!important; background-clip:unset!important; background-origin:unset!important; box-shadow:unset!important; text-combine-upright:unset!important">
This Message Is From an External Sender</div>
<div id="x_x_pfptBanner0jt9o5d" style="writing-mode:unset!important; font-family:Arial,sans-serif!important; font-feature-settings:unset!important; font-kerning:unset!important; font-size:12px!important; font-size-adjust:unset!important; font-stretch:unset!important; font-style:unset!important; font-variant-alternates:unset!important; font-variant-caps:unset!important; font-variant-east-asian:unset!important; font-variant-ligatures:unset!important; font-variant-numeric:unset!important; font-weight:unset!important; text-orientation:unset!important; zoom:unset!important; letter-spacing:unset!important; align-content:unset!important; align-items:unset!important; align-self:unset!important; background-attachment:unset!important; background-blend-mode:unset!important; background-image:unset!important; background-position:unset!important; background-repeat:unset!important; background-size:unset!important; border-collapse:unset!important; border:unset!important; box-sizing:unset!important; break-after:unset!important; break-before:unset!important; break-inside:unset!important; caption-side:unset!important; clear:unset!important; clip:unset!important; column-count:unset!important; column-fill:unset!important; column-gap:unset!important; column-rule-color:unset!important; column-rule-style:unset!important; column-rule-width:unset!important; column-span:unset!important; column-width:unset!important; content:unset!important; counter-increment:unset!important; counter-reset:unset!important; empty-cells:unset!important; flex:unset!important; flex-flow:unset!important; float:unset!important; image-orientation:unset!important; isolation:unset!important; justify-content:unset!important; justify-items:unset!important; line-break:unset!important; line-height:18px!important; list-style:unset!important; mix-blend-mode:unset!important; object-fit:unset!important; object-position:unset!important; order:unset!important; orphans:unset!important; outline:unset!important; overflow:unset!important; position:unset!important; quotes:unset!important; tab-size:unset!important; table-layout:unset!important; text-align:unset!important; text-decoration-color:unset!important; text-decoration:unset!important; text-decoration-style:unset!important; text-emphasis-color:unset!important; text-emphasis-style:unset!important; text-indent:unset!important; text-overflow:unset!important; text-transform:unset!important; text-underline-position:unset!important; vertical-align:unset!important; white-space:unset!important; widows:unset!important; word-break:unset!important; z-index:unset!important; border-spacing:unset!important; word-spacing:unset!important; background-clip:unset!important; background-origin:unset!important; box-shadow:unset!important; text-combine-upright:unset!important">
This message came from outside your organization.</div>
</div>
<div style="height:0px; clear:both!important; display:block!important; visibility:hidden!important; line-height:0!important; font-size:0.01px!important">
</div>
</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
Hi, I did an update and compiled PETSc in Frontier with gnu compilers. When compiling my code with PETSc I see this new error pop up:</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div class="x_x_elementToProof" style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
Building mpich_gnu_frontier</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
ftn -c -m64 -O2 -g  -std=f2018 -frecursive -ffpe-summary=none -fall-intrinsics -cpp -DGITHASH_PP=\"FDS-6.9.1-894-g0b77ae0-FireX\" -DGITDATE_PP=\""Thu Jul 11 16:05:44 2024 -0400\"" -DBUILDDATE_PP=\""Jul 19, 2024  12:13:39\""   -DWITH_PETSC -I"/autofs/nccs-svm1_home1/vanellam/Software/petsc/include/"
 -I"/autofs/nccs-svm1_home1/vanellam/Software/petsc/arch-linux-frontier-opt-gcc2/include"  -fopenmp ../../Source/pres.f90</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
../../Source/pres.f90:2799:65:</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
<br>
</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
 2799 | CALL MATCREATESEQAIJ(PETSC_COMM_SELF,ZM%NUNKH,ZM%NUNKH,NNZ_7PT_H,PETSC_NULL_INTEGER,ZM%PETSC_MZ%A_H,PETSC_IERR)</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
      |                                                                 1</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
Error: Rank mismatch in argument ‘e’ at (1) (rank-1 and scalar)</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:"Courier New",monospace; font-size:12pt">
<br>
</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
It seems the use of PETSC_NULL_INTEGER is causing an issue now. From the PETSc docs this entry is nnz which can be an array or NULL. Has there been any change on the API for this routine? </div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
Thanks,</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
Marcos</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
<br>
</div>
<div style="font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; text-align:start; text-indent:0px; text-transform:none; white-space:normal; word-spacing:0px; text-decoration:none; font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt">
PS: I see some other erros in calls to PETSc routines, same type.</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</body>
</html>