Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: Re: [OMPI users] mpirun links wrong library with BLACS tester
From: Jeff Squyres (jsquyres) (jsquyres_at_[hidden])
Date: 2010-01-28 06:35:34

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)

Sent from my PDA. No type good.

----- Original Message -----
From: users-bounces_at_[hidden] <users-bounces_at_[hidden]>
To: users_at_[hidden] <users_at_[hidden]>
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:
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)


users mailing list