File tree Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Expand file tree Collapse file tree 2 files changed +12
-6
lines changed Original file line number Diff line number Diff line change 6
6
* reserved.
7
7
* Copyright (c) 2018-2020 Amazon.com, Inc. or its affiliates. All rights
8
8
* reserved.
9
- *
9
+ * Copyright (c) 2021 The University of Tennessee and The University
10
+ * of Tennessee Research Foundation. All rights
11
+ * reserved.
10
12
* $COPYRIGHT$
11
13
*
12
14
* Additional copyrights may follow
@@ -1086,7 +1088,7 @@ ompi_mtl_ofi_iprobe_generic(struct mca_mtl_base_module_t *mtl,
1086
1088
* flag = ofi_req .match_state ;
1087
1089
if (1 == * flag ) {
1088
1090
if (MPI_STATUS_IGNORE != status ) {
1089
- * status = ofi_req .status ;
1091
+ OMPI_COPY_STATUS ( status , ofi_req .status , false) ;
1090
1092
}
1091
1093
}
1092
1094
@@ -1178,7 +1180,7 @@ ompi_mtl_ofi_improbe_generic(struct mca_mtl_base_module_t *mtl,
1178
1180
* matched = ofi_req -> match_state ;
1179
1181
if (1 == * matched ) {
1180
1182
if (MPI_STATUS_IGNORE != status ) {
1181
- * status = ofi_req -> status ;
1183
+ OMPI_COPY_STATUS ( status , ofi_req -> status , false) ;
1182
1184
}
1183
1185
1184
1186
(* message ) = ompi_message_alloc ();
Original file line number Diff line number Diff line change 2
2
* Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
3
3
* University Research and Technology
4
4
* Corporation. All rights reserved.
5
- * Copyright (c) 2004-2010 The University of Tennessee and The University
5
+ * Copyright (c) 2004-2021 The University of Tennessee and The University
6
6
* of Tennessee Research Foundation. All rights
7
7
* reserved.
8
8
* Copyright (c) 2004-2005 High Performance Computing Center Stuttgart,
@@ -120,7 +120,9 @@ ompi_mtl_portals4_iprobe(struct mca_mtl_base_module_t* mtl,
120
120
121
121
* flag = request .found_match ;
122
122
if (1 == * flag ) {
123
- * status = request .status ;
123
+ if (MPI_STATUS_IGNORE != status ) {
124
+ OMPI_COPY_STATUS (status , request .status , false);
125
+ }
124
126
}
125
127
126
128
return OMPI_SUCCESS ;
@@ -198,7 +200,9 @@ ompi_mtl_portals4_improbe(struct mca_mtl_base_module_t *mtl,
198
200
199
201
* matched = request .found_match ;
200
202
if (1 == * matched ) {
201
- * status = request .status ;
203
+ if (MPI_STATUS_IGNORE != status ) {
204
+ OMPI_COPY_STATUS (status , request .status , false);
205
+ }
202
206
203
207
(* message ) = ompi_message_alloc ();
204
208
if (NULL == (* message )) {
You can’t perform that action at this time.
0 commit comments