Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
darshan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
74
Issues
74
List
Boards
Labels
Milestones
Merge Requests
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
darshan
darshan
Commits
20d809d3
Commit
20d809d3
authored
Mar 13, 2015
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
experimenting with cxx profile conf on mira
parent
b589247c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
darshan-runtime/share/mpi-profile/darshan-bg-cxx.conf.in
darshan-runtime/share/mpi-profile/darshan-bg-cxx.conf.in
+5
-5
No files found.
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