[mpich-discuss] Error in the mpdboot step

Prashantha Hebbar prashantha.hebbar at manipal.edu
Tue Feb 2 04:52:04 CST 2010


Hi Pavan,

Thanks for the reply.
I have tried running mpd as you suggested. But did not work for me.

mlscub1 at mlscub1-desktop:~$ mpdboot -n 2 -f mpd.hosts --ncpus=1
unable to obtain IP for host: mlscub1 at mlscub1-desktop.local
unable to obtain IP for host: mlscub2 at mlscub2-desktop.local
totalnum=2  numhosts=1
there are not enough hosts on which to start all processes

I tried it in other way round with specifying hostname of mpd master in
slave system. That works fine.
 
mlscub1 at mlscub1-desktop:~$ mpd &
[1] 22750

mlscub1 at mlscub1-desktop:~$ mpdtrace -l
mlscub1-desktop_50100 (172.16.17.24)

mlscub2 at mlscub2-desktop:~$ mpd -h mlscub1-desktop.local -p 50100 &
[1] 11418

mlscub2 at mlscub2-desktop:~$ mpdtrace -l
mlscub2-desktop_50514 (172.16.17.93)
mlscub1-desktop_50100 (172.16.17.24)

mlscub1 at mlscub1-desktop:~$ mpdtrace -l
mlscub1-desktop_50100 (172.16.17.24)
mlscub2-desktop_50514 (172.16.17.93)

So, can you please tell me what might have gone wrong? I do not think it is
a problem of my /etc/hosts setting.
mlscub1 at mlscub1-desktop:~$ cat /etc/hosts
127.0.0.1       localhost
172.16.17.24    mlscub1-desktop

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts

I have another problem with executing programs. I find something like
permission denied error messages.

mlscub1 at mlscub1-desktop:~$ mpiexec -n 5
/home/mlscub1/libraries/mpich2-1.2.1/examples/cpi.c
problem with execution of
/home/mlscub1/libraries/mpich2-1.2.1/examples/cpi.c  on  mlscub1-desktop:
[Errno 13] Permission denied
problem with execution of
/home/mlscub1/libraries/mpich2-1.2.1/examples/cpi.c  on  mlscub2-desktop:
[Errno 2] No such file or directory
problem with execution of
/home/mlscub1/libraries/mpich2-1.2.1/examples/cpi.c  on  mlscub2-desktop:
[Errno 2] No such file or directory
problem with execution of
/home/mlscub1/libraries/mpich2-1.2.1/examples/cpi.c  on  mlscub1-desktop:
[Errno 13] Permission denied
problem with execution of
/home/mlscub1/libraries/mpich2-1.2.1/examples/cpi.c  on  mlscub1-desktop:
[Errno 13] Permission denied

Please give suggestions to  solve this.

Thanking you in anticipation.

Regards,

Prashantha
Lecturer,
Manipal Life Sciences Center,
Manipal University,
Manipal, India

-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov
[mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Pavan Balaji
Sent: Monday, February 01, 2010 7:27 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Error in the mpdboot step

Prashantha,

On 02/01/2010 06:52 AM, Prashantha Hebbar wrote:
> I was trying to install MPICH2 in Unbutu systems. It seems, installation
> went well. But when I perform  mpdboot -n 1 -f mpd.hosts, I find
> (mpdtrace -l) only local mpd is running not the other machine mpd. I
> have transferred mpich2_install directory to my other system and
> configured the path. I have also done ssh_keygen to avoid password
> during ssh and configured /etc/dhcp3/dhclient.conf with hostname to do
> ssh with hostname. But still I am not able to cluster mpich2 of both the
> machines. I have attached a file containing the error information which
> I got during the process. Please find the attachment. So, can please
> tell me what has gone wrong? How to make it up and run?

You need to use:

% mpdboot -n <total_nodes> -f mpd.hosts --ncpus=<cores_on_local_node>

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji
_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


######################################################################
Attention: 
This e-mail message is privileged and confidential. If you are not the 
intended recipient please delete the message and notify the sender. 
Any views or opinions presented are solely those of the author.

######################################################################

Please do not print this email unless it is absolutely necessary. 
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 
www.manipal.edu


More information about the mpich-discuss mailing list