Skip to content
Snippets Groups Projects
Commit 1b2248fb authored by Atkins, Charles Vernon's avatar Atkins, Charles Vernon
Browse files

Merge branch 'release'

* release:
  const_cast added to MPI_Isend due to void* signature
parents 6d7fcb5e eafe6ca3
No related branches found
No related tags found
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment