Skip to content

MPI-4: Add support for MPI Sessions #9097

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions config/opal_configure_options.m4
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dnl Copyright (c) 2013-2017 Intel, Inc. All rights reserved.
dnl Copyright (c) 2015 Research Organization for Information Science
dnl and Technology (RIST). All rights reserved.
dnl Copyright (c) 2020 Amazon.com, Inc. or its affiliates. All Rights
dnl Copyright (c) 2019-2021 Triad National Security, LLC. All rights
dnl reserved.
dnl
dnl $COPYRIGHT$
Expand Down Expand Up @@ -527,6 +528,10 @@ OPAL_WITH_OPTION_MIN_MAX_VALUE(port_name, 1024, 255, 2048)
# Min length accroding to MPI-2.1, p. 418
OPAL_WITH_OPTION_MIN_MAX_VALUE(datarep_string, 128, 64, 256)

OPAL_WITH_OPTION_MIN_MAX_VALUE(pset_name_len, 512, 512, 4096)

OPAL_WITH_OPTION_MIN_MAX_VALUE(stringtag_len, 1024, 256, 2048)

# some systems don't want/like getpwuid
AC_MSG_CHECKING([if want getpwuid support])
AC_ARG_ENABLE([getpwuid],
Expand Down
1 change: 1 addition & 0 deletions ompi/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,7 @@ include patterns/net/Makefile.am
include patterns/comm/Makefile.am
include mca/Makefile.am
include util/Makefile.am
include instance/Makefile.am

distclean-local:
rm -f mpiext/static-components.h
13 changes: 2 additions & 11 deletions ompi/attribute/attribute.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
* reserved.
* Copyright (c) 2017 Research Organization for Information Science
* and Technology (RIST). All rights reserved.
* Copyright (c) 2018-2021 Triad National Security, LLC. All rights
* Copyright (c) 2018-2022 Triad National Security, LLC. All rights
* reserved.
* $COPYRIGHT$
*
Expand Down Expand Up @@ -243,6 +243,7 @@
#include "ompi/datatype/ompi_datatype.h"
#include "ompi/communicator/communicator.h" /* ompi_communicator_t generated in [COPY|DELETE]_ATTR_CALLBACKS */
#include "ompi/win/win.h" /* ompi_win_t generated in [COPY|DELETE]_ATTR_CALLBACKS */
#include "ompi/instance/instance.h"
#include "ompi/mpi/fortran/base/fint_2_int.h"


Expand Down Expand Up @@ -465,16 +466,6 @@ static OBJ_CLASS_INSTANCE(ompi_attribute_keyval_t,
ompi_attribute_keyval_construct,
ompi_attribute_keyval_destruct);

/*
* compatibility until sessions work is finished
*/
static inline int ompi_mpi_instance_retain(void) {
return OMPI_SUCCESS;
}

static inline void ompi_mpi_instance_release(void) {
}

/*
* Static variables
*/
Expand Down
1 change: 1 addition & 0 deletions ompi/communicator/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,4 @@ lib@OMPI_LIBMPI_NAME@_la_SOURCES += \
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
endif # WANT_FT_MPI

dist_ompidata_DATA += communicator/help-comm.txt
552 changes: 458 additions & 94 deletions ompi/communicator/comm.c

Large diffs are not rendered by default.

Loading