From 71aae69ba4a113c34c5d472e2f140271bd8cd7ff Mon Sep 17 00:00:00 2001 From: degomme Date: Thu, 25 Jun 2015 15:47:39 +0200 Subject: [PATCH] add two declarations for fortran --- include/smpi/mpif.h.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/smpi/mpif.h.in b/include/smpi/mpif.h.in index b6b94ebd1c..3d4d949108 100644 --- a/include/smpi/mpif.h.in +++ b/include/smpi/mpif.h.in @@ -20,6 +20,7 @@ integer MPI_ANY_SOURCE, MPI_PROC_NULL, MPI_ANY_TAG, MPI_UNDEFINED integer MPI_SOURCE, MPI_TAG, MPI_ERROR integer MPI_VERSION, MPI_SUBVERSION + integer MPI_LOCK_EXCLUSIVE, MPI_LOCK_SHARED parameter(MPI_MAX_PROCESSOR_NAME=100) parameter(MPI_MAX_ERROR_STRING=100) parameter(MPI_MAX_DATAREP_STRIN =100) @@ -36,6 +37,8 @@ parameter(MPI_ERROR=3) parameter(MPI_VERSION=1) parameter(MPI_SUBVERSION=1) + parameter(MPI_LOCK_EXCLUSIVE=1) + parameter(MPI_LOCK_SHARED=2) integer MPI_MODE_NOSTORE, MPI_MODE_NOPUT, MPI_MODE_NOPRECEDE integer MPI_MODE_NOSUCCEED, MPI_MODE_NOCHECK parameter(MPI_MODE_NOSTORE=1) -- 2.20.1