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
73
Issues
73
List
Boards
Labels
Milestones
Merge Requests
5
Merge Requests
5
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
bdbe35ed
Commit
bdbe35ed
authored
Feb 06, 2015
by
Philip Carns
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
preliminary mpi profiling configuration files
- no documentation or extensive testing yet
parent
3421534f
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
105 additions
and
1 deletion
+105
-1
ChangeLog
ChangeLog
+2
-0
darshan-runtime/Makefile.in
darshan-runtime/Makefile.in
+4
-0
darshan-runtime/configure
darshan-runtime/configure
+4
-1
darshan-runtime/configure.in
darshan-runtime/configure.in
+3
-0
darshan-runtime/share/mpi-profile/darshan-cc.conf.in
darshan-runtime/share/mpi-profile/darshan-cc.conf.in
+18
-0
darshan-runtime/share/mpi-profile/darshan-cxx.conf.in
darshan-runtime/share/mpi-profile/darshan-cxx.conf.in
+18
-0
darshan-runtime/share/mpi-profile/darshan-f.conf.in
darshan-runtime/share/mpi-profile/darshan-f.conf.in
+18
-0
darshan-test/regression/workstation-profile-conf/env.sh
darshan-test/regression/workstation-profile-conf/env.sh
+38
-0
No files found.
ChangeLog
View file @
bdbe35ed
...
...
@@ -29,6 +29,8 @@ darshan-2.3.1-pre2
* update darshan-gen-fortran.pl and darshan-gen-cxx.pl to support new library
naming conventions in MPICH 3.1.1 and higher
* update documentation to reflect known issues with some versions of MPICH
* added example mpicc profile configuration files, see share/mpi-profile/
subdirectory within installation directory
darshan-2.3.0
=============
...
...
darshan-runtime/Makefile.in
View file @
bdbe35ed
...
...
@@ -114,6 +114,10 @@ endif
install
-m
755 share/craype-1.x/darshan-module
$(datarootdir)
/craype-1.x/modulefiles/darshan/
$(DARSHAN_VERSION)
install
-d
$(datarootdir)
/craype-2.x/modulefiles/darshan
install
-m
755 share/craype-2.x/darshan-module
$(datarootdir)
/craype-2.x/modulefiles/darshan/
$(DARSHAN_VERSION)
install
-d
$(datarootdir)
/mpi-profile
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
-d
$(libdir)
/pkgconfig
install
-m
644 lib/pkgconfig/darshan-runtime.pc
$(libdir)
/pkgconfig/darshan-runtime.pc
...
...
darshan-runtime/configure
View file @
bdbe35ed
...
...
@@ -4259,7 +4259,7 @@ DARSHAN_VERSION="2.3.1-pre1"
ac_config_files
=
"
$ac_config_files
Makefile darshan-mk-log-dirs.pl darshan-gen-cc.pl darshan-gen-cxx.pl darshan-gen-fortran.pl darshan-config share/craype-1.x/darshan-module share/craype-2.x/darshan-module lib/pkgconfig/darshan-runtime.pc"
ac_config_files
=
"
$ac_config_files
Makefile darshan-mk-log-dirs.pl darshan-gen-cc.pl darshan-gen-cxx.pl darshan-gen-fortran.pl darshan-config share/craype-1.x/darshan-module share/craype-2.x/darshan-module lib/pkgconfig/darshan-runtime.pc
share/mpi-profile/darshan-cc.conf share/mpi-profile/darshan-cxx.conf share/mpi-profile/darshan-f.conf
"
cat
>
confcache
<<
\
_ACEOF
# This file is a shell script that caches the results of configure
...
...
@@ -4962,6 +4962,9 @@ do
"share/craype-1.x/darshan-module") CONFIG_FILES="
$CONFIG_FILES
share/craype-1.x/darshan-module" ;;
"share/craype-2.x/darshan-module") CONFIG_FILES="
$CONFIG_FILES
share/craype-2.x/darshan-module" ;;
"lib/pkgconfig/darshan-runtime.pc") CONFIG_FILES="
$CONFIG_FILES
lib/pkgconfig/darshan-runtime.pc" ;;
"share/mpi-profile/darshan-cc.conf") CONFIG_FILES="
$CONFIG_FILES
share/mpi-profile/darshan-cc.conf" ;;
"share/mpi-profile/darshan-cxx.conf") CONFIG_FILES="
$CONFIG_FILES
share/mpi-profile/darshan-cxx.conf" ;;
"share/mpi-profile/darshan-f.conf") CONFIG_FILES="
$CONFIG_FILES
share/mpi-profile/darshan-f.conf" ;;
*) as_fn_error
$?
"invalid argument:
\`
$ac_config_target
'" "
$LINENO
" 5;;
esac
...
...
darshan-runtime/configure.in
View file @
bdbe35ed
...
...
@@ -305,4 +305,7 @@ darshan-config
share/craype-1.x/darshan-module
share/craype-2.x/darshan-module
lib/pkgconfig/darshan-runtime.pc
share/mpi-profile/darshan-cc.conf
share/mpi-profile/darshan-cxx.conf
share/mpi-profile/darshan-f.conf
)
darshan-runtime/share/mpi-profile/darshan-cc.conf.in
0 → 100644
View file @
bdbe35ed
#!/bin/bash
# Example Darshan profiling configuration file for MPICH.
DARSHAN_PREFIX
=
@prefix@
# 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
`
# 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-cxx.conf.in
0 → 100644
View file @
bdbe35ed
#!/bin/bash
# Example Darshan profiling configuration file for MPICH.
DARSHAN_PREFIX
=
@prefix@
# Libraries (and paths) to include before the MPI library
export
PROFILE_PRELIB
=
"-lmpichcxx
`
$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
`
# 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-f.conf.in
0 → 100644
View file @
bdbe35ed
#!/bin/bash
# Example Darshan profiling configuration file for MPICH.
DARSHAN_PREFIX
=
@prefix@
# Libraries (and paths) to include before the MPI library
export
PROFILE_PRELIB
=
"-lfmpich
`
$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
`
# 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-test/regression/workstation-profile-conf/env.sh
0 → 100755
View file @
bdbe35ed
#!/bin/bash
# General notes
#######################
# Script to set up the environment for tests on this platform. Must export
# the following environment variables:
#
# DARSHAN_CC: command to compile C programs
# DARSHAN_CXX: command to compile C++ programs
# DARSHAN_F90: command to compile Fortran90 programs
# DARSHAN_F77: command to compile Fortran77 programs
# DARSHAN_RUNJOB: command to execute a job and wait for its completion
# This script may load optional modules (as in a Cray PE), set LD_PRELOAD
# variables (as in a dynamically linked environment), or generate mpicc
# wrappers (as in a statically linked environment).
# Notes specific to this platform (workstation-dynamic)_
########################
# This particular env script assumes that mpicc and its variants for other
# languages are already in the path, and that they will produce static
# executables by default. Darshan instrumentation is added by specifying
# a profiling configuration file using environment variables.
# The runjob command is just mpiexec, no scheduler
export
DARSHAN_CC
=
mpicc
export
DARSHAN_CXX
=
mpicxx
export
DARSHAN_F77
=
mpif77
export
DARSHAN_F90
=
mpif90
export
MPICC_PROFILE
=
$DARSHAN_PATH
/share/mpi-profile/darshan-cc
export
MPICXX_PROFILE
=
$DARSHAN_PATH
/share/mpi-profile/darshan-cxx
export
MPIF90_PROFILE
=
$DARSHAN_PATH
/share/mpi-profile/darshan-f
export
MPIF77_PROFILE
=
$DARSHAN_PATH
/share/mpi-profile/darshan-f
export
DARSHAN_RUNJOB
=
"mpiexec -n
$DARSHAN_DEFAULT_NPROCS
"
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