From: degomme Date: Sat, 11 Feb 2017 17:48:46 +0000 (+0100) Subject: Let's pretend we support MPI 2.2. X-Git-Tag: v3_15~438 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/ca82056e1c23d42417ee3dbfe6c7d9aa9a897420 Let's pretend we support MPI 2.2. We don't have everything, but we really have enough support to handle most of the cases. I hope. This activates plenty of tests that were doing nothing before. --- diff --git a/include/smpi/mpif.h.in b/include/smpi/mpif.h.in index 69b68b7264..2616e218e2 100644 --- a/include/smpi/mpif.h.in +++ b/include/smpi/mpif.h.in @@ -35,8 +35,8 @@ parameter(MPI_SOURCE=1) parameter(MPI_TAG=2) parameter(MPI_ERROR=3) - parameter(MPI_VERSION=1) - parameter(MPI_SUBVERSION=1) + parameter(MPI_VERSION=2) + parameter(MPI_SUBVERSION=2) parameter(MPI_LOCK_EXCLUSIVE=1) parameter(MPI_LOCK_SHARED=2) integer MPI_MODE_NOSTORE, MPI_MODE_NOPUT, MPI_MODE_NOPRECEDE diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 99e7074eff..0f30c1ad4b 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -175,8 +175,8 @@ SG_BEGIN_DECL() #define MPI_COMM_TYPE_SHARED 1 #define MPI_WIN_NULL ((MPI_Win)NULL) -#define MPI_VERSION 1 -#define MPI_SUBVERSION 1 +#define MPI_VERSION 2 +#define MPI_SUBVERSION 2 #define MPI_UNWEIGHTED (int *)0 #define MPI_ARGV_NULL (char **)0 #define MPI_ARGVS_NULL (char ***)0