<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=804011317-30062008>Hi,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=804011317-30062008> Try providing the absolute path of cpi to
mpiexec.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=804011317-30062008></SPAN></FONT><FONT face=Arial color=#0000ff
size=2><SPAN class=804011317-30062008></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=804011317-30062008>Regards,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN
class=804011317-30062008>Jayesh</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> owner-mpich-discuss@mcs.anl.gov
[mailto:owner-mpich-discuss@mcs.anl.gov] <B>On Behalf Of </B>Ariovaldo de Souza
Junior<BR><B>Sent:</B> Monday, June 30, 2008 11:54 AM<BR><B>To:</B>
mpich-discuss@mcs.anl.gov<BR><B>Subject:</B> Re: [mpich-discuss] problem with
execution of examples/cpi<BR></FONT><BR></DIV>
<DIV></DIV>Anthony Chan,<BR><BR>I did not install MPICH on falcon due it to be
shared by nfs, so I just installed in the server and I get an image of this in
both computers. I have tried to execute like this "./cpi" and it gets the same
error. I can process both alone in each computer, but when I want it done by
both this message returns to me. Any idea?<BR><BR>Thanks a lot for your
attention,<BR><BR>Ari<BR><BR>
<DIV class=gmail_quote>2008/6/30 Anthony Chan <<A
href="mailto:chan@mcs.anl.gov">chan@mcs.anl.gov</A>>:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid"><BR>Is
mpich2 installed on falcon ? If so, is it installed in the
same<BR>location as eagle ?<BR><BR>Assuming you have mpich2 installed
correctly on both machines,<BR>cd to <mpich2-install-dir>/examples, then
do<BR><BR>mpiexec -n 10 ./cpi<BR><BR>A.Chan<BR>
<DIV>
<DIV></DIV>
<DIV class=Wj3C7c>----- "Ariovaldo de Souza Junior" <<A
href="mailto:ariovaldojunior@gmail.com">ariovaldojunior@gmail.com</A>>
wrote:<BR><BR>> ---------- Forwarded message ----------<BR>> From:
Ariovaldo de Souza Junior < <A
href="mailto:ariovaldojunior@gmail.com">ariovaldojunior@gmail.com</A>
><BR>> Date: 2008/6/30<BR>> Subject: Re: [MPICH2 Req #4157] Getting
error message running mpiexec<BR>> To: Rajeev Thakur < <A
href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</A> >, Pavan Balaji
<<BR>> <A href="mailto:balaji@mcs.anl.gov">balaji@mcs.anl.gov</A>
><BR>><BR>><BR>> Hello Rajeev and Pavan,<BR>><BR>> Thanks a
lot for your help on building MPICH correctly. I have removed<BR>> mpd
(apt-get purge mpd) and then reinstalled MPICH. I was so happy<BR>> when I
saw it was working T_T. A the looping test, with 1,000,000<BR>> loops too
431 seconds to be performed. Do you think it is a good rate?<BR>><BR>>
But now what brings me to here is what comes next. I have followed all<BR>>
instructions from the "quick start" until this line:<BR>><BR>> mpiexec
-n 5 examples/cpi<BR>><BR>> and it didn't work, returning this
error:<BR>><BR>> problem with execution of examples/cpi on falcon:
[Errno 2] No such<BR>> file or directory<BR>> problem with execution of
examples/cpi on falcon: [Errno 2] No such<BR>> file or
directory<BR>><BR>> and stopped in the second line.<BR>><BR>> Then
I tried to submit this command inside of the "examples" folder,<BR>> and it
returned:<BR>><BR>> problem with execution of cpi on eagle: [Errno 2] No
such file or<BR>> directory<BR>> problem with execution of cpi on
falcon: [Errno 2] No such file or<BR>> directory<BR>> problem with
execution of cpi on falcon: [Errno 2] No such file or<BR>>
directory<BR>> problem with execution of cpi on eagle: [Errno 2] No such
file or<BR>> directory<BR>> problem with execution of cpi on eagle:
[Errno 2] No such file or<BR>> directory<BR>><BR>> Now I can see that
it failed for the five processes. I have set and<BR>> mounted the nfs on
the node (until now I'm setting up just one<BR>> computer, later I'll close
this one) and it is working ok. So my<BR>> server is named as eagle and the
node, falcon. mpd is running in both<BR>> computers, this I can see
utilizing the mpdtrace command. when I<BR>> submit the example "mpiexec -l
-n 10 hostname" it returns me this:<BR>><BR>>
root@eagle:/modeling/mpich2-1.0.7/examples# mpiexec -l -n 10 hostname<BR>>
1: falcon<BR>> 2: eagle<BR>> 3: falcon<BR>> 5: falcon<BR>> 4:
eagle<BR>> 7: falcon<BR>> 8: eagle<BR>> 6: eagle<BR>> 0:
eagle<BR>> 9: falcon<BR>><BR>> And then I think it is ok.<BR>> the
paths are set and ok, so I don't understand why is that returning<BR>> that
error, not found, if even if I execute it inside of "examples"<BR>> folder
it doesn't work (of course I take off the examples part, or<BR>> even add
the whole path).<BR>><BR>> Ad I have a doubt, a stupid one, sorry, every
time I restart the<BR>> computer I have to point the path for the bin
directory, and then it<BR>> works. Is there any way to set it
automatically?<BR>><BR>> Sorry for trouble you two so much. And thank
you two until now for<BR>> your attention!<BR>><BR>>
Ari.<BR>><BR>><BR>><BR>><BR>><BR>> 2008/6/27 Rajeev Thakur
< <A href="mailto:thakur@mcs.anl.gov">thakur@mcs.anl.gov</A>
>:<BR>><BR>><BR>><BR>><BR>><BR>><BR>><BR>> What
exact commands did you use to configure, make, and install<BR>> MPICH2? How
did music and playlist get into the mpd directory? :-)<BR>><BR>>
Rajeev<BR>><BR>><BR>><BR>><BR>><BR>> From: Ariovaldo de
Souza Junior [mailto: <A
href="mailto:ariovaldojunior@gmail.com">ariovaldojunior@gmail.com</A>
]<BR>> Sent: Friday, June 27, 2008 6:31 PM<BR>> To: <A
href="mailto:mpich2-maint@mcs.anl.gov">mpich2-maint@mcs.anl.gov</A><BR>>
Cc: <A
href="mailto:mpich2-maint@mcs.anl.gov">mpich2-maint@mcs.anl.gov</A><BR>>
Subject: [MPICH2 Req #4157] Getting error message running
mpiexec<BR>><BR>><BR>><BR>><BR>><BR>> Hello
everybody.<BR>><BR>> I'm trying to make mpich work for a cluster running
NAMD and I'm<BR>> frozen in the tests step yet. When I try to run the
simple script<BR>> "helloworld.out" I get the followying error
message:<BR>><BR>> root@eagle:/modeling/mpich# mpiexec
./hello.out<BR>> mpiexec_eagle (get_parms_from_rcfile 1403): line in mpd
conf is not<BR>> key=val pair; line=:music_directory
"/var/lib/mpd/music"<BR>> :<BR>> mpiexec_eagle (get_parms_from_rcfile
1403): line in mpd conf is not<BR>> key=val pair; line=:playlist_directory
"/var/lib/mpd/playlists"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:db_file "/var/lib/mpd/tag_cache"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:log_file "/var/log/mpd/mpd.log"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:error_file "/var/log/mpd/errors.log"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:pid_file "/var/run/mpd/pid"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:state_file "/var/lib/mpd/state"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:user "root"<BR>> :<BR>> mpiexec_eagle (get_parms_from_rcfile
1403): line in mpd conf is not<BR>> key=val pair; line=:bind_to_address
"localhost"<BR>> :<BR>> mpiexec_eagle (get_parms_from_rcfile 1403): line
in mpd conf is not<BR>> key=val pair; line=:password
"gqtcpbm@read,add,control,admin"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:filesystem_charset "UTF-8"<BR>> :<BR>> mpiexec_eagle
(get_parms_from_rcfile 1403): line in mpd conf is not<BR>> key=val pair;
line=:id3v1_encoding "UTF-8"<BR>> :<BR>> /modeling/mpich/bin/mpdroot:
did not find secretword in mpd conf<BR>> filempiexec_eagle (__init__ 1190):
forked process failed; status=255<BR>><BR>> I googled around trying all
I could but I didn't find anything. Do<BR>> anyone have a clue about what
is going one? Thanks a lot for any tip!<BR>><BR>> Ariovaldo<BR>> UFAM
- Brazil<BR><BR></DIV></DIV></BLOCKQUOTE></DIV><BR></BODY></HTML>