From f2dec4ffb69f47b4aeece1599d3075d30bcd8847 Mon Sep 17 00:00:00 2001 From: Howard Pritchard Date: Wed, 9 Jun 2021 15:08:30 -0600 Subject: [PATCH] sessions: switch to using mpi_max_stringtag_len per the MPI 4.0 standard related to https://github.com/hpc/ompi/issues/37 Signed-off-by: Howard Pritchard --- config/opal_configure_options.m4 | 4 ++-- ompi/include/mpif-config.h.in | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/opal_configure_options.m4 b/config/opal_configure_options.m4 index 39603f5a8c0..e8dd9e6a25a 100644 --- a/config/opal_configure_options.m4 +++ b/config/opal_configure_options.m4 @@ -20,7 +20,7 @@ dnl Copyright (c) 2011-2013 NVIDIA Corporation. All rights reserved. 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) 2019 Triad National Security, LLC. All rights +dnl Copyright (c) 2019-2021 Triad National Security, LLC. All rights dnl reserved. dnl dnl $COPYRIGHT$ @@ -521,7 +521,7 @@ 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(from_group_tag, 1024, 256, 2048) +OPAL_WITH_OPTION_MIN_MAX_VALUE(stringtag_len, 1024, 256, 2048) AC_DEFINE_UNQUOTED([OPAL_ENABLE_CRDEBUG], [0], [Whether we want checkpoint/restart enabled debugging functionality or not]) diff --git a/ompi/include/mpif-config.h.in b/ompi/include/mpif-config.h.in index aba3ecd33da..fc2054df637 100644 --- a/ompi/include/mpif-config.h.in +++ b/ompi/include/mpif-config.h.in @@ -63,7 +63,7 @@ integer MPI_MAX_PORT_NAME integer MPI_MAX_DATAREP_STRING integer MPI_MAX_PSET_NAME_LEN - integer MPI_MAX_FROM_GROUP_TAG + integer MPI_MAX_STRINGTAG_LEN parameter (MPI_MAX_PROCESSOR_NAME=@OPAL_MAX_PROCESSOR_NAME@-1) parameter (MPI_MAX_ERROR_STRING=@OPAL_MAX_ERROR_STRING@-1) parameter (MPI_MAX_OBJECT_NAME=@OPAL_MAX_OBJECT_NAME@-1) @@ -73,7 +73,7 @@ parameter (MPI_MAX_PORT_NAME=@OPAL_MAX_PORT_NAME@-1) parameter (MPI_MAX_DATAREP_STRING=@OPAL_MAX_DATAREP_STRING@-1) parameter (MPI_MAX_PSET_NAME_LEN=@OPAL_MAX_PSET_NAME_LEN@-1) - parameter (MPI_MAX_FROM_GROUP_TAG=@OPAL_MAX_FROM_GROUP_TAG@-1) + parameter (MPI_MAX_STRINGTAG_LEN=@OPAL_MAX_STRINGTAG_LEN@-1) ! ! MPI F08 conformance