-
Couldn't load subscription status.
- Fork 929
Description
It turns out the --enable-new-dtags linker option in the Open MPI compiler scripts is causing issues for some users:
Here's what a sysadmin reported:
Many of our users want to encode an RPATH to the MPI library in their executable at link time. In fact, they like to encode paths to all of their other libraries this way. On Linux, RPATH overrides anything a user sets in LD_LIBRARY_PATH, which provides one way for our app developers to ensure that thier users are getting the correct set of libraries (they can't mess things up with a wrong LD_LIBRARY_PATH setting). The --enable-new-dtags flag changes things so that LD_LIBRARY_PATH settings now override any RPATH setting, which breaks our apps.
MVAPICH recently added the --enable-new-dtags flag to their wrappers starting with MV2-2.1, which broke many of our applications. At that point, I also looked into Open MPI and found that this option was added somewhere by the time 1.8.3 was released. Apparently, this particular set of users wasn't using Open MPI, and so we didn't notice the change in Open MPI until now.
I asked MVAPICH to add a configure flag to avoid the --enable-new-dtags option. I now configure MV2-2.1 to drop this flag in the wrappers. I was looking to see if there's a similar fix already in Open MPI that we could use, and if not, if something could be added.
-Adam