Commit a9f230f2 authored by Philip Carns's avatar Philip Carns

trying to fix theta builds with pmdk

parent 96c29345
...@@ -12,6 +12,10 @@ get_mercury_lib_path() { ...@@ -12,6 +12,10 @@ get_mercury_lib_path() {
module show `spack module tcl find mercury` |&grep LIBRARY_PATH | awk '{print $3}' module show `spack module tcl find mercury` |&grep LIBRARY_PATH | awk '{print $3}'
} }
get_pmdk_lib_path() {
module show `spack module tcl find pmem` |&grep LIBRARY_PATH | awk '{print $3}'
}
module swap PrgEnv-intel PrgEnv-gnu module swap PrgEnv-intel PrgEnv-gnu
module load cce module load cce
...@@ -24,6 +28,9 @@ module list ...@@ -24,6 +28,9 @@ module list
# test programs. Not sure why. This hack manually adds the correct path to LD_LIBRARY_PATH. # test programs. Not sure why. This hack manually adds the correct path to LD_LIBRARY_PATH.
LIB_PATH_HACK=$(get_mercury_lib_path) LIB_PATH_HACK=$(get_mercury_lib_path)
export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH" export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH"
# ditto for pmdk apparently
LIB_PATH_HACK=$(get_pmdk_lib_path)
export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH"
echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH
#ldd ./margo-p2p-latency #ldd ./margo-p2p-latency
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment