Skip to content

Commit 6bd36a7

Browse files
hjelmnhppritcha
authored andcommitted
add support for sessions
Signed-off-by: Nathan Hjelm <hjelmn@lanl.gov> Signed-off-by: Howard Pritchard <howardp@lanl.gov> Signed-off-by: Howard Pritchard <howardp@lanl.gov>
1 parent 3b4d64f commit 6bd36a7

File tree

234 files changed

+8279
-2744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

234 files changed

+8279
-2744
lines changed

config/opal_configure_options.m4

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
2121
dnl Copyright (c) 2015 Research Organization for Information Science
2222
dnl and Technology (RIST). All rights reserved.
2323
dnl Copyright (c) 2020 Amazon.com, Inc. or its affiliates. All Rights
24+
dnl Copyright (c) 2019-2021 Triad National Security, LLC. All rights
2425
dnl reserved.
2526
dnl
2627
dnl $COPYRIGHT$
@@ -527,6 +528,10 @@ OPAL_WITH_OPTION_MIN_MAX_VALUE(port_name, 1024, 255, 2048)
527528
# Min length accroding to MPI-2.1, p. 418
528529
OPAL_WITH_OPTION_MIN_MAX_VALUE(datarep_string, 128, 64, 256)
529530

531+
OPAL_WITH_OPTION_MIN_MAX_VALUE(pset_name_len, 512, 512, 4096)
532+
533+
OPAL_WITH_OPTION_MIN_MAX_VALUE(stringtag_len, 1024, 256, 2048)
534+
530535
# some systems don't want/like getpwuid
531536
AC_MSG_CHECKING([if want getpwuid support])
532537
AC_ARG_ENABLE([getpwuid],

ompi/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ include patterns/net/Makefile.am
193193
include patterns/comm/Makefile.am
194194
include mca/Makefile.am
195195
include util/Makefile.am
196+
include instance/Makefile.am
196197

197198
distclean-local:
198199
rm -f mpiext/static-components.h

ompi/attribute/attribute.c

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* reserved.
1616
* Copyright (c) 2017 Research Organization for Information Science
1717
* and Technology (RIST). All rights reserved.
18-
* Copyright (c) 2018-2021 Triad National Security, LLC. All rights
18+
* Copyright (c) 2018-2022 Triad National Security, LLC. All rights
1919
* reserved.
2020
* $COPYRIGHT$
2121
*
@@ -243,6 +243,7 @@
243243
#include "ompi/datatype/ompi_datatype.h"
244244
#include "ompi/communicator/communicator.h" /* ompi_communicator_t generated in [COPY|DELETE]_ATTR_CALLBACKS */
245245
#include "ompi/win/win.h" /* ompi_win_t generated in [COPY|DELETE]_ATTR_CALLBACKS */
246+
#include "ompi/instance/instance.h"
246247
#include "ompi/mpi/fortran/base/fint_2_int.h"
247248

248249

@@ -465,16 +466,6 @@ static OBJ_CLASS_INSTANCE(ompi_attribute_keyval_t,
465466
ompi_attribute_keyval_construct,
466467
ompi_attribute_keyval_destruct);
467468

468-
/*
469-
* compatibility until sessions work is finished
470-
*/
471-
static inline int ompi_mpi_instance_retain(void) {
472-
return OMPI_SUCCESS;
473-
}
474-
475-
static inline void ompi_mpi_instance_release(void) {
476-
}
477-
478469
/*
479470
* Static variables
480471
*/

ompi/communicator/Makefile.am

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,4 @@ lib@OMPI_LIBMPI_NAME@_la_SOURCES += \
3939
communicator/ft/comm_ft.c communicator/ft/comm_ft_reliable_bcast.c communicator/ft/comm_ft_propagator.c communicator/ft/comm_ft_detector.c communicator/ft/comm_ft_revoke.c
4040
endif # WANT_FT_MPI
4141

42+
dist_ompidata_DATA += communicator/help-comm.txt

ompi/communicator/comm.c

Lines changed: 458 additions & 94 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)