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
8
Merge Requests
8
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
cac9a0e6
Commit
cac9a0e6
authored
Oct 04, 2017
by
Shane Snyder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
need to declar PMPI wrappers after MPI wrappers
parent
910486f8
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
140 additions
and
126 deletions
+140
-126
darshan-runtime/lib/darshan-core-init-finalize.c
darshan-runtime/lib/darshan-core-init-finalize.c
+3
-3
darshan-runtime/lib/darshan-mpiio.c
darshan-runtime/lib/darshan-mpiio.c
+137
-123
No files found.
darshan-runtime/lib/darshan-core-init-finalize.c
View file @
cac9a0e6
...
...
@@ -21,7 +21,6 @@ DARSHAN_FORWARD_DECL(PMPI_Finalize, int, ());
DARSHAN_FORWARD_DECL
(
PMPI_Init
,
int
,
(
int
*
argc
,
char
***
argv
));
DARSHAN_FORWARD_DECL
(
PMPI_Init_thread
,
int
,
(
int
*
argc
,
char
***
argv
,
int
required
,
int
*
provided
));
DARSHAN_WRAPPER_MAP
(
PMPI_Init
,
int
,
(
int
*
argc
,
char
***
argv
),
MPI_Init
(
argc
,
argv
))
int
DARSHAN_DECL
(
MPI_Init
)(
int
*
argc
,
char
***
argv
)
{
int
ret
;
...
...
@@ -46,8 +45,8 @@ int DARSHAN_DECL(MPI_Init)(int *argc, char ***argv)
return
(
ret
);
}
DARSHAN_WRAPPER_MAP
(
PMPI_Init
,
int
,
(
int
*
argc
,
char
***
argv
),
MPI_Init
(
argc
,
argv
))
DARSHAN_WRAPPER_MAP
(
PMPI_Init_thread
,
int
,
(
int
*
argc
,
char
***
argv
,
int
required
,
int
*
provided
),
MPI_Init_thread
(
argc
,
argv
,
required
,
provided
))
int
DARSHAN_DECL
(
MPI_Init_thread
)(
int
*
argc
,
char
***
argv
,
int
required
,
int
*
provided
)
{
int
ret
;
...
...
@@ -72,8 +71,8 @@ int DARSHAN_DECL(MPI_Init_thread)(int *argc, char ***argv, int required, int *pr
return
(
ret
);
}
DARSHAN_WRAPPER_MAP
(
PMPI_Init_thread
,
int
,
(
int
*
argc
,
char
***
argv
,
int
required
,
int
*
provided
),
MPI_Init_thread
(
argc
,
argv
,
required
,
provided
))
DARSHAN_WRAPPER_MAP
(
PMPI_Finalize
,
int
,
(
void
),
MPI_Finalize
())
int
DARSHAN_DECL
(
MPI_Finalize
)(
void
)
{
int
ret
;
...
...
@@ -85,6 +84,7 @@ int DARSHAN_DECL(MPI_Finalize)(void)
ret
=
__real_PMPI_Finalize
();
return
(
ret
);
}
DARSHAN_WRAPPER_MAP
(
PMPI_Finalize
,
int
,
(
void
),
MPI_Finalize
())
/*
* Local variables:
...
...
darshan-runtime/lib/darshan-mpiio.c
View file @
cac9a0e6
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