Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
intel-hpdd
darshan-dxlt
Commits
20d809d3
Commit
20d809d3
authored
Mar 13, 2015
by
Philip Carns
Browse files
experimenting with cxx profile conf on mira
parent
b589247c
Changes
1
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/share/mpi-profile/darshan-bg-cxx.conf.in
View file @
20d809d3
...
...
@@ -13,16 +13,16 @@ dyncheck2=$?
echo
"
${
allargs
[@]
}
"
|
grep
"
\\
-dynamic"
>
& /dev/null
dyncheck3
=
$?
# try to detect name of libmpichcxx library needed for pmpi
# - these may be named with different suffixes to match the compiler version
D_MPI_PRELIB
=
`
echo
$LIBS
|grep
"
\-
lmpichcxx
\-\\
S
\+
"
-o
`
# Skip profiling if we know that dynamic linking is in use. See LD_PRELOAD
# method instead.
if
[
"
$dyncheck1
"
-ne
0
-a
"
$dyncheck2
"
-ne
0
-a
"
$dyncheck3
"
-ne
0
]
;
then
# NOTE: there is something fragile here. We are relying on the BG mpicxx script to set a
# variable called $cxxlibs to the name of the libmpichcxx variant that we need in order
# to intercept pmpi calls
# Libraries (and paths) to include before the MPI library
export
PROFILE_PRELIB
=
"
$
D_MPI_PRELIB
`
$DARSHAN_PREFIX
/bin/darshan-config
--pre-ld-flags
`
"
export
PROFILE_PRELIB
=
"
$
cxxlibs
`
$DARSHAN_PREFIX
/bin/darshan-config
--pre-ld-flags
`
"
# Libraries to include after the MPI library
export
PROFILE_POSTLIB
=
`
$DARSHAN_PREFIX
/bin/darshan-config
--post-ld-flags
`
...
...
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