Hi,

I looked for any folders with 'lam', and found 2, under /usr/lib/lam and 
/etc/lam. I don't know if it means LAM was previously installed, because my PC 
also has /usr/lib/lam, although the contents are different. I renamed the 2 
folders, and got the "*** Oops -- I cannot open the LAM help file." error below 
instead.

I tried 'whichexec', and it gave me /usr/bin/mpiexec. I checked the mpiexec 
there and it's actually a Perl script, and I believe I installed OpenMPI in 
/usr/lib64/openmpi/1.2.5-gcc/

So I tried mpirun instead and it gave me the following message:

"*** Oops -- I cannot open the LAM help file.
*** I tried looking for it in the following places:
***
***   $HOME/lam-helpfile
***   $HOME/lam-7.0.6-helpfile
***   $HOME/etc/lam-helpfile
***   $HOME/etc/lam- 7.0.6-helpfile
***   $LAMHELPDIR/lam-helpfile
***   $LAMHELPDIR/lam-7.0.6-helpfile
***   $LAMHOME/etc/lam-helpfile
***   $LAMHOME/etc/lam-7.0.6-helpfile
***   $SYSCONFDIR/lam-helpfile
***   $SYSCONFDIR/lam- 7.0.6-helpfile
***
*** You were supposed to get help on the program "MPI"
*** about the topic "no-lamd"
***
*** Sorry!"

Firstly, how do I change the settings such that mpiexec points to the mpiexec 
in my installation folder, which I believe should be
/usr/lib/openmpi/1.2.5-gcc/bin/mpiexec, and the mpiexec there seems to be a 
shortcut that points to /usr/lib/openmpi/1.2.5-gcc/bin/orterun. Would this 
help? While I'm at it, it seems that mpirun, which is /usr/bin/mpirun 
currently, should also point to /usr/lib/openmpi/1.2.5-gcc/bin/mpirun, which 
also is a shortcut to /usr/lib/openmpi/1.2.5-gcc/bin/orterun.

Thank you.

Regards,
Rayne

--- On Tue, 12/8/08, jody <jody....@gmail.com> wrote:

> From: jody <jody....@gmail.com>
> Subject: Re: [OMPI users] Setting up Open MPI to run on multiple servers
> To: lancer6...@yahoo.com, "Open MPI Users" <us...@open-mpi.org>
> Date: Tuesday, 12 August, 2008, 3:38 PM
> Hi Ryan
> Another thing:
> Have you checked if the mpiexec you call is really the one
> from your
> Open-MPI installation?
> 
> Try 'which mpiexec' to find out.
> 
> Jody
> 
> On Tue, Aug 12, 2008 at 9:36 AM, jody
> <jody....@gmail.com> wrote:
> > Hi Ryan
> >
> > The message "Lamnodes Failed!" seems to
> indicate that you still have a
> > LAM/MPI installation somewhere.
> > You should get rid of that first.
> >
> > Jody
> >
> > On Tue, Aug 12, 2008 at 9:00 AM, Rayne
> <lancer6...@yahoo.com> wrote:
> >> Hi, thanks for your reply.
> >>
> >> I did what you said, set up the password-less ssh,
> nfs etc, and put the IP address of the server in the default
> hostfile (in my PC only, the default hostfile in the server
> does not contain any IP addresses). Then I installed Open
> MPI in the server under the same directory as my PC, e.g.
> /usr/lib/openmpi/1.2.5-gcc/
> >> All my MPI programs and executables, e.g. a.out
> are in the shared folder. However, I have trouble running
> the MPI programs.
> >>
> >> After compiling my MPI program on my PC, I tried
> to run it via "mpiexec -n 2 ./a.out". However, I
> get the error message
> >>
> >> "Failed to find or execute the following
> executable:
> >> Host: (the name of the server)
> >> Executable: ./a.out
> >>
> >> Cannot continue"
> >>
> >> Then when I tried to run the MPI program on my
> server after compiling, I get the error:
> >>
> >> "Lamnodes Failed!
> >> Check if you had booted lam before calling mpiexec
> else use -machinefile to pass host file to mpiexec"
> >>
> >> I'm guessing that because the server cannot
> run the MPI program, I can't run the program on my PC as
> well. Is there some other configurations I missed when using
> Open MPI on my server?
> >>
> >> Thank you.
> >>
> >> Regards,
> >> Rayne


      Yahoo! Toolbar is now powered with Search Assist.Download it now!
http://sg.toolbar.yahoo.com/

Reply via email to