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 <amosleff...@gmail.com> 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 libopen-pal.so.0:=/usr/lib/libopen-pal.so.0 > 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: > libopen-pal.so.0: 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 > us...@open-mpi.org > http://www.open-mpi.org/mailman/listinfo.cgi/users > -- David Zhang University of California, San Diego