From a7c9c4aef35a7969cfe72542e5ed25ede66c0afd Mon Sep 17 00:00:00 2001 From: William LePera Date: Thu, 1 Jun 2017 10:32:08 -0400 Subject: [PATCH] MPI_Sendreceive_replace data error with > 2k msg (RTC 155305) Signed-off-by: William LePera --- ompi/mpi/c/sendrecv_replace.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ompi/mpi/c/sendrecv_replace.c b/ompi/mpi/c/sendrecv_replace.c index 98b3089bfc..bb9f4126f1 100644 --- a/ompi/mpi/c/sendrecv_replace.c +++ b/ompi/mpi/c/sendrecv_replace.c @@ -12,6 +12,7 @@ * Copyright (c) 2010-2012 Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2015 Research Organization for Information Science * and Technology (RIST). All rights reserved. + * Copyright (c) 2017 IBM Corporation. All rights reserved. * $COPYRIGHT$ * * Additional copyrights may follow @@ -116,6 +117,7 @@ int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype, rc = OMPI_ERR_OUT_OF_RESOURCE; goto cleanup_and_return; } + iov.iov_len = packed_size; } max_data = packed_size; iov_count = 1;