List Info

Thread: Re: LAM: lamboot is ok, mpirun is not




Re: LAM: lamboot is ok, mpirun is not
user name
2007-05-23 22:32:29

Try some simple tests:

- Does "tping -c 3" run successfully? (It should ping all the lamd's)
 
[teruftoscar test]$ tping -c 3 n0-13
  1 byte from 13 remote nodes and 1 local node: 0.006 secs
  1 byte from 13 remote nodes and 1 local node: 0.005 secs
 ; 1 byte from 13 remote nodes and 1 local node: 0.005 secs

3 messages, 3 bytes (0.003K), 0.016 secs (0.368K/sec)
roundtrip min/avg/max: 0.005/0.005/0.006
 

- Does "lamexec N hostname" run successfully? (It should run
";hostname" on all the booted nodes)

No, it doesn't work. It only show headnode's hostname. See below:

[teruftoscar ~]$ lamexec N hostname
uftoscar.latech
<freeze>

I, however, can execute "cexec hostname&quot; with no problem.

- When you "mpirun -np 15 ring.out&quot;, do you see ring.out executing on
all the nodes? (i.e., if you ssh into each of the nodes and run ps,
do you see it running?

I only see one ring.out run on headnode, no ring.out running on other nodes.


Thanks
Kulathep
Re: LAM: lamboot is ok, mpirun is not
country flaguser name
United States
2007-05-24 09:04:10
That is just weird -- I don't think I've seen a case where
tping  
worked (implying that inter-lamd communication is working),
but  
running applications did not.

The only thing that I can think of is that there is some
firewalling  
in place that only allows arbitrary UDP traffic through...? 
(inter- 
lamd traffic is UDP, not TCP)  That doesn't seem to make
sense,  
though, if MPICH works (cexec uses ssh, which is most
certainly  
allowed).  But can you triple check that there are no
firewalls tcp  
rules in place that restrict UDP/TCP traffic?  (e.g.,
iptables)

Also try running tping / mpirun / lamexec from a node other
than the  
origin (i.e., the node you lambooted from).


On May 23, 2007, at 11:32 PM, K. Charoenpornwattana Ter
wrote:

> Try some simple tests:
>
> - Does "tping -c 3" run successfully? (It
should ping all the lamd's)
>
> [teruftoscar test]$ tping -c 3 n0-13
>   1 byte from 13 remote nodes and 1 local node: 0.006
secs
>   1 byte from 13 remote nodes and 1 local node: 0.005
secs
>   1 byte from 13 remote nodes and 1 local node: 0.005
secs
>
> 3 messages, 3 bytes (0.003K), 0.016 secs (0.368K/sec)
> roundtrip min/avg/max: 0.005/0.005/0.006
>
>
> - Does "lamexec N hostname" run successfully?
(It should run
> "hostname" on all the booted nodes)
>
> No, it doesn't work. It only show headnode's hostname.
See below:
>
> [teruftoscar ~]$ lamexec N hostname
> uftoscar.latech
> <freeze>
>
> I, however, can execute "cexec hostname" with
no problem.
>
> - When you "mpirun -np 15 ring.out", do you
see ring.out executing on
> all the nodes? (i.e., if you ssh into each of the nodes
and run ps,
> do you see it running?
>
> I only see one ring.out run on headnode, no ring.out
running on  
> other nodes.
>
>
> Thanks
> Kulathep
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/


-- 
Jeff Squyres
Cisco Systems

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

Re: LAM: lamboot is ok, mpirun is not
user name
2007-05-24 14:47:26
On 5/24/07, Jeff Squyres < jsquyrescisco.com">jsquyrescisco.com> wrote:
That is just weird -- I don't think I've seen a case where tping
worked (implying that inter-lamd communication is working), but
running applications did not.

Yes, it's kinda weird. I just noticed something, After running mpirun, tping doesn't work anymore, See below.

[teruftoscar test]$ lamboot -v host
LAM 7.1.3/MPI 2 C++/ROMIO - Indiana University

n-1&lt;12514> ssi:boot:base:linear: booting n0 (uftoscar)
...
n-1<12514&gt; ssi:boot:base:linear: finished
[teruftoscar test]$ tping -c 3 n0-13
&nbsp; 1 byte from 13 remote nodes and 1 local node: 0.007 secs
&nbsp; 1 byte from 13 remote nodes and 1 local node: 0.005 secs
&nbsp; 1 byte from 13 remote nodes and 1 local node: 0.006 secs

3 messages, 3 bytes (0.003K), 0.017 secs (0.340K/sec)
roundtrip min/avg/max: 0.005/0.006/0.007
[teruftoscar test]$ mpicc ring.c -o ring.out&nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp;  <---LAM's mpicc
[teruftoscar test]$ mpirun -np 13 ring.out
<freeze> (so I pressed Ctrl-C to cancel)

********************* WARNING ***********************
This is a vulnerable region. Exiting the application
now may lead to improper cleanup of temporary objects
To exit the application, press Ctrl-C again
********************* WARNING ************************
[teruftoscar test]$ tping -c 3 n0-13
&lt;freeze>; :-(

The only thing that I can think of is that there is some firewalling
in place that only allows arbitrary UDP traffic through...? &nbsp;(inter-
lamd traffic is UDP, not TCP)  That doesn't seem to make sense,
though, if MPICH works (cexec uses ssh, which is most certainly
allowed).&nbsp; But can you triple check that there are no firewalls tcp
rules in place that restrict UDP/TCP traffic?&nbsp; (e.g., iptables)

I did. no firewall is running on any nodes.

[rootuftoscar ~]# service iptables status
Firewall is stopped.
[rootuftoscar ~]# service pfilter status
pfilter is stopped
[rootuftoscar ~]# cexec service iptables status
************************* oscar_cluster *************************
--------- oscarnode1---------
Firewall is stopped.
.....
--------- oscarnode13---------
Firewall is stopped.

[rootuftoscar ~]# cexec service pfilter status  &nbsp; <-- I already removed pfilter.
************************* oscar_cluster *************************
--------- oscarnode1---------
pfilter: unrecognized service
....
--------- oscarnode13---------
pfilter: unrecognized service
&nbsp;
Also try running tping / mpirun / lamexec from a node other than the
origin (i.e., the node you lambooted from).

I did. same problem.

On May 23, 2007, at 11:32 PM, K. Charoenpornwattana Ter wrote:

&gt; Try some simple tests:
>;
> - Does "tping -c 3" run successfully? (It should ping all the lamd's)
>
> [teruftoscar test]$ tping -c 3 n0-13
>  ; 1 byte from 13 remote nodes and 1 local node: 0.006 secs
>&nbsp;  1 byte from 13 remote nodes and 1 local node: 0.005 secs
>&nbsp;  1 byte from 13 remote nodes and 1 local node: 0.005 secs
>;
> 3 messages, 3 bytes (0.003K), 0.016 secs (0.368K/sec)
> roundtrip min/avg/max: 0.005/0.005/0.006
>;
>
> - Does "lamexec N hostname&quot; run successfully? (It should run
> "hostname" on all the booted nodes)
&gt;
> No, it doesn't work. It only show headnode&#39;s hostname. See below:
>;
> [teruftoscar ~]$ lamexec N hostname
&gt; uftoscar.latech
> <freeze>
>
&gt; I, however, can execute "cexec hostname&quot; with no problem.
>
> - When you "mpirun -np 15 ring.out&quot;, do you see ring.out executing on
> all the nodes? (i.e., if you ssh into each of the nodes and run ps,
> do you see it running?
&gt;
> I only see one ring.out run on headnode, no ring.out running on
> other nodes.
>;
>
> Thanks
>; Kulathep
&gt; _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/


--
Jeff Squyres
Cisco Systems

_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/

Re: LAM: lamboot is ok, mpirun is not
user name
2007-05-24 15:05:45
Check to see if the lamd's are still running on all nodes
when this  
problem occurs.  If they are dying for some reason (or being
killed),  
that could explain this behavior.


On May 24, 2007, at 3:47 PM, K. Charoenpornwattana Ter
wrote:

> On 5/24/07, Jeff Squyres <jsquyrescisco.com> wrote:
> That is just weird -- I don't think I've seen a case
where tping
> worked (implying that inter-lamd communication is
working), but
> running applications did not.
>
> Yes, it's kinda weird. I just noticed something, After
running  
> mpirun, tping doesn't work anymore, See below.
>
> [teruftoscar test]$ lamboot -v host
> LAM 7.1.3/MPI 2 C++/ROMIO - Indiana University
>
> n-1<12514> ssi:boot:base:linear: booting n0
(uftoscar)
> ...
> n-1<12514> ssi:boot:base:linear: finished
> [teruftoscar test]$ tping -c 3 n0-13
>   1 byte from 13 remote nodes and 1 local node: 0.007
secs
>   1 byte from 13 remote nodes and 1 local node: 0.005
secs
>   1 byte from 13 remote nodes and 1 local node: 0.006
secs
>
> 3 messages, 3 bytes (0.003K), 0.017 secs (0.340K/sec)
> roundtrip min/avg/max: 0.005/0.006/0.007
> [teruftoscar test]$ mpicc ring.c -o ring.out             
<--- 
> LAM's mpicc
> [teruftoscar test]$ mpirun -np 13 ring.out
> <freeze> (so I pressed Ctrl-C to cancel)
>
> ********************* WARNING ***********************
> This is a vulnerable region. Exiting the application
> now may lead to improper cleanup of temporary objects
> To exit the application, press Ctrl-C again
> ********************* WARNING ************************
> [teruftoscar test]$ tping -c 3 n0-13
> <freeze> :-(
>
> The only thing that I can think of is that there is
some firewalling
> in place that only allows arbitrary UDP traffic
through...?  (inter-
> lamd traffic is UDP, not TCP)  That doesn't seem to
make sense,
> though, if MPICH works (cexec uses ssh, which is most
certainly
> allowed).  But can you triple check that there are no
firewalls tcp
> rules in place that restrict UDP/TCP traffic?  (e.g.,
iptables)
>
> I did. no firewall is running on any nodes.
>
> [rootuftoscar ~]# service iptables status
> Firewall is stopped.
> [rootuftoscar ~]# service pfilter status
> pfilter is stopped
> [rootuftoscar ~]# cexec service iptables status
> ************************* oscar_cluster
*************************
> --------- oscarnode1---------
> Firewall is stopped.
> .....
> --------- oscarnode13---------
> Firewall is stopped.
>
> [rootuftoscar ~]# cexec service pfilter status    <-- I
already  
> removed pfilter.
> ************************* oscar_cluster
*************************
> --------- oscarnode1---------
> pfilter: unrecognized service
> ....
> --------- oscarnode13---------
> pfilter: unrecognized service
>
> Also try running tping / mpirun / lamexec from a node
other than the
> origin (i.e., the node you lambooted from).
>
> I did. same problem.
>
> On May 23, 2007, at 11:32 PM, K. Charoenpornwattana Ter
wrote:
>
> > Try some simple tests:
> >
> > - Does "tping -c 3" run successfully?
(It should ping all the  
> lamd's)
> >
> > [teruftoscar test]$ tping -c 3 n0-13
> >   1 byte from 13 remote nodes and 1 local node:
0.006 secs
> >   1 byte from 13 remote nodes and 1 local node:
0.005 secs
> >   1 byte from 13 remote nodes and 1 local node:
0.005 secs
> >
> > 3 messages, 3 bytes (0.003K), 0.016 secs
(0.368K/sec)
> > roundtrip min/avg/max: 0.005/0.005/0.006
> >
> >
> > - Does "lamexec N hostname" run
successfully? (It should run
> > "hostname" on all the booted nodes)
> >
> > No, it doesn't work. It only show headnode's
hostname. See below:
> >
> > [teruftoscar ~]$ lamexec N hostname
> > uftoscar.latech
> > <freeze>
> >
> > I, however, can execute "cexec hostname"
with no problem.
> >
> > - When you "mpirun -np 15 ring.out", do
you see ring.out  
> executing on
> > all the nodes? (i.e., if you ssh into each of the
nodes and run ps,
> > do you see it running?
> >
> > I only see one ring.out run on headnode, no
ring.out running on
> > other nodes.
> >
> >
> > Thanks
> > Kulathep
> > _______________________________________________
> > This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
>
>
> --
> Jeff Squyres
> Cisco Systems
>
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/
>
> _______________________________________________
> This list is archived at http://www.l
am-mpi.org/MailArchives/lam/


-- 
Jeff Squyres
Cisco Systems

_______________________________________________
This list is archived at http://www.l
am-mpi.org/MailArchives/lam/

Re: LAM: lamboot is ok, mpirun is not
user name
2007-05-24 16:32:46
Hi,

lamd on every nodes in the cluster are running (before and after running mpirun on head node). see below:

[teruftoscar ~]$ cexec "ps -ef | grep lamd | grep -v grep"
************************* oscar_cluster *************************
--------- oscarnode1---------
ter &nbsp; &nbsp; &nbsp; 5292   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 1 -o 0
--------- oscarnode2---------
ter &nbsp; &nbsp; &nbsp; 5002   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam- 7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 2 -o 0
--------- oscarnode3---------
ter &nbsp; &nbsp; &nbsp; 5002   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 3 -o 0
--------- oscarnode4---------
ter &nbsp; &nbsp; &nbsp; 5002   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 4 -o 0
--------- oscarnode5---------
ter &nbsp;   ;  5002   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 5 -o 0
--------- oscarnode6---------
ter &nbsp; &nbsp; &nbsp; 5058   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam- 7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 6 -o 0
--------- oscarnode7---------
ter &nbsp; &nbsp; &nbsp; 5016   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 7 -o 0
--------- oscarnode8---------
ter &nbsp; &nbsp; &nbsp; 4950   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 8 -o 0
--------- oscarnode9---------
ter &nbsp;   ;  4950   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 9 -o 0
--------- oscarnode10---------
ter &nbsp; &nbsp;   4950   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam- 7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 10 -o 0
--------- oscarnode11---------
ter &nbsp; &nbsp;   4950   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 11 -o 0
--------- oscarnode12---------
ter &nbsp; &nbsp;   4950   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 12 -o 0
--------- oscarnode13---------
ter   ; &nbsp;  4950   ;  1  0 16:22 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam-7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 13 -o 0

[teruftoscar ~]$ ps -ef | grep lamd | grep -v grep
ter&nbsp; &nbsp;   13808 ; &nbsp;  1  0 16:23 ? &nbsp; &nbsp; &nbsp;  00:00:00 /opt/lam- 7.1.3/bin//lamd -H 192.168.99.1 -P 57625 -n 0 -o 0



Thanks
Kulathep


On 5/24/07, Jeff Squyres < jsquyrescisco.com">jsquyrescisco.com> wrote:
Check to see if the lamd's are still running on all nodes when this
problem occurs.&nbsp; If they are dying for some reason (or being killed),
that could explain this behavior.


On May 24, 2007, at 3:47 PM, K. Charoenpornwattana Ter wrote:

&gt; On 5/24/07, Jeff Squyres < jsquyrescisco.com">jsquyrescisco.com> wrote:
>; That is just weird -- I don't think I've seen a case where tping
> worked (implying that inter-lamd communication is working), but
> running applications did not.
>
> Yes, it's kinda weird. I just noticed something, After running
&gt; mpirun, tping doesn't work anymore, See below.
>;
> [teruftoscar test]$ lamboot -v host
>; LAM 7.1.3/MPI 2 C++/ROMIO - Indiana University
>
> n-1<12514> ssi:boot:base:linear: booting n0 (uftoscar)
> ...
> n-1<12514> ssi:boot:base:linear: finished
&gt; [teruftoscar test]$ tping -c 3 n0-13
>  ; 1 byte from 13 remote nodes and 1 local node: 0.007 secs
>&nbsp;  1 byte from 13 remote nodes and 1 local node: 0.005 secs
>&nbsp;  1 byte from 13 remote nodes and 1 local node: 0.006 secs
>;
> 3 messages, 3 bytes (0.003K), 0.017 secs (0.340K/sec)
> roundtrip min/avg/max: 0.005/0.006/0.007
>; [teruftoscar test]$ mpicc ring.c -o ring.out&nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;<---
> LAM's mpicc
&gt; [teruftoscar test]$ mpirun -np 13 ring.out
&gt; <freeze> (so I pressed Ctrl-C to cancel)
&gt;
> ********************* WARNING ***********************
> This is a vulnerable region. Exiting the application
> now may lead to improper cleanup of temporary objects
&gt; To exit the application, press Ctrl-C again
> ********************* WARNING ************************
> [teruftoscar test]$ tping -c 3 n0-13
&gt; <freeze> :-(
>
&gt; The only thing that I can think of is that there is some firewalling
> in place that only allows arbitrary UDP traffic through...? &nbsp;(inter-
&gt; lamd traffic is UDP, not TCP)  That doesn't seem to make sense,
&gt; though, if MPICH works (cexec uses ssh, which is most certainly
> allowed).&nbsp; But can you triple check that there are no firewalls tcp
> rules in place that restrict UDP/TCP traffic?&nbsp; (e.g., iptables)
>
> I did. no firewall is running on any nodes.
>;
> [rootuftoscar ~]# service iptables status
>; Firewall is stopped.
&gt; [rootuftoscar ~]# service pfilter status
>; pfilter is stopped
> [rootuftoscar ~]# cexec service iptables status
>; ************************* oscar_cluster *************************
> --------- oscarnode1---------
&gt; Firewall is stopped.
&gt; .....
> --------- oscarnode13---------
> Firewall is stopped.
&gt;
> [rootuftoscar ~]# cexec service pfilter status&nbsp; &nbsp; &lt;-- I already
&gt; removed pfilter.
&gt; ************************* oscar_cluster *************************
> --------- oscarnode1---------
> pfilter: unrecognized service
&gt; ....
> --------- oscarnode13---------
> pfilter: unrecognized service
&gt;
> Also try running tping / mpirun / lamexec from a node other than the
> origin ( i.e., the node you lambooted from).
>;
> I did. same problem.
&gt;
> On May 23, 2007, at 11:32 PM, K. Charoenpornwattana Ter wrote:
>;
> > Try some simple tests:
>; >
> > - Does "tping -c 3" run successfully? (It should ping all the
> lamd's)
> >
> > [teruftoscar test]$ tping -c 3 n0-13
>  1 byte from 13 remote nodes and 1 local node: 0.006 secs
> >   1 byte from 13 remote nodes and 1 local node: 0.005 secs
> >   1 byte from 13 remote nodes and 1 local node: 0.005 secs
> >
> > 3 messages, 3 bytes (0.003K), 0.016 secs (0.368K/sec)
> > roundtrip min/avg/max: 0.005/0.005/0.006
>; >
>; >
> > - Does "lamexec N hostname&quot; run successfully? (It should run
> > "hostname" on all the booted nodes)
>; >
> > No, it doesn't work. It only show headnode&#39;s hostname. See below:
&gt; >
> > [teruftoscar ~]$ lamexec N hostname
&gt; > uftoscar.latech
> > <freeze>
> >
> > I, however, can execute "cexec hostname&quot; with no problem.
&gt; >
>; > - When you "mpirun -np 15 ring.out&quot;, do you see ring.out
&gt; executing on
> > all the nodes? (i.e., if you ssh into each of the nodes and run ps,
> > do you see it running?
> >
> > I only see one ring.out run on headnode, no ring.out running on
> > other nodes.
>; >
> >
> > Thanks
>; > Kulathep
&gt; > _______________________________________________
> > This list is archived at http://www.lam-mpi.org/MailArchives/lam/
&gt;
>
&gt; --
> Jeff Squyres
&gt; Cisco Systems
&gt;
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/
&gt;
> _______________________________________________
> This list is archived at http://www.lam-mpi.org/MailArchives/lam/


--
Jeff Squyres
Cisco Systems

_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )