<div dir="auto">Thank you very much for this information, Hi! Can you point me to where these environment variables are documented for future reference? I tried to find something like this and was unable.<div dir="auto"><br></div><div dir="auto">~jonathon</div><div dir="auto"><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jul 1, 2022, 7:35 AM Zhou, Hui <<a href="mailto:zhouh@anl.gov">zhouh@anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hi Jonathon,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Since the binary name is "<font size="2"><span style="font-size:11pt">mpich-ofi-gnu9-ohpc-3.4.2-3.1.ohpc.2.4.x86_64</span></font>", I assume it is mpich -3.4.2 configured with ch4:ofi. We no longer use mpich2 to refer to the project, just mpich.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
With ch4:ofi, try setting the following environment variables:</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
    FI_PROVIDER=tcp</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
    FI_TCP_IFACE=eth0</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
That assumes you want to use the tcp provider and the private interface is eth0. There are other providers that you may choose and the iface selection variables will be different. You can set MPIR_CVAR_DEBUG_SUMMARY=1 to show the list of providers mpich probes
 during init.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Best wishes,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
-- <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Hui<br>
</div>
<div id="m_-5821644481285228186appendonsend"></div>
<hr style="display:inline-block;width:98%">
<div id="m_-5821644481285228186divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Jonathon Anderson via discuss <<a href="mailto:discuss@mpich.org" target="_blank" rel="noreferrer">discuss@mpich.org</a>><br>
<b>Sent:</b> Thursday, June 30, 2022 10:49 PM<br>
<b>To:</b> <a href="mailto:discuss@mpich.org" target="_blank" rel="noreferrer">discuss@mpich.org</a> <<a href="mailto:discuss@mpich.org" target="_blank" rel="noreferrer">discuss@mpich.org</a>><br>
<b>Cc:</b> Jonathon Anderson <<a href="mailto:janderson@ciq.co" target="_blank" rel="noreferrer">janderson@ciq.co</a>><br>
<b>Subject:</b> Re: [mpich-discuss] How to specify which Ethernet / IP interface to use?</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>I'm trying to use mpich2 [1] on a cluster of compute nodes each of<br>
which has two Ethernet interfaces: one, an encumbered public /<br>
Internet interface, and another a private / intranet interface. mpich<br>
is defaulting to trying to use the public interface, which then hangs<br>
indefinitely with both nodes in my job stuck listening via UDP.<br>
<br>
I experience the same behavior whether I use mpiexec or srun --mpi=pmi2.<br>
<br>
How do I tell mpich which interface to use?<br>
<br>
Thanks!<br>
<br>
~jonathon<br>
<br>
<br>
[1]: mpich-ofi-gnu9-ohpc-3.4.2-3.1.ohpc.2.4.x86_64<br>
_______________________________________________<br>
discuss mailing list     <a href="mailto:discuss@mpich.org" target="_blank" rel="noreferrer">discuss@mpich.org</a><br>
To manage subscription options or unsubscribe:<br>
<a href="https://lists.mpich.org/mailman/listinfo/discuss" target="_blank" rel="noreferrer">https://lists.mpich.org/mailman/listinfo/discuss</a><br>
</div>
</span></font></div>
</div>

</blockquote></div>