Changeset 5182 for LMDZ6/branches/Amaury_dev/libf/misc/lmdz_mpi.F90
- Timestamp:
- Sep 10, 2024, 4:25:29 PM (2 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Amaury_dev/libf/misc/lmdz_mpi.F90
r4600 r5182 1 MODULE lmdz_mpi 1 2 #ifdef CPP_MPI 2 MODULE lmdz_mpi3 4 3 INCLUDE 'mpif.h' 5 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 6 20 END MODULE lmdz_mpi 7 8 #else9 10 MODULE lmdz_mpi11 LOGICAL,PARAMETER :: using_mpi = .FALSE.12 13 INTEGER, PARAMETER :: MPI_REAL8 = 114 INTEGER, PARAMETER :: MPI_INTEGER = 115 INTEGER, PARAMETER :: MPI_CHARACTER = 116 INTEGER, PARAMETER :: MPI_LOGICAL = 117 INTEGER, PARAMETER :: MPI_SUM = 118 INTEGER, PARAMETER :: MPI_MIN = 119 INTEGER, PARAMETER :: MPI_COMM_WORLD = 120 INTEGER, PARAMETER :: MPI_STATUS_SIZE = 121 INTEGER, PARAMETER :: MPI_THREAD_SERIALIZED =122 INTEGER(kind=8), PARAMETER :: MPI_ADDRESS_KIND = 123 INTEGER, PARAMETER :: MPI_INFO_NULL = 124 25 END MODULE lmdz_mpi26 27 #endif
Note: See TracChangeset
for help on using the changeset viewer.