Skip to content

Commit a7c9c4a

Browse files
committed
MPI_Sendreceive_replace data error with > 2k msg (RTC 155305)
Signed-off-by: William LePera <[email protected]>
1 parent 5e9be76 commit a7c9c4a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ompi/mpi/c/sendrecv_replace.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
* Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved.
1313
* Copyright (c) 2015 Research Organization for Information Science
1414
* and Technology (RIST). All rights reserved.
15+
* Copyright (c) 2017 IBM Corporation. All rights reserved.
1516
* $COPYRIGHT$
1617
*
1718
* Additional copyrights may follow
@@ -116,6 +117,7 @@ int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
116117
rc = OMPI_ERR_OUT_OF_RESOURCE;
117118
goto cleanup_and_return;
118119
}
120+
iov.iov_len = packed_size;
119121
}
120122
max_data = packed_size;
121123
iov_count = 1;

0 commit comments

Comments
 (0)