summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJon Rood <jon.rood@nrel.gov>2018-07-30 13:02:09 -0600
committerscheibelp <scheibel1@llnl.gov>2018-07-30 15:02:09 -0400
commit15d96f01660057463863a05049b287df3341175e (patch)
tree63046fa820a49a90f6ae8f3e6afe5b21d8afb011 /lib
parent13cf6d55e42042a5b605c2d91c1ac68e41466164 (diff)
downloadspack-15d96f01660057463863a05049b287df3341175e.tar.gz
spack-15d96f01660057463863a05049b287df3341175e.tar.bz2
spack-15d96f01660057463863a05049b287df3341175e.tar.xz
spack-15d96f01660057463863a05049b287df3341175e.zip
Add extra_rpaths to OpenMPI wrappers (#8687)
If the OpenMPI build finds the infiniband drivers in /usr/lib64, it adds -Wl,-rpath -Wl,/usr/lib64 to the OpenMPI wrappers. If the wrappers are using a compiler outside of /usr, and the OpenMPI wrappers are used to build software outside of Spack, they will rpath /usr/lib64 into the executable which then has GLIBC, GLIBCXX runtime errors due to it picking up GCC libraries in /usr/lib64. This adds the directories specified in "extra_rpaths" to the OpenMPI wrappers, which allows them to use the correct compiler when invoked outside of Spack builds.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions