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
Jakob Luettgau
darshan
Commits
f0d131f0
Commit
f0d131f0
authored
Mar 13, 2015
by
Philip Carns
Browse files
add mpi profile conf files for bg platform
parent
c3946b9d
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
darshan-runtime/Makefile.in
View file @
f0d131f0
...
...
@@ -118,6 +118,9 @@ endif
install
-m
755 share/mpi-profile/darshan-cc.conf
$(datarootdir)
/mpi-profile/darshan-cc.conf
install
-m
755 share/mpi-profile/darshan-cxx.conf
$(datarootdir)
/mpi-profile/darshan-cxx.conf
install
-m
755 share/mpi-profile/darshan-f.conf
$(datarootdir)
/mpi-profile/darshan-f.conf
install
-m
755 share/mpi-profile/darshan-bg-cc.conf
$(datarootdir)
/mpi-profile/darshan-bg-cc.conf
install
-m
755 share/mpi-profile/darshan-bg-cxx.conf
$(datarootdir)
/mpi-profile/darshan-bg-cxx.conf
install
-m
755 share/mpi-profile/darshan-bg-f.conf
$(datarootdir)
/mpi-profile/darshan-bg-f.conf
install
-d
$(libdir)
/pkgconfig
install
-m
644 lib/pkgconfig/darshan-runtime.pc
$(libdir)
/pkgconfig/darshan-runtime.pc
...
...
darshan-runtime/configure
View file @
f0d131f0
This diff is collapsed.
Click to expand it.
darshan-runtime/configure.in
View file @
f0d131f0
...
...
@@ -317,4 +317,7 @@ lib/pkgconfig/darshan-runtime.pc
share/mpi-profile/darshan-cc.conf
share/mpi-profile/darshan-cxx.conf
share/mpi-profile/darshan-f.conf
share/mpi-profile/darshan-bg-cc.conf
share/mpi-profile/darshan-bg-cxx.conf
share/mpi-profile/darshan-bg-f.conf
)
darshan-runtime/darshan-runtime-config.h.in
View file @
f0d131f0
...
...
@@ -66,9 +66,6 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION
...
...
darshan-runtime/share/mpi-profile/darshan-bg-cc.conf.in
0 → 100644
View file @
f0d131f0
#!/bin/bash
# Example Darshan profiling configuration file for MPICH.
DARSHAN_PREFIX
=
@prefix@
# Check to see if user explicitly specified dynamic linking options
echo
$CFLAGS
|grep
"
\\
-dynamic"
>
& /dev/null
dyncheck1
=
$?
echo
$LDFLAGS
|grep
"
\\
-dynamic"
>
& /dev/null
dyncheck2
=
$?
echo
"
${
allargs
[@]
}
"
|
grep
"
\\
-dynamic"
>
& /dev/null
dyncheck3
=
$?
# 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
# Libraries (and paths) to include before the MPI library
export
PROFILE_PRELIB
=
`
$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
`
fi
# C preprocessor arguments for any include files For example, to add
# /usr/local/myprof/include to the include path and the library libmyprof.a in
# /usr/local/myprof/lib to the link step, you could create the file myprof.conf with the
# lines
# PROFILE_INCPATHS
darshan-runtime/share/mpi-profile/darshan-bg-cxx.conf.in
0 → 100644
View file @
f0d131f0
#!/bin/bash
# Example Darshan profiling configuration file for MPICH.
DARSHAN_PREFIX
=
@prefix@
# Check to see if user explicitly specified dynamic linking options
echo
$CFLAGS
|grep
"
\\
-dynamic"
>
& /dev/null
dyncheck1
=
$?
echo
$LDFLAGS
|grep
"
\\
-dynamic"
>
& /dev/null
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
# Libraries (and paths) to include before the MPI library
export
PROFILE_PRELIB
=
"
$D_MPI_PRELIB
`
$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
`
fi
# C preprocessor arguments for any include files For example, to add
# /usr/local/myprof/include to the include path and the library libmyprof.a in
# /usr/local/myprof/lib to the link step, you could create the file myprof.conf with the
# lines
# PROFILE_INCPATHS
darshan-runtime/share/mpi-profile/darshan-bg-f.conf.in
0 → 100644
View file @
f0d131f0
#!/bin/bash
# Example Darshan profiling configuration file for MPICH.
DARSHAN_PREFIX
=
@prefix@
# Check to see if user explicitly specified dynamic linking options
echo
$CFLAGS
|grep
"
\\
-dynamic"
>
& /dev/null
dyncheck1
=
$?
echo
$LDFLAGS
|grep
"
\\
-dynamic"
>
& /dev/null
dyncheck2
=
$?
echo
"
${
allargs
[@]
}
"
|
grep
"
\\
-dynamic"
>
& /dev/null
dyncheck3
=
$?
# try to detect name of libmpichf77 or libmpichf90 library needed for pmpi
# - these may be named with different suffixes to match the compiler version
D_MPI_PRELIB
=
`
echo
$LIBS
|grep
"
\-
lmpichf
\\
S
\+\-\\
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
# Libraries (and paths) to include before the MPI library
export
PROFILE_PRELIB
=
"
$D_MPI_PRELIB
`
$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
`
fi
# C preprocessor arguments for any include files For example, to add
# /usr/local/myprof/include to the include path and the library libmyprof.a in
# /usr/local/myprof/lib to the link step, you could create the file myprof.conf with the
# lines
# PROFILE_INCPATHS
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