source: LMDZ6/branches/Amaury_dev/libf/misc/lmdz_mpi.F90 @ 5201

Last change on this file since 5201 was 5182, checked in by abarral, 2 months ago

(WIP) Replace REPROBUS CPP KEY by logical
properly name modules

File size: 636 bytes
Line 
1MODULE lmdz_mpi
2#ifdef CPP_MPI
3  INCLUDE 'mpif.h'
4  LOGICAL,PARAMETER :: using_mpi = .TRUE.
5#else
6  LOGICAL, PARAMETER :: using_mpi = .FALSE.
7
8  INTEGER, PARAMETER :: MPI_REAL8 = 1
9  INTEGER, PARAMETER :: MPI_INTEGER = 1
10  INTEGER, PARAMETER :: MPI_CHARACTER = 1
11  INTEGER, PARAMETER :: MPI_LOGICAL = 1
12  INTEGER, PARAMETER :: MPI_SUM = 1
13  INTEGER, PARAMETER :: MPI_MIN = 1
14  INTEGER, PARAMETER :: MPI_COMM_WORLD = 1
15  INTEGER, PARAMETER :: MPI_STATUS_SIZE = 1
16  INTEGER, PARAMETER :: MPI_THREAD_SERIALIZED = 1
17  INTEGER(kind = 8), PARAMETER :: MPI_ADDRESS_KIND = 1
18  INTEGER, PARAMETER :: MPI_INFO_NULL = 1
19#endif
20END MODULE lmdz_mpi
Note: See TracBrowser for help on using the repository browser.