Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
darshan
darshan
Commits
64978d11
Commit
64978d11
authored
Jan 04, 2016
by
Shane Snyder
Browse files
bug fix for resolving mpi_gather in shared lib
parent
2feaff78
Changes
2
Hide whitespace changes
Inline
Side-by-side
darshan-runtime/darshan-dynamic.h
View file @
64978d11
...
...
@@ -114,10 +114,22 @@ DARSHAN_EXTERN_DECL(PMPI_Type_get_envelope, int, (MPI_Datatype datatype, int *nu
DARSHAN_EXTERN_DECL
(
PMPI_Type_size
,
int
,
(
MPI_Datatype
datatype
,
int
*
size
));
DARSHAN_EXTERN_DECL
(
PMPI_Op_create
,
int
,
(
MPI_User_function
*
function
,
int
commute
,
MPI_Op
*
op
));
DARSHAN_EXTERN_DECL
(
PMPI_Op_free
,
int
,
(
MPI_Op
*
op
));
#ifdef HAVE_MPIIO_CONST
DARSHAN_EXTERN_DECL
(
PMPI_Reduce
,
int
,
(
const
void
*
sendbuf
,
void
*
recvbuf
,
int
count
,
MPI_Datatype
datatype
,
MPI_Op
op
,
int
root
,
MPI_Comm
comm
));
#else
DARSHAN_EXTERN_DECL
(
PMPI_Reduce
,
int
,
(
void
*
sendbuf
,
void
*
recvbuf
,
int
count
,
MPI_Datatype
datatype
,
MPI_Op
op
,
int
root
,
MPI_Comm
comm
));
#endif
#ifdef HAVE_MPIIO_CONST
DARSHAN_EXTERN_DECL
(
PMPI_Send
,
int
,
(
const
void
*
buf
,
int
count
,
MPI_Datatype
datatype
,
int
dest
,
int
tag
,
MPI_Comm
comm
));
#else
DARSHAN_EXTERN_DECL
(
PMPI_Send
,
int
,
(
void
*
buf
,
int
count
,
MPI_Datatype
datatype
,
int
dest
,
int
tag
,
MPI_Comm
comm
));
#endif
DARSHAN_EXTERN_DECL
(
PMPI_Recv
,
int
,
(
void
*
buf
,
int
count
,
MPI_Datatype
datatype
,
int
source
,
int
tag
,
MPI_Comm
comm
,
MPI_Status
*
status
));
#ifdef HAVE_MPIIO_CONST
DARSHAN_EXTERN_DECL
(
PMPI_Gather
,
int
,
(
const
void
*
sendbuf
,
int
sendcount
,
MPI_Datatype
sendtype
,
void
*
recvbuf
,
int
recvcount
,
MPI_Datatype
recvtype
,
int
root
,
MPI_Comm
comm
));
#else
DARSHAN_EXTERN_DECL
(
PMPI_Gather
,
int
,
(
void
*
sendbuf
,
int
sendcount
,
MPI_Datatype
sendtype
,
void
*
recvbuf
,
int
recvcount
,
MPI_Datatype
recvtype
,
int
root
,
MPI_Comm
comm
));
#endif
#endif
...
...
darshan-runtime/lib/darshan-core-init-finalize.c
View file @
64978d11
...
...
@@ -120,9 +120,22 @@ DARSHAN_FORWARD_DECL(PMPI_Type_get_envelope, int, (MPI_Datatype datatype, int *n
DARSHAN_FORWARD_DECL
(
PMPI_Type_size
,
int
,
(
MPI_Datatype
datatype
,
int
*
size
));
DARSHAN_FORWARD_DECL
(
PMPI_Op_create
,
int
,
(
MPI_User_function
*
function
,
int
commute
,
MPI_Op
*
op
));
DARSHAN_FORWARD_DECL
(
PMPI_Op_free
,
int
,
(
MPI_Op
*
op
));
#ifdef HAVE_MPIIO_CONST
DARSHAN_FORWARD_DECL
(
PMPI_Reduce
,
int
,
(
const
void
*
sendbuf
,
void
*
recvbuf
,
int
count
,
MPI_Datatype
datatype
,
MPI_Op
op
,
int
root
,
MPI_Comm
comm
));
#else
DARSHAN_FORWARD_DECL
(
PMPI_Reduce
,
int
,
(
void
*
sendbuf
,
void
*
recvbuf
,
int
count
,
MPI_Datatype
datatype
,
MPI_Op
op
,
int
root
,
MPI_Comm
comm
));
#endif
#ifdef HAVE_MPIIO_CONST
DARSHAN_FORWARD_DECL
(
PMPI_Send
,
int
,
(
const
void
*
buf
,
int
count
,
MPI_Datatype
datatype
,
int
dest
,
int
tag
,
MPI_Comm
comm
));
#else
DARSHAN_FORWARD_DECL
(
PMPI_Send
,
int
,
(
void
*
buf
,
int
count
,
MPI_Datatype
datatype
,
int
dest
,
int
tag
,
MPI_Comm
comm
));
#endif
DARSHAN_FORWARD_DECL
(
PMPI_Recv
,
int
,
(
void
*
buf
,
int
count
,
MPI_Datatype
datatype
,
int
source
,
int
tag
,
MPI_Comm
comm
,
MPI_Status
*
status
));
#ifdef HAVE_MPIIO_CONST
DARSHAN_FORWARD_DECL
(
PMPI_Gather
,
int
,
(
const
void
*
sendbuf
,
int
sendcount
,
MPI_Datatype
sendtype
,
void
*
recvbuf
,
int
recvcount
,
MPI_Datatype
recvtype
,
int
root
,
MPI_Comm
comm
));
#else
DARSHAN_FORWARD_DECL
(
PMPI_Gather
,
int
,
(
void
*
sendbuf
,
int
sendcount
,
MPI_Datatype
sendtype
,
void
*
recvbuf
,
int
recvcount
,
MPI_Datatype
recvtype
,
int
root
,
MPI_Comm
comm
));
#endif
void
resolve_mpi_symbols
(
void
)
{
...
...
@@ -182,6 +195,7 @@ void resolve_mpi_symbols (void)
MAP_OR_FAIL
(
PMPI_Reduce
);
MAP_OR_FAIL
(
PMPI_Send
);
MAP_OR_FAIL
(
PMPI_Recv
);
MAP_OR_FAIL
(
PMPI_Gather
);
return
;
}
...
...
Shane Snyder
@ssnyder
mentioned in issue
#177 (closed)
·
Jan 04, 2016
mentioned in issue
#177 (closed)
mentioned in issue #177
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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