[mpich-discuss] how to run jobs using IPv6?
Shuwei Zhao
shuweizhao1991 at gmail.com
Fri Dec 8 15:11:59 CST 2017
Hi Yanfei,
Just friendly reminder If mpich contain the functions below which only
supports IPv4, please replace them together
gethostbyname/getservbyname => getaddrinfo
gethostbyaddr => getnameinfo
inet_ntoa => inet_ntop
inet_aton => inet_pton
socket/bind/accept/recv/recvfrom/send/sendto/ => API argument list changed
I also comment under the ticket.
Thanks
Shuwei
On Wed, 6 Dec 2017 at 12:21 Shuwei Zhao <shuweizhao1991 at gmail.com> wrote:
> Hi yanfei
> Thanks for creating the ticket.
> Do you have any idea on how long this ticket will be handled and closed?
> I think for this ticket the code change should not be big. This feature is
> pretty urgent for my team.
> Thanks
>
> On Wed, 6 Dec 2017 at 12:07 Guo, Yanfei <yguo at anl.gov> wrote:
>
>> I have created an ticket to track it.
>> https://github.com/pmodels/mpich/issues/2889
>>
>> Yanfei Guo
>> Assistant Computer Scientist
>> MCS Division, ANL
>>
>>
>>
>> On 12/6/17, 11:52 AM, "Shuwei Zhao" <shuweizhao1991 at gmail.com> wrote:
>>
>> Are you going to use getaddrinfo instead to deprecate gethostbyname?
>>
>>
>> Thanks
>>
>> On Wed, 6 Dec 2017 at 11:50 Guo, Yanfei <yguo at anl.gov> wrote:
>>
>>
>> Hi Shuwei,
>>
>> The communication over IPv6 network is supported as long as the
>> lower-level network library supports it. However, MPICH uses gethostbyname
>> to translate hostnames to addresses in order to initialize the link which
>> is not working on pure IPv6.
>>
>> Yanfei Guo
>> Assistant Computer Scientist
>> MCS Division, ANL
>>
>>
>>
>> On 12/6/17, 11:46 AM, "Shuwei Zhao" <shuweizhao1991 at gmail.com> wrote:
>>
>> Hi Yanfei,
>>
>>
>> I ask this question months ago,but I was told IPv6 is supported in mpich
>> 3.*. So it's not supported?
>>
>>
>> Thanks
>> Shuwei
>>
>> On Wed, 6 Dec 2017 at 11:24 Guo, Yanfei <yguo at anl.gov> wrote:
>>
>>
>> Hi Carlos,
>>
>> MPICH currently uses gethostbyname which does not support IPv6, therefore
>> it won’t work on a pure IPv6 network.
>>
>> Best,
>>
>> Yanfei Guo
>> Assistant Computer Scientist
>> MCS Division, ANL
>>
>>
>>
>> On 11/22/17, 2:23 PM, "Carlos" <carlos at inf.ufpr.br> wrote:
>>
>> Is it possible to use mpich (3.3) with IPv6-only? We tried it here and got
>>
>> Fatal error in MPI_Init: Other MPI error, error stack:
>> MPIR_Init_thread(506)..............:
>> MPID_Init(211).....................: channel initialization failed
>> MPIDI_CH3_Init(89).................:
>> MPID_nem_init(324).................:
>> MPID_nem_tcp_init(178).............:
>> MPID_nem_tcp_get_business_card(425):
>> ckpt_restart(384)..................: gethostbyname failed, zuratkul
>> (errno 4)
>> *************
>>
>> This shows that mpich doesn't run without IPv4, which is our case... Is
>> there a
>> way to make it work in this situation?
>> _______________________________________________
>> discuss mailing list discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>>
>> _______________________________________________
>> discuss mailing list discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>>
>>
>>
>>
>> _______________________________________________
>> discuss mailing list discuss at mpich.org
>> To manage subscription options or unsubscribe:
>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>>
>>
>>
>>
>> _______________________________________________
>> 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/20171208/712efad3/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss
More information about the discuss
mailing list