[mpich-discuss] How to specify which Ethernet / IP interface to use?
Jonathon Anderson
janderson at ciq.co
Fri Jul 1 08:40:40 CDT 2022
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.
~jonathon
On Fri, Jul 1, 2022, 7:35 AM Zhou, Hui <zhouh at anl.gov> wrote:
> Hi Jonathon,
>
> Since the binary name is "mpich-ofi-gnu9-ohpc-3.4.2-3.1.ohpc.2.4.x86_64",
> I assume it is mpich -3.4.2 configured with ch4:ofi. We no longer use
> mpich2 to refer to the project, just mpich.
>
> With ch4:ofi, try setting the following environment variables:
> FI_PROVIDER=tcp
> FI_TCP_IFACE=eth0
>
> 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.
>
> Best wishes,
> --
> Hui
> ------------------------------
> *From:* Jonathon Anderson via discuss <discuss at mpich.org>
> *Sent:* Thursday, June 30, 2022 10:49 PM
> *To:* discuss at mpich.org <discuss at mpich.org>
> *Cc:* Jonathon Anderson <janderson at ciq.co>
> *Subject:* Re: [mpich-discuss] How to specify which Ethernet / IP
> interface to use?
>
> I'm trying to use mpich2 [1] on a cluster of compute nodes each of
> which has two Ethernet interfaces: one, an encumbered public /
> Internet interface, and another a private / intranet interface. mpich
> is defaulting to trying to use the public interface, which then hangs
> indefinitely with both nodes in my job stuck listening via UDP.
>
> I experience the same behavior whether I use mpiexec or srun --mpi=pmi2.
>
> How do I tell mpich which interface to use?
>
> Thanks!
>
> ~jonathon
>
>
> [1]: mpich-ofi-gnu9-ohpc-3.4.2-3.1.ohpc.2.4.x86_64
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20220701/96b8e914/attachment-0001.html>
More information about the discuss
mailing list