Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sds-tests
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sds
sds-tests
Commits
ce82184e
Commit
ce82184e
authored
Jan 11, 2019
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
workaround library path problem
- need to find correct solution later; this is a hack
parent
ffe82e8a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
perf-regression/theta/bake-regression.qsub
perf-regression/theta/bake-regression.qsub
+7
-0
perf-regression/theta/margo-regression.qsub
perf-regression/theta/margo-regression.qsub
+6
-0
No files found.
perf-regression/theta/bake-regression.qsub
View file @
ce82184e
...
...
@@ -20,6 +20,9 @@ get_remi_lib_path() {
module show
`
spack module tcl find remi
`
|&grep LIBRARY_PATH |
awk
'{print $3}'
}
get_thallium_lib_path
()
{
module show
`
spack module tcl find thallium
`
|&grep LIBRARY_PATH |
awk
'{print $3}'
}
module swap PrgEnv-intel PrgEnv-gnu
module load cce
...
...
@@ -32,6 +35,7 @@ module list
# NOTE: as of Sept 2018, the rpath isn't being set correctly for Mercury libraries in the regression
# test programs. Not sure why. This hack manually adds the correct path to LD_LIBRARY_PATH.
# update: also happening in other packages that aren't using libtool
LIB_PATH_HACK
=
$(
get_mercury_lib_path
)
export
LD_LIBRARY_PATH
=
"
$LIB_PATH_HACK
:
$LD_LIBRARY_PATH
"
# ditto for pmdk apparently
...
...
@@ -41,6 +45,9 @@ echo LD_LIBRARY_PATH: $LD_LIBRARY_PATH
LIB_PATH_HACK
=
$(
get_remi_lib_path
)
export
LD_LIBRARY_PATH
=
"
$LIB_PATH_HACK
:
$LD_LIBRARY_PATH
"
echo
LD_LIBRARY_PATH:
$LD_LIBRARY_PATH
LIB_PATH_HACK
=
$(
get_thallium_lib_path
)
export
LD_LIBRARY_PATH
=
"
$LIB_PATH_HACK
:
$LD_LIBRARY_PATH
"
echo
LD_LIBRARY_PATH:
$LD_LIBRARY_PATH
echo
"## Bake OFI/GNI:"
rm
-f
/dev/shm/foo.dat
...
...
perf-regression/theta/margo-regression.qsub
View file @
ce82184e
...
...
@@ -20,6 +20,9 @@ get_remi_lib_path() {
module show
`
spack module tcl find remi
`
|&grep LIBRARY_PATH |
awk
'{print $3}'
}
get_thallium_lib_path
()
{
module show
`
spack module tcl find thallium
`
|&grep LIBRARY_PATH |
awk
'{print $3}'
}
module swap PrgEnv-intel PrgEnv-gnu
module load cce
...
...
@@ -40,6 +43,9 @@ export LD_LIBRARY_PATH="$LIB_PATH_HACK:$LD_LIBRARY_PATH"
LIB_PATH_HACK
=
$(
get_remi_lib_path
)
export
LD_LIBRARY_PATH
=
"
$LIB_PATH_HACK
:
$LD_LIBRARY_PATH
"
echo
LD_LIBRARY_PATH:
$LD_LIBRARY_PATH
LIB_PATH_HACK
=
$(
get_thallium_lib_path
)
export
LD_LIBRARY_PATH
=
"
$LIB_PATH_HACK
:
$LD_LIBRARY_PATH
"
echo
LD_LIBRARY_PATH:
$LD_LIBRARY_PATH
#ldd ./margo-p2p-latency
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment