Now you need to set your path in your bash profile as Jeff suggested 

From: [] on behalf of seshendra seshu []
Sent: Wednesday, April 25, 2012 10:24 AM
To: Open MPI Users
Subject: Re: [OMPI users] regarding the problem occurred while running an mpi programs

now i have created an used and tried to run the program but i got the following error

[master@ip-10-80-106-70 ~]$ mpirun -n 1 --hostfile hostfile out                                                                                                        
out: error while loading shared libraries: cannot open shared object file: No such file or directory

thanking you

On Wed, Apr 25, 2012 at 5:12 PM, Jeff Squyres <> wrote:
On Apr 25, 2012, at 11:06 AM, seshendra seshu wrote:

> so should i need to create an user and run the mpi program. or how can i run in cluster

It is a "best practice" to not run real applications as root (e.g., MPI applications).  Create a non-privlidged user to run your applications.

Then be sure to set your LD_LIBRARY_PATH if you installed Open MPI into a non-system-default location.  See this FAQ item:

Jeff Squyres
For corporate legal information go to:

users mailing list