Control: tags -1 patch On Sun, Feb 23, 2020 at 08:39:23AM +0100, Lucas Nussbaum wrote:
> > 2842 | #define MPI_Address(...) > > THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Address, MPI_Get_address) > > 2850 | #define MPI_Type_struct(...) > > THIS_SYMBOL_WAS_REMOVED_IN_MPI30(MPI_Type_struct, MPI_Type_create_struct) So tree-puzzle uses two symbols from MPI-2.0 that have been deprecated in MPI-3.0. Fortunately in both cases the only change is the name of the symbol, and it's not necessary to do anything else. See here for details: https://www.open-mpi.org/faq/?category=mpi-removed The attached patch fixes the build. The latest upstream release candidate still uses the old symbol btw. Berto
From: Alberto Garcia <be...@igalia.com> Subject: Replace obsolete MPI-2.0 API with their MPI-3.0 equivalents Bug-Debian: https://bugs.debian.org/951984 Index: tree-puzzle-5.2/src/ppuzzle.c =================================================================== --- tree-puzzle-5.2.orig/src/ppuzzle.c +++ tree-puzzle-5.2/src/ppuzzle.c @@ -21,11 +21,14 @@ #endif #define EXTERN extern +#define OMPI_OMIT_MPI1_COMPAT_DECLS 1 #include <mpi.h> #include <time.h> #include "ppuzzle.h" +#define MPI_Address MPI_Get_address +#define MPI_Type_struct MPI_Type_create_struct int PP_IamMaster; int PP_IamSlave;