Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Problem in using openmpi
From: Samuel K. Gutierrez (samuel_at_[hidden])
Date: 2010-03-12 15:56:48


It sounds like you may need to set your LD_LIBRARY_PATH environment
variable correctly. There are several ways that you can tell the
dynamic linker where the required libraries are located, but the
following may be sufficient for your needs.

Let's say, for example, that your Open MPI installation is rooted at /
home/jess/local/ompi and the libraries are located in /home/jess/local/
ompi/lib64, try (bash-like shell):

export LD_LIBRARY_PATH= /home/jess/local/ompi/lib64

Hope this helps,

Samuel K. Gutierrez
Los Alamos National Laboratory
On Mar 12, 2010, at 1:32 PM, vaibhav dutt wrote:
> Hi,
> I have installed openmpi on an Kubuntu , with Dual core Linux AMD  
> Athlon
> When trying to compile a simple program, I am getting an error.
> mpicc: error while loading shared libraries: cannot
> open shared object file: No such file or dir
> I read somewhere that this error is because of some intel compiler
> being not installed on the proper node, which I don't understand as I
> am using AMD.
> Kindly give your suggestions
> Thank You
> _______________________________________________
> users mailing list
> users_at_[hidden]