Dear OpenMPI group: I am sorry about this newbie question, but, I was not able to find the answer so far.
I compiled OpenMPI-1.2.5 from source on a OpenSUSE 10.3 64 bit OS. Configure and installation seemed fine (using prefix=/usr/local). I installed openmpi as root. But, when I ran a quick test program, I got the following error: saturn:~/openmpi/openmpi-1.2.5 # mpicc -o hello_mpi.c hello_mpi.c mpicc: error while loading shared libraries: libopen-pal.so.0: cannot open shared object file: No such file or directory saturn:~/openmpi/openmpi-1.2.5 # But, I found libopen-pal.so.0 in /usr/local/lib. How to get mpicc/mpif90 wraper to find libopen-pal.so in the correct directoy? Also, on another workstation (OpenSUSE 10.2 64 bit OS), I installed the openmpi-1.2.2 rpm (and openmpi-1.2.2-devel rpm). Libopen-pal.so was laced in /usr/lib64/mpi/gcc/openmpi/lib64. I has the same problem when executing mpicc/mpif90. Can someone shed some light on this? Thanks! Pei ------------------------------------- Pei-Ying Hsieh, Ph.D. Staff Product Engineer Siemens Healthcare Diagnostics Inc. 511 Benedict Ave., MS 32 Tarrytown, NY 10591 USA Phone: (914)524-3146 fax: (914)524-2580 email: pei-ying.hs...@siemens.com www.siemens.com/diagnostics ---------------------------------------------------------------------------- This message and any included attachments are from Siemens Medical Solutions and are intended only for the addressee(s). The information contained herein may include trade secrets or privileged or otherwise confidential information. Unauthorized review, forwarding, printing, copying, distributing, or using such information is strictly prohibited and may be unlawful. If you received this message in error, or have reason to believe you are not authorized to receive it, please promptly delete this message and notify the sender by e-mail with a copy to central.securityoff...@siemens.com Thank you