Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Pointers for understanding failure messages on NetBSD
From: Ralph Castain (rhc_at_[hidden])
Date: 2009-12-02 20:43:57


I would be leery of the hard-coded stuff. Reason: the IPv6 code has been a continual source of trouble, while the IPv4 code has worked quite well.

Could be a lot of reasons, especially the fact that the IPv6 code is hardly exercised by the devel team...so changes that cause problems are rarely detected right away.

:-)

On Dec 2, 2009, at 5:25 PM, Kevin.Buckley_at_[hidden] wrote:

>> I believe this line is incorrect:
>>
>>> opal_list_append(&opal_if_list, (opal_list_item_t*)
>>> intf_ptr);
>>
>> It needs to be
>>
>> opal_list_append(&opal_if_list, &intf_ptr->super);
>
> Didn't seem to change things.
>
> Any thoughts on the:
>
> /*
> * hardcoded netmask, adrian says that's ok
> */
> intf.if_mask = 64;
> intf.if_flags = cur_ifaddrs->ifa_flags;
>
> which I simply copied over from the IPv6 block?
>
> I note that the "non-NetBSD" inet stuff does something a bit more
> convoluted, vis:
>
> /* generate CIDR and assign to netmask */
> intf.if_mask = prefix(((struct sockaddr_in*)
> &ifr->ifr_addr)->sin_addr.s_addr);
>
>
> --
> Kevin M. Buckley Room: CO327
> School of Engineering and Phone: +64 4 463 5971
> Computer Science
> Victoria University of Wellington
> New Zealand
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users