<head><!-- BaNnErBlUrFlE-HeAdEr-start -->
<style>
  #pfptBannertbji6a6 { all: revert !important; display: block !important; 
    visibility: visible !important; opacity: 1 !important; 
    background-color: #CFD3D7 !important; 
    max-width: none !important; max-height: none !important }
  .pfptPrimaryButtontbji6a6:hover, .pfptPrimaryButtontbji6a6:focus {
    background-color: #adb0b4 !important; }
  .pfptPrimaryButtontbji6a6:active {
    background-color: #8c8e91 !important; }
  html:root, html:root>body { all: revert !important; display: block !important;
    visibility: visible !important; opacity: 1 !important; }
</style>

<!-- BaNnErBlUrFlE-HeAdEr-end -->
</head><!-- 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;">
Can you use mvapich with ofi and set ofi up to use psm2? On Tue, 9 Sept 2025, 10: 25 Chuck Cranor via Mvapich-discuss, <mvapich-discuss@ lists. osu. edu> wrote: On Tue, Sep 09, 2025 at 09: 32: 08AM +0000, Panda, Dhabaleswar via Mvapich-discuss</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;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" lang="en"><tr><td>
    <table border="0" cellspacing="0" cellpadding="0" style="padding: 0px 10px 5px 6px; width: 100%; border-radius:4px; border-top:4px solid #8c8e91;background-color:#CFD3D7;"><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>
      <![if ie]><br clear="all"><![endif]>
      <table align="right" border="0" cellspacing="0" cellpadding="0" style="padding: 4px 0px 4px 0px"><tr>
        <td style="direction: ltr">  <a target="_blank" href="https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vYQd06pJjE9AAnY51sVq2WcSRabC1Q2K78tDyoWxUFFENe3rPylapxRu2ELjgrpUPjBifOwDhRdgPzfkRi_6ysuRH0XR5yjdgzKEq7B1MF64QZl2bnSaIs25u2m3ILuuLMcO8g$" style="mso-padding-alt: 7.5px; padding: 7.5px; border-radius: 2px; border: 1.5px solid #666666; "><strong style="font-weight: normal; color: #000000; text-decoration: none; font-family: 'Arial', sans-serif; font-size:14px; line-height: 40px; ">  Report Suspicious  </strong></a>  ‌ </td>
      </tr></table>
    </td></tr></table>
  </td></tr></table>
<![endif]-->

<![if !((ie)|(mso))]>
  <div dir="ltr" lang="en" id="pfptBannertbji6a6" 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: #CFD3D7 !important; background-color: #CFD3D7; border-top: 4px solid #8c8e91 !important; border-top: 4px solid #8c8e91;">
    <div id="pfptBannertbji6a6" style="all: unset !important; float:left !important; display:block !important; margin: 0px 0px 1px 0px !important; max-width: 600px !important;">
      <div id="pfptBannertbji6a6" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #CFD3D7 !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="pfptBannertbji6a6" style="all: unset !important; display:block !important; visibility: visible !important; background-color: #CFD3D7 !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 id="pfptBannertbji6a6" style="all: unset !important; float: right !important; display: block !important; display: block; margin: 0px 0px 0px 16px !important; text-align: right !important; width: fit-content !important;">
<a id="pfptBannertbji6a6" href="https://us-phishalarm-ewt.proofpoint.com/EWT/v1/KGKeukY!vYQd06pJjE9AAnY51sVq2WcSRabC1Q2K78tDyoWxUFFENe3rPylapxRu2ELjgrpUPjBifOwDhRdgPzfkRi_6ysuRH0XR5yjdgzKEq7B1MF64QZl2bnSaIs25u2m3ILuuLMcO8g$"
    style="all: unset !important; display: inline-block !important; text-decoration: none">
    <div class="pfptPrimaryButtontbji6a6" style="display: inline-block !important; display: inline-block; visibility: visible !important; opacity: 1 !important; color: #000000 !important; color: #000000; font-family: 'Arial', sans-serif !important; font-family: 'Arial', sans-serif; font-size: 14px !important; font-weight: normal !important; text-decoration: none !important; border-radius: 2px !important; padding: 7.5px 16px !important; margin: 3px 0 3px 16px !important; white-space: nowrap !important; width: fit-content !important;
        border: 1px solid #666666">
        Report Suspicious
    </div>
</a>
    </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;max-height:0px;opacity:0;overflow:hidden;">ZjQcmQRYFpfptBannerEnd</div>
<!-- Email Banner : END -->

<!-- BaNnErBlUrFlE-BoDy-end -->
<div dir="auto">Can you use mvapich with ofi and set ofi up to use psm2?</div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Tue, 9 Sept 2025, 10:25 Chuck Cranor via Mvapich-discuss, <<a href="mailto:mvapich-discuss@lists.osu.edu">mvapich-discuss@lists.osu.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Tue, Sep 09, 2025 at 09:32:08AM +0000, Panda, Dhabaleswar via Mvapich-discuss wrote:<br>
> Please note that MVAPICH2 2.3.7 version is getting old. The latest is<br>
> the 4.x series. Please start using the latest versions.<br>
<br>
<br>
the 4.x series does not support acceleration with our legacy hardware<br>
(we've got a ~500 node cluster with Intel/Qlogic TrueScale gear that<br>
uses the "ib_qib" linux kernel driver and the "psm" library in userland).<br>
<br>
<br>
2.3.7 still works with this setup, modulo some issues.  e.g. bad<br>
usage of snprintf() in src/mpid/ch3/channels/common/src/affinity/hwloc_bind.c<br>
can cause a "*** buffer overflow detected ***" crash at startup.  it does this:<br>
<br>
    char mapping[_POSIX2_LINE_MAX];<br>
    // ...<br>
    j += snprintf (mapping+j, _POSIX2_LINE_MAX, ":");<br>
<br>
if j > 0 the second arg to snprintf shouldn't be _POSIX2_LINE_MAX.<br>
i fixed this by adding a wrapper function over snprintf() that<br>
catches the overflow.   it seems like this error is triggered with<br>
newer tool chains (old code works fine on ubuntu22, crashes on<br>
ubuntu24).<br>
<br>
also, if you configure mvapich2 "--with-pmi=pmix --with-pm=slurm" <br>
you may end up crashing due to PMIx_Init() failing.   this is due<br>
to being linked to multiple incompatable versions of hwloc at the<br>
same time (i.e. mvapich2 builds its own internal hwloc -- default<br>
is "--with-hwloc=v1" and then it links to libpmix.so which is linked<br>
to the system installed hwloc [a v2 hwloc]).   i found that PMIx_Init()'s<br>
call to hwloc_topology_init() going to the v1 version compiled with mvapich<br>
and then it's call to hwloc_topology_set_io_types_filter() going<br>
to the v2 version in the system installed shared libhwloc.so lib.<br>
i fixed this by adding a new "--with-hwloc=v2ext" config option<br>
to mvapich2 build to tell it to use the system libhwloc.so and not<br>
build any hwloc stuff from contrib.<br>
<br>
<br>
chuck<br>
_______________________________________________<br>
Mvapich-discuss mailing list<br>
<a href="mailto:Mvapich-discuss@lists.osu.edu" target="_blank" rel="noreferrer">Mvapich-discuss@lists.osu.edu</a><br>
<a href="https://lists.osu.edu/mailman/listinfo/mvapich-discuss" rel="noreferrer noreferrer" target="_blank">https://lists.osu.edu/mailman/listinfo/mvapich-discuss</a><br>
</blockquote></div>