Skip to content

Commit 7dd2bc0

Browse files
wleperagpaulsen
authored andcommitted
MPI_Sendreceive_replace data error with > 2k msg (RTC 155305)
Signed-off-by: William LePera <[email protected]> (cherry picked from commit a7c9c4a)
1 parent c178b43 commit 7dd2bc0

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
@@ -113,6 +114,7 @@ int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
113114
rc = OMPI_ERR_OUT_OF_RESOURCE;
114115
goto cleanup_and_return;
115116
}
117+
iov.iov_len = packed_size;
116118
}
117119
max_data = packed_size;
118120
iov_count = 1;

0 commit comments

Comments
 (0)