1
1
openmpi/ompi
Mark Allen e24d5ccb7e single_predefined_type with MPI_LB/UB
The ompi_datatype_get_single_predefined_type_from_args() recurses down
into a constructed type to identify what base datatype it's built from
if it's built from a single type.  But if the type has MPI_LB/MPI_UB,
for example
    lens[0] = 1;
    lens[1] = 1;
    disps[0] = 0;
    disps[1] = 0;
    types[0] = MPI_LB;
    types[1] = MPI_INT;
    MPI_Type_create_struct(2, lens, disps, types, &mydt);
then this function will see the base type MPI_LB as differing from MPI_INT
and will identify mydt as not being constructed from a single base type, so
the type will be rejected for calls like MPI_Accumulate.

I think those "meta data" types shouldn't result in rejection like that, and
the above mydt should still be identified as having a single base type
of MPI_INT.

Addition: boslica wanted another change discussed here
    https://github.com/open-mpi/ompi/pull/3609
relating to the calculation for "count" after identifying the
predefined_type that was being used.

Signed-off-by: Mark Allen <markalle@us.ibm.com>
2017-10-03 19:08:18 -04:00
..
attribute ompi/attribute: plug a memory leak in set_value() 2016-12-01 14:24:30 +09:00
class Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
communicator fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
contrib Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
datatype single_predefined_type with MPI_LB/UB 2017-10-03 19:08:18 -04:00
debuggers fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
dpm Update the connect/accept support so we check to see if we have the proper infrastructure and RTE support, including whether we have ompi-server available if the connect/accept spans multiple applications. Print pretty help messages in all cases where we do not have support 2017-05-27 10:47:08 -07:00
errhandler Improve the opal_pointer_array & more (#3369) 2017-04-18 21:41:26 -04:00
etc Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
file fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
group group: Fix ompi_group_have_remote_peers 2017-05-08 20:28:51 +09:00
include Topic/datatype (#3441) 2017-05-09 09:31:40 -04:00
info fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
interlib fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
mca single_predefined_type with MPI_LB/UB 2017-10-03 19:08:18 -04:00
message Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
mpi Merge pull request #3589 from hjelmn/cxx_glue 2017-05-26 11:24:05 -06:00
mpiext fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
op Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
patterns ompi: use ompi_coll_base_sendrecv_actual() whenever possible 2017-04-20 10:01:28 +09:00
peruse Revert "Update to sync with OMPI master and cleanup to build" 2016-11-22 15:03:20 -08:00
proc ompi: Avoid unnecessary PMIx lookups when adding procs (step 2). 2017-03-16 07:47:27 +07:00
request Improve the opal_pointer_array & more (#3369) 2017-04-18 21:41:26 -04:00
runtime Update the connect/accept support so we check to see if we have the proper infrastructure and RTE support, including whether we have ompi-server available if the connect/accept spans multiple applications. Print pretty help messages in all cases where we do not have support 2017-05-27 10:47:08 -07:00
tools Improve the opal_pointer_array & more (#3369) 2017-04-18 21:41:26 -04:00
util Cleanup warnings when timing is not enabled 2017-04-11 17:29:27 -07:00
win fixes for Dave's get/set info code 2017-05-17 01:12:49 -04:00
Makefile.am Implement the changes required to support cross-library coordination. Update PMIx to support intra-process notifications and ensure that we always notify ourselves for events. Add a new ompi/interlib directory where cross-lib coordination code can go, and put the code to declare ourselves there (called from ompi_mpi_init.c). 2017-05-08 10:04:50 -07:00