mpi: initialize MPI_Request with MPI_REQUEST_NULL

Fixes compatibility issue with Mpich
This commit is contained in:
Gabriel Ferreira
2023-09-16 23:27:01 -03:00
parent 8268dd5c34
commit c77aba9cbc
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ NS_OBJECT_ENSURE_REGISTERED(GrantedTimeWindowMpiInterface);
SentBuffer::SentBuffer()
{
m_buffer = nullptr;
m_request = nullptr;
m_request = MPI_REQUEST_NULL;
}
SentBuffer::~SentBuffer()

View File

@@ -97,7 +97,7 @@ const uint32_t NULL_MESSAGE_MAX_MPI_MSG_SIZE = 2000;
NullMessageSentBuffer::NullMessageSentBuffer()
{
m_buffer = nullptr;
m_request = nullptr;
m_request = MPI_REQUEST_NULL;
}
NullMessageSentBuffer::~NullMessageSentBuffer()