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

Dhabaleswar Panda panda at cse.ohio-state.edu
Thu Oct 30 15:09:07 EDT 2008


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
>
>
>



More information about the mvapich-discuss mailing list