Hi,
    mpicc -showme will indicate what libraries must be in your environment (LD_LIBRARY_PATH) to run an executable built with it.  for more info try "man mpicc" .  If you are just beginning to play with MPI, I would also suggest you look at the Open MPI implementation instead of LAM/MPI, as the LAM/MPI is in maintenance mode and new development is in OPEN MPI.  see www.open-mpi.org
 
cheers,
 
Mac McCalla
Houston, TX


From: lam-bounces@lam-mpi.org [mailto:lam-bounces@lam-mpi.org] On Behalf Of gauri dhopavkar
Sent: Friday, May 30, 2008 1:16 AM
To: lam@lam-mpi.org
Subject: LAM: error loading shared libraries


dear all,
I am a new-bie in lam-mpi. I have set up cluster of two computer nodes using lam-mpi. I use RHEL 5 for cluster. When I use mpicc command the file is properly compiled. But when I give command mpirun C filename I get following error.
Pls. suggest me the remedy on this problem.

:errorr while loading shared libraries:liblamf77mpi.so.0:cannot open shared object file:No such file or directory.

Thanks and regards,

Gauri.



Share Khan