Changeset 1897 for LMDZ5/trunk/libf/dyn3dpar
- Timestamp:
- Oct 25, 2013, 10:12:38 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/dyn3dpar/mod_const_mpi.F90
r1856 r1897 3 3 ! 4 4 MODULE mod_const_mpi 5 5 IMPLICIT NONE 6 6 INTEGER,SAVE :: COMM_LMDZ 7 7 INTEGER,SAVE :: MPI_REAL_LMDZ … … 12 12 SUBROUTINE Init_const_mpi 13 13 #ifdef CPP_IOIPSL 14 USE IOIPSL 14 USE IOIPSL, ONLY: getin 15 15 #else 16 16 ! if not using IOIPSL, we still need to use (a local version of) getin 17 USE ioipsl_getincom 17 USE ioipsl_getincom, only: getin 18 18 #endif 19 19 … … 22 22 INCLUDE 'mpif.h' 23 23 #endif 24 24 25 INTEGER :: ierr 25 26 INTEGER :: comp_id … … 52 53 SUBROUTINE Init_mpi 53 54 #ifdef CPP_XIOS 54 USE wxios 55 USE wxios, only: wxios_init 55 56 #endif 56 57 IMPLICIT NONE … … 73 74 COMM_LMDZ=MPI_COMM_WORLD 74 75 MPI_REAL_LMDZ=MPI_REAL8 75 76 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 77 ! Initialisation de XIOS 78 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 76 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 77 ! Initialisation de XIOS 78 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 79 79 #ifdef CPP_XIOS 80 80 CALL wxios_init("LMDZ", outcom=COMM_LMDZ) … … 88 88 #endif 89 89 #endif 90 90 91 END SUBROUTINE Init_mpi 91 92
Note: See TracChangeset
for help on using the changeset viewer.