Fix for communications clash; under review
This commit is contained in:
parent
176e2e7cbd
commit
712e1410db
1 changed files with 8 additions and 0 deletions
|
@ -1147,6 +1147,14 @@ void GlobalPointPatchField
|
|||
|
||||
// Reduce/extract the result and enforce over all processors
|
||||
|
||||
// Requires global sync points to flush buffers before gather-scatter
|
||||
// communications. Reconsider. HJ, 29/Mar/2011
|
||||
if (Pstream::defaultCommsType == Pstream::nonBlocking)
|
||||
{
|
||||
IPstream::waitRequests();
|
||||
OPstream::waitRequests();
|
||||
}
|
||||
|
||||
tmp<Field<scalar> > trpf =
|
||||
reduceExtractPoint<scalar>(localMult);
|
||||
|
||||
|
|
Reference in a new issue