Open MPI logo

Open MPI User's Mailing List Archives

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

Subject: [OMPI users] Leading /usr/lib64 in LD_LIBRARY_PATH
From: Ingo Josopait (ingo.josopait_at_[hidden])
Date: 2008-05-07 19:01:34


It seems that mpirun adds /usr/lib64 at the beginning of the
LD_LIBRARY_PATH environment variable (/usr/lib64 usually corresponds to
/usr/lib on non-amd64 systems):

$ env | grep LIB
LD_LIBRARY_PATH=/home/ingo/opt/lib:/home/ingo/opt32/lib:/home/ingo/opt/gcc/lib64

$ mpirun env | grep LIB
LD_LIBRARY_PATH=/usr/lib64:/home/ingo/opt/lib:/home/ingo/opt32/lib:/home/ingo/opt/gcc/lib64

This would normally not be a problem, but I am trying to overload some
libraries in the /usr/lib64 directory in order to use the debugging STL
of gcc.

Why is /usr/lib64 added to the library path? Is there a reason for it?
Or is it some configuration error on my system?