Skip to content

MPI function deprecation warning #269

Description

@PhilipDeegan
SAMRAI_MPI.cpp:753:14: warning: 'MPI_Attr_get' is deprecated: MPI_Attr_get was deprecated in MPI-2.0; use MPI_Comm_get_attr instead [-Wdeprecated-declarations]
      rval = MPI_Attr_get(d_comm, keyval, attribute_val, flag);
             ^
/usr/local/Cellar/open-mpi/5.0.1/include/mpi.h:3025:13: note: 'MPI_Attr_get' has been explicitly marked deprecated here
            __mpi_interface_deprecated__("MPI_Attr_get was deprecated in MPI-2.0; use MPI_Comm_get_attr instead");
            ^
/usr/local/Cellar/open-mpi/5.0.1/include/mpi.h:302:78: note: expanded from macro '__mpi_interface_deprecated__'
#                    define __mpi_interface_deprecated__(msg) __attribute__((__deprecated__(msg)))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions