Changeset 1707 for LMDZ5/branches/testing/libf/dyn3dmem/ce0l.F90
- Timestamp:
- Jan 11, 2013, 10:19:19 AM (12 years ago)
- Location:
- LMDZ5/branches/testing
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/testing
- Property svn:mergeinfo changed
/LMDZ5/trunk merged: 1670-1692,1694-1703,1705-1706
- Property svn:mergeinfo changed
-
LMDZ5/branches/testing/libf/dyn3dmem/ce0l.F90
r1669 r1707 1 1 ! 2 ! $Id : ce0l.F90 1425 2010-09-02 13:45:23Z lguez$2 ! $Id$ 3 3 ! 4 4 !------------------------------------------------------------------------------- … … 19 19 USE dimphy 20 20 USE comgeomphy 21 USE mod_phys_lmdz_para 21 USE mod_phys_lmdz_para, mpi_root_xx=>mpi_root 22 22 USE mod_const_mpi 23 23 USE infotrac 24 USE parallel, ONLY: finalize_parallel 24 25 25 26 #ifdef CPP_IOIPSL … … 30 31 IMPLICIT NONE 31 32 #ifndef CPP_EARTH 33 #include "iniprint.h" 32 34 WRITE(lunout,*)'limit_netcdf: Earth-specific routine, needs Earth physics' 33 35 #else … … 41 43 #include "temps.h" 42 44 #include "logic.h" 45 #ifdef CPP_MPI 46 include 'mpif.h' 47 #endif 48 43 49 INTEGER, PARAMETER :: longcles=20 50 INTEGER :: ierr 44 51 REAL, DIMENSION(longcles) :: clesphy0 45 52 REAL, DIMENSION(iip1,jjp1) :: masque 46 53 CHARACTER(LEN=15) :: calnd 54 REAL, DIMENSION(iip1,jjp1) :: phis ! geopotentiel au sol 47 55 !------------------------------------------------------------------------------- 48 56 CALL conf_gcm( 99, .TRUE. , clesphy0 ) 49 57 58 #ifdef CPP_MPI 50 59 CALL init_mpi 60 #endif 51 61 52 62 CALL Init_Phys_lmdz(iim,jjp1,llm,1,(/(jjm-1)*iim+2/)) … … 55 65 CALL abort_gcm('ce0l','In parallel mode, & 56 66 & ce0l must be called only & 57 & for 1 process and 1 task' )67 & for 1 process and 1 task',1) 58 68 ENDIF 59 69 … … 76 86 #endif 77 87 78 IF ( config_inca /= 'none') THEN88 IF (type_trac == 'inca') THEN 79 89 #ifdef INCA 80 CALL init_const_lmdz(nbtr,anneeref,dayref,iphysiq,day_step,nday) 81 CALL init_inca_para(iim,jjm+1,klon,1,klon_mpi_para_nb,0) 82 WRITE(lunout,*)'nbtr =' , nbtr 90 CALL init_const_lmdz( & 91 nbtr,anneeref,dayref,& 92 iphysiq,day_step,nday,& 93 nbsrf, is_oce,is_sic,& 94 is_ter,is_lic) 95 83 96 #endif 84 97 END IF … … 90 103 WRITE(lunout,'(//)') 91 104 WRITE(lunout,*) ' interbar = ',interbar 92 CALL etat0_netcdf(interbar,masque, ok_etat0)105 CALL etat0_netcdf(interbar,masque,phis,ok_etat0) 93 106 94 107 IF(ok_limit) THEN … … 101 114 END IF 102 115 116 IF (grilles_gcm_netcdf) THEN 117 WRITE(lunout,'(//)') 118 WRITE(lunout,*) ' *************************** ' 119 WRITE(lunout,*) ' *** grilles_gcm_netcdf *** ' 120 WRITE(lunout,*) ' *************************** ' 121 WRITE(lunout,'(//)') 122 CALL grilles_gcm_netcdf_sub(masque,phis) 123 END IF 124 125 #ifdef CPP_MPI 126 !$OMP MASTER 127 CALL MPI_FINALIZE(ierr) 128 IF (ierr /= 0) CALL abort_gcm('ce0l','Error in MPI_FINALIZE',1) 129 !$OMP END MASTER 130 #endif 131 103 132 #endif 104 133 ! of #ifndef CPP_EARTH #else
Note: See TracChangeset
for help on using the changeset viewer.