Well, that help me realize that there are people who type a lot
faster than me :) Thanks Justin for your accurate answer.
The only thing here is that in this particular case is not gcc who
does not find the library (the error does not happen at compile time)
but the runtime linker. So /etc/ld
On a number of my Linux machines, /usr/local/lib is not searched by
ldconfig, and hence, is
not going to be found by gcc. You can fix this by adding /usr/local/lib to
/etc/ld.so.conf and
running ldconfig ( add the -v flag if you want to see the output ).
-Justin.
On 10/19/06, Durga Choudhury w
George
I knew that was the answer to Calin's question, but I still would like to
understand the issue:
by default, the openMPI installer installs the libraries in /usr/local/lib,
which is a standard location for the C compiler to look for libraries. So
*why* do I need to explicitly specify this
Calin,
Look like you're missing a proper value for the LD_LIBRARY_PATH.
Please read the Open MPI FAW at http://www.open-mpi.org/faq/?
category=running.
Thanks,
george.
On Oct 19, 2006, at 6:41 AM, calin pal wrote:
hi,
i m calin from indiai m working on openmpi...