File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change 7
7
* Copyright (c) 2018-2020 Amazon.com, Inc. or its affiliates. All rights
8
8
* reserved.
9
9
* Copyright (c) 2021 Cisco Systems, Inc. All rights reserved
10
+ * Copyright (c) 2021 The University of Tennessee and The University
11
+ * of Tennessee Research Foundation. All rights
12
+ * reserved.
10
13
* $COPYRIGHT$
11
14
*
12
15
* Additional copyrights may follow
@@ -1214,7 +1217,7 @@ ompi_mtl_ofi_iprobe_generic(struct mca_mtl_base_module_t *mtl,
1214
1217
* flag = ofi_req .match_state ;
1215
1218
if (1 == * flag ) {
1216
1219
if (MPI_STATUS_IGNORE != status ) {
1217
- * status = ofi_req .status ;
1220
+ OMPI_COPY_STATUS ( status , ofi_req .status , false) ;
1218
1221
}
1219
1222
}
1220
1223
@@ -1306,7 +1309,7 @@ ompi_mtl_ofi_improbe_generic(struct mca_mtl_base_module_t *mtl,
1306
1309
* matched = ofi_req -> match_state ;
1307
1310
if (1 == * matched ) {
1308
1311
if (MPI_STATUS_IGNORE != status ) {
1309
- * status = ofi_req -> status ;
1312
+ OMPI_COPY_STATUS ( status , ofi_req -> status , false) ;
1310
1313
}
1311
1314
1312
1315
(* 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