Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] Problems with openmpi-1.4.3
From: David Zhang (solarbikedz_at_[hidden])
Date: 2011-03-21 00:36:53

I don't know if your alias got mapped when mpicc is called. Try adding
/usr/lib to LD_LIBRARY_PATH?

On Sun, Mar 20, 2011 at 7:43 PM, Amos Leffler <amosleffler_at_[hidden]> wrote:

> Hi,
> I have been having problems getting openmpi-1.4.3 with Linux
> under SUSE 11.3. I have put the following entries in .bashrc:
> PATH: /opt/openmpi/bin
> LD_LIBRARY_PATH /opt/openmpi/lib
> alias ifort='opt/intel/bin/ifort'
> alias
> The file appears to run properly under the configure command:
> ./configure CC=gcc CXX=g++ F77=ifort
> F90=ifort --prefix=/opt/openmpi
> and using make all install. However, running an example such as:
> mpicc hello_c.c -o hello_c it gives the result:
> mpicc: error while loading shared libraries:
> cannot open shared object file: No such file or
> directory
> At this point I am stumped and any thouughts would be much
> appreciated.
> Amos Leffler
> _______________________________________________
> users mailing list
> users_at_[hidden]

David Zhang
University of California, San Diego