ldd output showing shared object file whose function is not called

Posted by iamrohitbanga on Stack Overflow See other posts from Stack Overflow or by iamrohitbanga
Published on 2010-04-16T07:07:30Z Indexed on 2010/04/16 7:13 UTC
Read the original article Hit count: 228

Filed under:
|
|
|

I ran ldd command on an executable created by Open MPI. It shows a reference to libpthread.so Using LD_PRELOAD variable I created my own implementation of pthread_create, but from the it output it seems that MPI implementation is not calling pthread_create as I had expected. Why does ldd show pthread so file in output if it is not being used? does Open MPI not use a separate MPI thread for every node to implement the functionality?

© Stack Overflow or respective owner

Related posts about mpi

Related posts about thread