<!-- 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 Barry and Satish. Trying it now. From: Barry Smith <bsmith@ petsc. dev> Sent: Monday, April 29, 2024 12: 15 PM To: Vanella, Marcos (Fed) <marcos. vanella@ nist. gov> Cc: balay@ mcs. anl. gov <balay@ mcs. anl. gov>; petsc-users
</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="pfptBannerpsvund5" 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="pfptBannerpsvund5" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannerpsvund5" 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="pfptBannerpsvund5" 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>
  #pfptBannerpsvund5 { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #D0D8DC !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtonpsvund5:hover, .pfptPrimaryButtonpsvund5:focus {
    background-color: #b4c1c7 !important; }
  .pfptPrimaryButtonpsvund5: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);">
Thank you Barry and Satish. </div>
<div class="elementToProof" style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Trying it now.</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> Barry Smith <bsmith@petsc.dev><br>
<b>Sent:</b> Monday, April 29, 2024 12:15 PM<br>
<b>To:</b> Vanella, Marcos (Fed) <marcos.vanella@nist.gov><br>
<b>Cc:</b> balay@mcs.anl.gov <balay@mcs.anl.gov>; petsc-users <petsc-users@mcs.anl.gov><br>
<b>Subject:</b> Re: [petsc-users] Asking SuiteSparse to use Metis at PETSc config time</font>
<div> </div>
</div>
<div style="line-break:after-white-space">
<div><br>
</div>
--with-x=0
<div><br id="x_lineBreakAtBeginningOfMessage">
<div><br>
<blockquote type="cite">
<div>On Apr 29, 2024, at 12:05 PM, Vanella, Marcos (Fed) via petsc-users <petsc-users@mcs.anl.gov> wrote:</div>
<br class="x_Apple-interchange-newline">
<div>
<div dir="ltr" id="x_pfptBanneryyeb3uv" 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_pfptBanneryyeb3uv" 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_pfptBanneryyeb3uv" 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_pfptBanneryyeb3uv" 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_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 Satish, </div>
<div class="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">
Ok thank you for clarifying. I don't need to include Metis in the config phase then (not using anywhere else).</div>
<div class="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">
Is there a way I can configure PETSc to not require X11 (Xgraph functions, etc.)?</div>
<div class="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">
Thank you,</div>
<div class="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">
Marcos</div>
<div id="x_appendonsend" style="font-family:Helvetica; font-size:18px; 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">
</div>
<hr tabindex="-1" style="font-family:Helvetica; font-size:18px; font-style:normal; font-variant-caps:normal; font-weight:400; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; text-decoration:none; display:inline-block; width:1120.125px">
<span style="font-family:Helvetica; font-size:18px; 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; float:none; display:inline!important"></span>
<div id="x_divRplyFwdMsg" dir="ltr" style="font-family:Helvetica; font-size:18px; 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 face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b><span class="x_Apple-converted-space"> </span>Satish Balay <<a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a>><br>
<b>Sent:</b><span class="x_Apple-converted-space"> </span>Monday, April 29, 2024 12:00 PM<br>
<b>To:</b><span class="x_Apple-converted-space"> </span>Vanella, Marcos (Fed) <<a href="mailto:marcos.vanella@nist.gov">marcos.vanella@nist.gov</a>><br>
<b>Cc:</b><span class="x_Apple-converted-space"> </span><a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a><span class="x_Apple-converted-space"> </span><<a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a>><br>
<b>Subject:</b><span class="x_Apple-converted-space"> </span>Re: [petsc-users] Asking SuiteSparse to use Metis at PETSc config time</font>
<div> </div>
</div>
<div class="x_BodyFragment" style="font-family:Helvetica; font-size:18px; 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 size="2"><span style="font-size:11pt">
<div class="x_PlainText"><br>
# Other CMakeLists.txt files inside SuiteSparse are from dependent packages<br>
# (LAGraph/deps/json_h, GraphBLAS/cpu_features, and CHOLMOD/SuiteSparse_metis<br>
# which is a slightly revised copy of METIS 5.0.1) but none of those<br>
# CMakeLists.txt files are used to build any package in SuiteSparse.<br>
<br>
<br>
So suitesparse includes a copy of metis sources - i.e does not use external metis library?<br>
<br>
>><br>
balay@pj01:~/petsc/arch-linux-c-debug/lib$ nm -Ao *.so |grep METIS_PartGraphKway<br>
<a href="https://urldefense.us/v3/__http://libcholmod.so/__;!!G_uCfscf7eWS!YIYZ1vTytYFBE5oIEuet3ePXOjBBGc_S-RV9ifF34mCwbBIPNMHUWhE0UXHsPrrNvUcv_j84iDub1KspAUwetDdPCYFkOISg$" originalsrc="http://libcholmod.so/" shash="Nb7M/pNn/Oa+sRalmHujPU+B33uoK6Hll3vger06I6TerL7mXdknopBwzkhsoRVN02fnrt743pHjpyzCYdC8PiygvIuYwCZ4LC6y8yIseqkK8beowow+QgrHGId63M/s92Lu/e2Y5aDSlYI+uQEN3KCeDK2e7ACqNM8uIBAc/pk=">libcholmod.so</a>:000000000026e500
 T SuiteSparse_metis_METIS_PartGraphKway<br>
<<<<br>
<br>
And metis routines are already in -lcholmod [with some namespace fixes]<br>
<br>
Satish<br>
<br>
On Mon, 29 Apr 2024, Vanella, Marcos (Fed) via petsc-users wrote:<br>
<br>
> Hi all, I'm wondering.. Is it possible to get SuiteSparse to use Metis at configure time with PETSc? Using Metis for reordering at symbolic factorization phase gives lower filling for factorization matrices than AMD in some cases (faster solution phase).<br>
> I tried this with gcc compilers and openmpi:<br>
><span class="x_Apple-converted-space"> </span><br>
> $./configure LDFLAGS="-ld_classic" COPTFLAGS="-O2 -g" CXXOPTFLAGS="-O2 -g" FOPTFLAGS="-O2 -g" --with-debugging=0 --with-shared-libraries=0 --download-metis --download-suitesparse --download-hypre --download-fblaslapack --download-make --force<br>
><span class="x_Apple-converted-space"> </span><br>
> and get for SuiteSparse:<br>
><span class="x_Apple-converted-space"> </span><br>
> metis:<br>
>   Version:    5.1.0<br>
>   Includes:   -I/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/include<br>
>   Libraries:  -Wl,-rpath,/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib -L/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib -lmetis<br>
> SuiteSparse:<br>
>   Version:    7.7.0<br>
>   Includes:   -I/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/include/suitesparse -I/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/include<br>
>   Libraries:  -Wl,-rpath,/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib -L/Users/mnv/Documents/Software/petsc/arch-darwin-opt-gcc/lib -lspqr -lumfpack -lklu -lcholmod -lbtf -lccolamd -lcolamd -lcamd -lamd -lsuitesparseconfig<br>
><span class="x_Apple-converted-space"> </span><br>
> for which I see Metis will be compiled but I don't have -lmetis linking in the SuiteSparse Libraries.<br>
> Thank you for your time!<br>
> Marcos<br>
><span class="x_Apple-converted-space"> </span></div>
</span></font></div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</body>
</html>