Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] A beginer's question
From: Hsieh, Pei-Ying (MED US) (pei-ying.hsieh_at_[hidden])
Date: 2008-02-08 14:28:48

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: cannot
open shared object file: No such file or directory
saturn:~/openmpi/openmpi-1.2.5 #

But, I found in /usr/local/lib. How to get
mpicc/mpif90 wraper to find 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). 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-Ying Hsieh, Ph.D.
Staff Product Engineer
Siemens Healthcare Diagnostics Inc.
511 Benedict Ave., MS 32
Tarrytown, NY 10591
Phone: (914)524-3146
fax: (914)524-2580
email: Pei-Ying.Hsieh_at_[hidden]

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.SecurityOffice_at_[hidden]

Thank you