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

Last change on this file since 5419 was 5182, checked in by abarral, 3 months ago

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

File size: 636 bytes
RevLine 
[5182]1MODULE lmdz_mpi
[4600]2#ifdef CPP_MPI
3  INCLUDE 'mpif.h'
4  LOGICAL,PARAMETER :: using_mpi = .TRUE.
5#else
[5182]6  LOGICAL, PARAMETER :: using_mpi = .FALSE.
[4600]7
[5182]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
[4600]20END MODULE lmdz_mpi
Note: See TracBrowser for help on using the repository browser.