Commit 18debacb authored by Francois Tessier's avatar Francois Tessier

Null MPI datatype instead of NULL

parent 68ed0d86
......@@ -2,7 +2,7 @@
Memory::Memory ()
{
this->request_ = NULL;
this->request_ = MPI_REQUEST_NULL;
this->mmapAllocatorRank_ = 0;
}
......@@ -213,7 +213,7 @@ int Memory::memFlush ( ) {
break;
case NLS:
case PFS:
if ( this->request_ != NULL )
if ( this->request_ != MPI_REQUEST_NULL )
MPI_Wait ( &this->request_, &status );
break;
case NVR:
......
......@@ -2,7 +2,7 @@
Memory::Memory ()
{
this->request_ = NULL;
this->request_ = MPI_REQUEST_NULL;
this->mmapAllocatorRank_ = 0;
}
......@@ -233,7 +233,7 @@ int Memory::memFlush ( ) {
break;
case NLS:
case PFS:
if ( this->request_ != NULL )
if ( this->request_ != MPI_REQUEST_NULL )
MPI_Wait ( &this->request_, &status );
break;
case NVR:
......
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