Have you invoke :
>lamboot hostf
before mpirun?
bhaarat Sharma wrote:
>Hello
>
>When i try to run a simple hello world program on 4 processes using this command
>
>mpirun -np 4 hello++.out
>
>i get the following error
>Use of uninitialized value in subroutine entry at
>/opt/mpi-gm/bin/mpirun.ch_gm.pl line 850.
>Bad arg length for Socket::inet_ntoa, length is 0, should be 4 at
>/opt/mpi-gm/bin/mpirun.ch_gm.pl line 850.
>
>i looked at the mpirun.ch_gm.pl file and around line 850 this is there
> $slave_ip = inet_ntoa(inet_aton("$hosts[$i]"));
> $varenvp .= " GMPI_SLAVE=$slave_ip";
>
>Has any one seen this problem before?
>What should i try to fix this problem?
>
>Thanks
>--
>-bhaarat
>
>_______________________________________________
>This list is archived at http://www.lam-mpi.org/MailArchives/lam/
>
>
|