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
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sudheer Chunduri
darshan
Commits
f67c6ce7
Commit
f67c6ce7
authored
Jul 30, 2019
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apply no-mpi changes to posix module
parent
c866a0af
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
126 additions
and
103 deletions
+126
-103
darshan-runtime/darshan.h
darshan-runtime/darshan.h
+1
-0
darshan-runtime/lib/darshan-core.c
darshan-runtime/lib/darshan-core.c
+3
-2
darshan-runtime/lib/darshan-posix.c
darshan-runtime/lib/darshan-posix.c
+122
-101
No files found.
darshan-runtime/darshan.h
View file @
f67c6ce7
...
...
@@ -88,6 +88,7 @@
* avoid any reduction steps.
*/
typedef
void
(
*
darshan_module_redux
)(
void
*
mod_buf
,
/* input parameter indicating module's buffer address */
MPI_Comm
mod_comm
,
/* MPI communicator to run collectives with */
darshan_record_id
*
shared_recs
,
/* list of shared data record ids */
int
shared_rec_count
/* count of shared data records */
...
...
darshan-runtime/lib/darshan-core.c
View file @
f67c6ce7
...
...
@@ -563,8 +563,9 @@ void darshan_core_shutdown()
}
/* allow the module an opportunity to reduce shared files */
if
(
this_mod
->
mod_funcs
.
mod_redux_func
)
this_mod
->
mod_funcs
.
mod_redux_func
(
MPI_COMM_WORLD
,
mod_shared_recs
,
if
(
this_mod
->
mod_funcs
.
mod_redux_func
&&
(
mod_shared_recs
>
0
)
&&
(
!
getenv
(
"DARSHAN_DISABLE_SHARED_REDUCTION"
)))
this_mod
->
mod_funcs
.
mod_redux_func
(
mod_buf
,
MPI_COMM_WORLD
,
mod_shared_recs
,
mod_shared_rec_cnt
);
}
#endif
...
...
darshan-runtime/lib/darshan-posix.c
View file @
f67c6ce7
This diff is collapsed.
Click to expand it.
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