Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Podhorszki, Norbert
ADIOS2
Commits
eafe6ca3
Commit
eafe6ca3
authored
Jun 27, 2017
by
williamfgc
Committed by
GitHub
Jun 27, 2017
Browse files
Merge pull request #192 from williamfgc/constbug
const_cast added to MPI_Isend due to void* signature
parents
a84774d6
0458a0fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/adios2/toolkit/format/bp1/BP1Aggregator.cpp
View file @
eafe6ca3
...
...
@@ -117,7 +117,8 @@ std::string BP1Aggregator::GetGlobalProfilingLog(const std::string &rankLog)
{
const
int
rankLogSize
=
static_cast
<
const
int
>
(
rankLog
.
size
());
MPI_Request
requestSize
;
MPI_Isend
(
&
rankLogSize
,
1
,
MPI_INT
,
0
,
0
,
m_MPIComm
,
&
requestSize
);
MPI_Isend
(
const_cast
<
int
*>
(
&
rankLogSize
),
1
,
MPI_INT
,
0
,
0
,
m_MPIComm
,
&
requestSize
);
MPI_Request
requestRankLog
;
MPI_Isend
(
const_cast
<
char
*>
(
rankLog
.
c_str
()),
rankLogSize
,
MPI_CHAR
,
0
,
...
...
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