What was blacs compiled against, lam or ompi?

What is your LD_LIBRARY_PATH set to?

Are you ensuring to use ompi's mpirun (vs, for example, lam's mpirun)

-jms
Sent from my PDA.  No type good.

----- Original Message -----
From: users-boun...@open-mpi.org <users-boun...@open-mpi.org>
To: us...@open-mpi.org <us...@open-mpi.org>
Sent: Wed Jan 27 21:11:21 2010
Subject: [OMPI users] mpirun links wrong library with BLACS tester

I have installed openmpi 1.4.1 locally for one user on a cluster,  
where some other mpi were installed.

when I try to run an executable through mpirun (I am running the BLACS  
tester) I get
xFbtest_MPI-LINUX-0: error while loading shared libraries: liblam.so. 
0: cannot open shared object file: No such file or directory

if I run the executable it works
ldd always shows the correct libraries (even when run in mpirun) and  
no liblam
also the environment looks normal in both cases (both PATH and  
LD_RUN_PATH have the installation as first path).
I did try to  set -rpath to */lib and */lib/openmpi, and generally  
reduce the environment to a basic one, and use that in all the shells  
both when compiling and running, but to no avail.
The examples in the openmpi directory seem to work without problems.
I did manage to run the blacs tester, but in no reproducible way (I  
really don't know what I did to make it work and it stopped working  
really fast (the same binary)).
The same setup works in another machine (and I think BLACS flags are ok)

I am getting really crazy, any pointer at what else I could try would  
be greatly appreciated.

gcc (GCC) 4.1.2 20071124 (Red Hat 4.1.2-42)
G95 (GCC 4.0.3 (g95 0.92!) Jun 24 2009)

thanks
Fawzi



_______________________________________________
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users

Reply via email to