[mvapich-discuss] Is negative host_id number from gethostbyname() a problem?

Jaidev Sridhar sridharj at cse.ohio-state.edu
Thu Oct 30 15:47:43 EDT 2008


Hi Terrence,

To add to what Dr. Panda said, the host_id -486364992 is just a 32 bit
representation of the IP address 192.168.2.227. It does not appear to be
the problem here.

-Jaidev

On Thu, 2008-10-30 at 15:09 -0400, Dhabaleswar Panda wrote:
> Hi Terrence,
> 
> Thanks for your report. We are taking a look at it. It looks like you are
> using make.mvapich.gen2 to run your applications on systems with
> infinipath HTX cards. Not sure whether you are aware of a different
> interface in MVAPICH 1.1 which is specifically designed for infinipath
> cards. This design is on top of the PSM layer provided by QLogic and
> delivers better performance. You need to use make.mvapich.psm script for
> this. More details are available in mvapich 1.1 user guide from the
> following URL:
> 
> http://mvapich.cse.ohio-state.edu/support/mvapich_user_guide-1.1.html#x1-120004.4.3
> 
> Thanks,
> 
> DK
> 
> 
> On Thu, 30 Oct 2008 Terrence.LIAO at total.com wrote:
> 
> > Dear Mvapich,
> >
> > I am building mvapich-1.1rc1 for infinipath HTX card with CentOS5.2 and
> > OFED1.4 using make.mavpich.gen2.  The build is successfully, but the run
> > fails,  it never passes the MPI_Init().  It seems fall into an infinite
> > loop.   I check the gethostbyname() using this code
> >                  struct hostent *he;
> >                  he = gethostbyname (myname);
> >                  int host_id = ((struct in_addr *)
> > he->h_addr_list[0])->s_addr;
> >                  printf("host_id: %d\n", host_id);
> >
> > and get
> >                 host_id: -486364992
> >
> > Will this the root cause, and any advice what I should do to fix this
> > problem?
> >
> >
> > Thank you very much.
> >
> > -- Terrence
> > --------------------------------------------------------
> > Terrence Liao, Ph.D.
> > Research Computer Scientist
> > TOTAL E&P RESEARCH & TECHNOLOGY USA, LLC
> > 1201 Louisiana, Suite 1800, Houston, TX 77002
> > Tel: 713.647.3498  Fax: 713.647.3638
> > Email: terrence.liao at total.com
> >
> >
> >
> 
> _______________________________________________
> mvapich-discuss mailing list
> mvapich-discuss at cse.ohio-state.edu
> http://mail.cse.ohio-state.edu/mailman/listinfo/mvapich-discuss
> 



More information about the mvapich-discuss mailing list