Commit 12ae522d authored by Ruonan Wang's avatar Ruonan Wang
Browse files

trying to fix issues with windows build

parent 819dada3
......@@ -72,7 +72,7 @@ void MpiHandshake::Test()
existed = true;
}
}
if (not existed)
if (!existed)
{
ranks.push_back(rank);
}
......@@ -88,7 +88,7 @@ void MpiHandshake::Test()
existed = true;
}
}
if (not existed)
if (!existed)
{
ranks.push_back(rank);
}
......@@ -199,7 +199,7 @@ void MpiHandshake::Start(const size_t maxStreamsPerApp,
void MpiHandshake::Wait(const std::string &filename)
{
bool finished = false;
while (not finished)
while (!finished)
{
finished = Check(filename);
}
......@@ -228,7 +228,7 @@ void MpiHandshake::Finalize()
MPI_Status status;
int success;
MPI_Test(&r, &success, &status);
if (not success)
if (!success)
{
MPI_Cancel(&r);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment