Commit 5998259c authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Move free-space check after flush.

parent 38ba5d31
......@@ -591,14 +591,14 @@ void pioBufferFuncCall(union winHeaderEntry header,
for (collID = 0; collID < nProcsColl; ++collID)
{
xassert((txWin[collID].dictSize - txWin[collID].dictRPCUsed)
> txWin[collID].dictDataUsed);
if (txWin[collID].postSet)
{
xmpi(MPI_Win_wait(txWin[collID].win));
txWin[collID].postSet = 0;
modelWinFlushBuffer ( collID );
}
xassert(txWin[collID].dictRPCUsed + txWin[collID].dictDataUsed
< txWin[collID].dictSize);
xassert(txWin[collID].refuseFuncCall == 0);
modelWinEnqueue(collID, header, data, data_len);
}
......
Supports Markdown
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