pmodels / casper

Process-based Asynchronous Progress Model for MPI Communication
https://pmodels.github.io/casper-www/
Other
9 stars 4 forks source link

use of deleted/deprecated function: MPI_Handler_function #36

Closed jeffhammond closed 4 years ago

jeffhammond commented 4 years ago

From https://travis-ci.org/pmodels/casper/jobs/613017969:

libtool: compile:  mpicc -DHAVE_CONFIG_H -I. -I./include -I./src/hwloc/include/private/autogen -I./src/hwloc/include/hwloc/autogen -I./include -I./include -I./src/common/include -I./src/common/util -I./src/user/include -I./src/ghost/include -I/Users/travis/build/pmodels/casper/src/hwloc/include -I/Users/travis/build/pmodels/casper/src/hwloc/include -I./src/openpa/src -I/Users/travis/build/pmodels/casper/src/openpa/src -I/usr/include/libxml2 -std=c99 -Wno-unknown-attributes -MT src/user/errhan/errhandler_create.lo -MD -MP -MF src/user/errhan/.deps/errhandler_create.Tpo -c src/user/errhan/errhandler_create.c  -fno-common -DPIC -o src/user/errhan/.libs/errhandler_create.o
src/user/errhan/errhandler_create.c:12:27: error: unknown type name 'MPI_Handler_function'; did you mean 'MPI_User_function'?
int MPI_Errhandler_create(MPI_Handler_function * errhandler_fn, MPI_Errhandler * errhandler)
                          ^~~~~~~~~~~~~~~~~~~~
                          MPI_User_function
/usr/local/Cellar/open-mpi/4.0.2/include/mpi.h:448:15: note: 'MPI_User_function' declared here
typedef void (MPI_User_function)(void *, void *, int *, MPI_Datatype *);
              ^
1 error generated.
make[1]: *** [src/user/errhan/errhandler_create.lo] Error 1