Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Let's pretend we support MPI 2.2.
authordegomme <augustin.degomme@unibas.ch>
Sat, 11 Feb 2017 17:48:46 +0000 (18:48 +0100)
committerdegomme <augustin.degomme@unibas.ch>
Sun, 12 Feb 2017 01:08:28 +0000 (02:08 +0100)
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.

include/smpi/mpif.h.in
include/smpi/smpi.h

index 69b68b7..2616e21 100644 (file)
@@ -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
index 99e7074..0f30c1a 100644 (file)
@@ -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