Skip to content

Commit 40ce2ff

Browse files
authored
Merge pull request #8908 from ggouaillardet/topic/sendrecv_replace_fix2
fix MPI_Sendrecv_replace
2 parents 6d8f157 + 34b764c commit 40ce2ff

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

ompi/mpi/c/sendrecv_replace.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,7 @@ int MPI_Sendrecv_replace(void * buf, int count, MPI_Datatype datatype,
131131
}
132132
max_data = packed_size;
133133
iov_count = 1;
134-
rc = opal_convertor_pack(&convertor, &iov, &iov_count, &max_data);
135-
if(OMPI_SUCCESS != rc) {
136-
goto cleanup_and_return;
137-
}
134+
(void)opal_convertor_pack(&convertor, &iov, &iov_count, &max_data);
138135

139136
/* receive into the buffer */
140137
rc = MCA_PML_CALL(irecv(buf, count, datatype,

0 commit comments

Comments
 (0)