source: LMDZ6/branches/LMDZ_ECRad/libf/misc/lmdz_mpi.F90 @ 5434

Last change on this file since 5434 was 4727, checked in by idelkadi, 14 months ago

Merged trunk changes -r4488:4726 LMDZ_ECRad branch

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