Skip to content

Commit

Permalink
another try to pass the windows CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonRuonanWang committed Jul 5, 2020
1 parent eb8470b commit 980c0e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/adios2/helper/adiosMpiHandshake.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -147,18 +147,18 @@ const std::vector<std::vector<int>> Handshake(const std::string &filename,
}
}

size_t dims[3];
int dims[3];

if (localRank == 0)
{
for (int i = 0; i < 3; ++i)
{
dims[i] = ret[i].size();
dims[i] = static_cast<int>(ret[i].size());
std::sort(ret[i].begin(), ret[i].end());
}
}

MPI_Bcast(dims, 3, MPI_UNSIGNED_LONG_LONG, 0, localComm);
MPI_Bcast(dims, 3, MPI_INT, 0, localComm);

if (localRank != 0)
{
Expand Down

0 comments on commit 980c0e0

Please sign in to comment.