Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: Re: [OMPI users] a question about mpirun
From: jody (jody.xha_at_[hidden])
Date: 2011-07-07 03:08:54


Hi

It seems that you have mixed an "old" LAM-MPI installation with OpenMPI.

To make sure your OpenMPI installation is ok you could try to use the
complete path to mpirun:
  /data1/cluster/openmpi/bin/mpirun -np 1 /tmp/openmpi-1.4.3/examples/ring_c

You should also make sure that the compile-command is the one of
OpenMPI and not of LAM MPI.
( /data1/cluster/openmpi/bin/mpiCC or something like that)

Check your PATH environment variable to make sure it doesn't contain
any of the LAM MPI directories,
and make sure you set the LD_LIBRARY_PATH variable correctly (see
http://www.open-mpi.org/faq/?category=running#run-prereqs)

Hope this helps
  Jody

On Thu, Jul 7, 2011 at 8:44 AM, zhuangchao <freeoser_at_[hidden]> wrote:
> hello all :
>
>        I  installed  the openmpi-1.4.3  on redhat as the following step :
>
>        1.  ./configure  --prefix=/data1/cluster/openmpi
>
>        2.  make
>
>        3.  make  install
>
>        And  I   compiled  the  examples  of  openmpi-1.4.3  as the following
> step :
>
>        1. make
>
>         Then  I   run   the example :
>
>             ./mpirun  -np 1  /tmp/openmpi-1.4.3/examples/ring_c
>
>         I  get  the following  error :
>
> -----------------------------------------------------------------------------
> It seems that there is no lamd running on the host node1.
> This indicates that the LAM/MPI runtime environment is not operating.
> The LAM/MPI runtime environment is necessary for MPI programs to run
> (the MPI program tired to invoke the "MPI_Init" function).
>
> Please run the "lamboot" command the start the LAM/MPI runtime
> environment.  See the LAM/MPI documentation for how to invoke
> "lamboot" across multiple machines.
> -----------------------------------------------------------------------------
>
>        I   run openmpi , but  I  get  the error from lam-mpi .  why ?
> Can  you  help me ?
>
>        Thank you !
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users
>