1
1
openmpi/ompi/datatype
Nathan Hjelm 88072f9b8b ompi/datatype: fix subarray datatype
The subarray datatype was not packing/unpacking correctly. This was
leading to wrong results whenever the lb of the subarray datatype was
non-zero.

I tracked the issue to the use of ompi_datatype_create_resized. This
function simply duplicates the old datatype and sets the lb and
extent. This is unfortunately insufficent for the pack/unpack
functions which use the loop end first element offset NOT the lb. This
offset is 0 in the resized datatype. Once ompi_datatype_create_resized
has been fixed this commit should be reverted.

Fixes #380.

Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov>
2015-03-24 14:33:10 -06:00
..
Makefile.am Fix longstanding issue with our multi-project support. Rather than using 2014-01-07 22:11:15 +00:00
ompi_datatype_args.c George did the work and deserves all the credit for it. Ralph did the merge, and deserves whatever blame results from errors in it :-) 2014-07-26 00:47:28 +00:00
ompi_datatype_create_contiguous.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create_darray.c Correctly set the upper and lower bound for the subarray and darray. 2015-01-19 02:26:14 -05:00
ompi_datatype_create_indexed.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create_struct.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create_subarray.c ompi/datatype: fix subarray datatype 2015-03-24 14:33:10 -06:00
ompi_datatype_create_vector.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_create.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_external32.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_get_elements.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_internal.h Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_match_size.c Rearrange the #include to minimize clutter. 2013-09-28 17:15:33 +00:00
ompi_datatype_module.c datatypes: trivial spelling fix 2015-02-27 18:16:01 -08:00
ompi_datatype_sndrcv.c Fixes *alltoall* collectives at top level 2014-05-19 07:46:07 +00:00
ompi_datatype.h Edgar noticed that the commit 3960817 broke the MPI_Type_create_resized. 2015-01-23 18:12:26 -05:00