Changeset 270 for trunk/LMDZ.COMMON/libf/dyn3dpar/ce0l.F90
- Timestamp:
- Aug 18, 2011, 12:09:27 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.COMMON/libf/dyn3dpar/ce0l.F90
r101 r270 1 1 ! 2 ! $Id: ce0l.F90 1 482 2011-02-09 15:03:09Z jghattas $2 ! $Id: ce0l.F90 1511 2011-04-28 15:21:47Z jghattas $ 3 3 ! 4 4 !------------------------------------------------------------------------------- … … 19 19 USE dimphy 20 20 USE comgeomphy 21 USE mod_phys_lmdz_para22 USE mod_const_mpi23 21 USE infotrac 24 USE parallel, ONLY: finalize_parallel25 22 26 23 #ifdef CPP_IOIPSL … … 30 27 #endif 31 28 IMPLICIT NONE 32 #include "iniprint.h"33 29 #ifndef CPP_EARTH 34 30 WRITE(lunout,*)'limit_netcdf: Earth-specific routine, needs Earth physics' … … 40 36 #include "paramet.h" 41 37 #include "indicesol.h" 38 #include "iniprint.h" 42 39 #include "temps.h" 43 40 #include "logic.h" 41 INTEGER, PARAMETER :: longcles=20 42 REAL, DIMENSION(longcles) :: clesphy0 44 43 REAL, DIMENSION(iip1,jjp1) :: masque 45 44 CHARACTER(LEN=15) :: calnd 45 REAL, DIMENSION(iip1,jjp1) :: phis ! geopotentiel au sol 46 46 !------------------------------------------------------------------------------- 47 CALL conf_gcm( 99, .TRUE. ) 48 49 CALL init_mpi 47 CALL conf_gcm( 99, .TRUE. , clesphy0 ) 50 48 51 49 CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) 52 50 WRITE(lunout,*)'---> klon=',klon 53 IF (mpi_size>1 .OR. omp_size>1) THEN54 CALL abort_gcm('ce0l','In parallel mode, &55 & ce0l must be called only &56 & for 1 process and 1 task',1)57 ENDIF58 59 51 CALL InitComgeomphy 60 52 … … 89 81 WRITE(lunout,'(//)') 90 82 WRITE(lunout,*) ' interbar = ',interbar 91 CALL etat0_netcdf(interbar,masque, ok_etat0)83 CALL etat0_netcdf(interbar,masque,phis,ok_etat0) 92 84 93 85 IF(ok_limit) THEN … … 100 92 END IF 101 93 102 !$OMP MASTER 103 CALL finalize_parallel 104 !$OMP END MASTER 105 94 IF (grilles_gcm_netcdf) THEN 95 WRITE(lunout,'(//)') 96 WRITE(lunout,*) ' *************************** ' 97 WRITE(lunout,*) ' *** grilles_gcm_netcdf *** ' 98 WRITE(lunout,*) ' *************************** ' 99 WRITE(lunout,'(//)') 100 CALL grilles_gcm_netcdf_sub(masque,phis) 101 END IF 106 102 #endif 107 103 ! of #ifndef CPP_EARTH #else
Note: See TracChangeset
for help on using the changeset viewer.