mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ignore status
This commit is contained in:
@ -131,15 +131,13 @@ void Foam::OPstream::waitRequests()
|
||||
{
|
||||
if (OPstream_outstandingRequests_.size() > 0)
|
||||
{
|
||||
List<MPI_Status> status(OPstream_outstandingRequests_.size());
|
||||
|
||||
if
|
||||
(
|
||||
MPI_Waitall
|
||||
(
|
||||
OPstream_outstandingRequests_.size(),
|
||||
OPstream_outstandingRequests_.begin(),
|
||||
status.begin()
|
||||
MPI_STATUSES_IGNORE
|
||||
)
|
||||
)
|
||||
{
|
||||
@ -169,9 +167,7 @@ bool Foam::OPstream::finishedRequest(const label i)
|
||||
}
|
||||
|
||||
int flag;
|
||||
MPI_Status status;
|
||||
|
||||
MPI_Test(&OPstream_outstandingRequests_[i], &flag, &status);
|
||||
MPI_Test(&OPstream_outstandingRequests_[i], &flag, MPI_STATUS_IGNORE);
|
||||
|
||||
return flag != 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user