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
657e1b1a
Commit
657e1b1a
authored
Mar 17, 2015
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug fix and makefile cleanup
parent
b2b9fcbe
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
darshan-runtime/darshan-config.in
darshan-runtime/darshan-config.in
+1
-1
darshan-runtime/darshan-gen-cc.pl.in
darshan-runtime/darshan-gen-cc.pl.in
+2
-1
darshan-runtime/lib/darshan-core.c
darshan-runtime/lib/darshan-core.c
+1
-1
darshan-util/Makefile.in
darshan-util/Makefile.in
+1
-1
No files found.
darshan-runtime/darshan-config.in
View file @
657e1b1a
...
...
@@ -13,7 +13,7 @@ DARSHAN_LD_FLAGS="@LDFLAGS@"
# TODO: extra -lmpi in POST_LD_FLAGS -- link ordering issue
PRE_LD_FLAGS
=
"-L
$DARSHAN_LIB_PATH
$DARSHAN_LD_FLAGS
-ldarshan -lz
$CP_WRAPPERS
"
POST_LD_FLAGS
=
"-L
$DARSHAN_LIB_PATH
-ldarshan -l
mpi -l
z -lrt -lpthread"
POST_LD_FLAGS
=
"-L
$DARSHAN_LIB_PATH
-ldarshan -lz -lrt -lpthread"
usage
=
"
\
Usage: darshan-config [--pre-ld-flags] [--post-ld-flags]"
...
...
darshan-runtime/darshan-gen-cc.pl.in
View file @
657e1b1a
...
...
@@ -208,6 +208,7 @@ print OUTPUT<<"EOF";
# if allargs includes any libraries, then we need to get
# -ldarshan-mpi-io in there first
# TODO: changing -ldarshan-mpi-io to -ldarshan OK ?
argno=0;
once=0;
compiler_check=0;
...
...
@@ -215,7 +216,7 @@ print OUTPUT<<"EOF";
for arg in "\$\{newallargs\[\@\]\}"; do
res=`expr match "\$arg" "-l"`;
if [ \$res -gt 0 -a \$once -lt 1 ]; then
newallargs[\$argno]=-ldarshan
-mpi-io
newallargs[\$argno]=-ldarshan
argno=`expr \$argno + 1`
newallargs[\$argno]=\$arg;
once=1;
...
...
darshan-runtime/lib/darshan-core.c
View file @
657e1b1a
...
...
@@ -472,7 +472,7 @@ static void darshan_core_shutdown()
if
(
internal_timing_flag
)
mod1
[
i
]
=
DARSHAN_MPI_CALL
(
PMPI_Wtime
)();
/* if all processes used this module, prepare to do a shared file reduction */
if
(
global_mod_use_count
[
j
]
==
nprocs
)
if
(
global_mod_use_count
[
i
]
==
nprocs
)
{
int
shared_rec_count
=
0
;
int
rec_sz
=
0
;
...
...
darshan-util/Makefile.in
View file @
657e1b1a
...
...
@@ -96,7 +96,7 @@ install:: all
install
-d
$(includedir)
install
-d
$(pkgconfigdir)
# install -m 755 darshan-parser $(bindir)
#
install -m 755 darshan-posix-parser $(bindir)
install
-m
755
darshan-posix-parser
$(bindir)
# install -m 755 darshan-convert $(bindir)
# install -m 755 darshan-diff $(bindir)
# install -m 755 darshan-analyzer $(bindir)
...
...
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