Changeset 3810 for LMDZ6/branches
- Timestamp:
- Jan 28, 2021, 2:08:14 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ6/branches/Ocean_skin/libf/dynphy_lonlat/phylmd/ce0l.F90
r3501 r3810 29 29 USE iniphysiq_mod, ONLY: iniphysiq 30 30 USE mod_const_mpi, ONLY: comm_lmdz 31 31 32 #ifdef CPP_PARA 32 33 USE mod_const_mpi, ONLY: init_const_mpi 33 USE parallel_lmdz, ONLY: init_parallel, mpi_rank, omp_rank, finalize_parallel34 USE parallel_lmdz, ONLY: init_parallel, mpi_rank, omp_rank, using_mpi 34 35 USE bands, ONLY: read_distrib, distrib_phys 35 36 USE mod_hallo, ONLY: init_mod_hallo 36 37 USE mod_interface_dyn_phys, ONLY: init_interface_dyn_phys 37 #endif 38 #ifdef CPP_XIOS 39 USE xios, only: xios_finalize 40 #endif 41 #endif 42 38 43 USE comconst_mod, ONLY: cpp, daysec, dtphys, dtvr, g, kappa, omeg, r, rad, & 39 44 pi, jmp1 … … 50 55 include "comgeom2.h" 51 56 include "iniprint.h" 57 #ifdef CPP_MPI 58 include 'mpif.h' 59 #endif 60 52 61 REAL :: masque(iip1,jjp1) !--- CONTINENTAL MASK 53 62 REAL :: phis (iip1,jjp1) !--- GROUND GEOPOTENTIAL … … 67 76 REAL, ALLOCATABLE :: masktmp(:) 68 77 69 #ifndef CPP_PARA 78 #ifdef CPP_PARA 79 integer ierr 80 #else 70 81 ! for iniphysiq in serial mode 71 82 INTEGER,PARAMETER :: mpi_rank=0 … … 168 179 ocemask = ocetmp 169 180 IF(dlat_omask(1)<dlat_omask(jml_omask)) THEN 170 DO j=1,jjp1; ocemask(:,j) = ocetmp(:,jjp1-j+1); END DO 181 DO j=1,jjp1 182 ocemask(:,j) = ocetmp(:,jjp1-j+1) 183 END DO 171 184 END IF 172 185 DEALLOCATE(ocetmp,lon_omask,lat_omask,dlon_omask,dlat_omask) … … 239 252 #ifdef CPP_PARA 240 253 END IF 241 call finalize_parallel 254 #ifdef CPP_XIOS 255 CALL xios_finalize 256 #endif 257 #ifdef CPP_MPI 258 IF (using_mpi) call MPI_FINALIZE(ierr) 259 #endif 242 260 #endif 243 261
Note: See TracChangeset
for help on using the changeset viewer.