Skip to content

Commit 5075d5a

Browse files
committed
fix mpi4py break
Signed-off-by: Howard Pritchard <[email protected]>
1 parent df977a4 commit 5075d5a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ompi/mpi/c/imrecv.c.in

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Copyright (c) 2012 Oak Ridge National Labs. All rights reserved.
55
* Copyright (c) 2015 Research Organization for Information Science
66
* and Technology (RIST). All rights reserved.
7-
* Copyright (c) 2024 Triad National Security, LLC. All rights
7+
* Copyright (c) 2024-2025 Triad National Security, LLC. All rights
88
* reserved.
99
* $COPYRIGHT$
1010
*
@@ -52,8 +52,9 @@ PROTOTYPE ERROR_CLASS imrecv(BUFFER_OUT buf, COUNT count, DATATYPE type,
5252
comm = (*message)->comm;
5353
}
5454

55-
if (MPI_MESSAGE_NO_PROC == *message) {
55+
if (&ompi_message_no_proc.message == *message) {
5656
*request = &ompi_request_empty;
57+
*message = MPI_MESSAGE_NULL;
5758
return MPI_SUCCESS;
5859
}
5960

0 commit comments

Comments
 (0)