Changeset 3826 for dynamico_lmdz
- Timestamp:
- May 7, 2015, 6:14:45 PM (10 years ago)
- Location:
- dynamico_lmdz/aquaplanet/LMDZ5/libf
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/aquaplanet/LMDZ5/libf/dyn3dmem/bands.F90
r3809 r3826 105 105 SUBROUTINE Set_Bands 106 106 USE parallel_lmdz 107 #ifdef CPP_PHYS108 ! Ehouarn: what follows is only related to // physics109 USE mod_phys_lmdz_para, ONLY : jj_para_begin,jj_para_end110 #endif111 107 IMPLICIT NONE 112 108 INCLUDE 'dimensions.h' 113 INTEGER :: i 109 INTEGER :: i, ij 110 INTEGER :: jj_para_begin(0:mpi_size-1) 111 INTEGER :: jj_para_end(0:mpi_size-1) 114 112 115 113 do i=0,mpi_size-1 … … 118 116 enddo 119 117 120 #ifdef CPP_PHYS 121 do i=0,MPI_Size-1 118 jj_para_begin(0)=1 119 ij=distrib_phys(0)+iim-1 120 jj_para_end(0)=((ij-1)/iim)+1 121 122 DO i=1,mpi_Size-1 123 ij=ij+1 124 jj_para_begin(i)=((ij-1)/iim)+1 125 ij=ij+distrib_phys(i)-1 126 jj_para_end(i)=((ij-1)/iim)+1 127 ENDDO 128 129 do i=0,MPI_Size-1 122 130 jj_Nb_physic(i)=jj_para_end(i)-jj_para_begin(i)+1 123 131 if (i/=0) then … … 139 147 endif 140 148 enddo 141 #endif 149 142 150 CALL create_distrib(jj_Nb_Caldyn,distrib_caldyn) 143 151 CALL create_distrib(jj_Nb_vanleer,distrib_vanleer) -
dynamico_lmdz/aquaplanet/LMDZ5/libf/dyn3dmem/gcm.F
r3825 r3826 420 420 ! Physics: 421 421 #ifdef CPP_PHYS 422 CALL iniphysiq(iim,jjm, distrib_phys(mpi_rank), comm_lmdz, llm, daysec, day_ini, dtphys/nsplit_phys, 423 & rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, 424 & iflag_phys) 422 CALL iniphysiq(iim,jjm, distrib_phys(mpi_rank), comm_lmdz, llm, 423 & daysec, day_ini, dtphys/nsplit_phys, 424 & rlatu,rlatv,rlonu,rlonv,aire,cu,cv,rad,g,r,cpp, 425 & iflag_phys) 425 426 #endif 426 427 ENDIF ! of IF ((iflag_phys==1).or.(iflag_phys>=100)) -
dynamico_lmdz/aquaplanet/LMDZ5/libf/dynlonlat_phylonlat/phylmd/iniphysiq.F90
r3825 r3826 105 105 boundslat_reg(1,south)= rlatv(1) 106 106 DO j=2,jj 107 boundslat_reg( i,north)=rlatv(j-1)108 boundslat_reg( i,south)=rlatv(j)107 boundslat_reg(j,north)=rlatv(j-1) 108 boundslat_reg(j,south)=rlatv(j) 109 109 ENDDO 110 110 boundslat_reg(jj+1,north)= rlatv(jj) … … 162 162 cufi_glo(klon_glo) = cu((ii+1)*jj+1) 163 163 cvfi_glo(klon_glo) = cv((ii+1)*jj-ii) 164 boundslonfi_glo(klon_glo,north_east)= 0165 boundslatfi_glo(klon_glo,north_east)= rlatv(jj)166 boundslonfi_glo(klon_glo,north_west)= 2*PI167 boundslatfi_glo(klon_glo,north_west)= rlatv(jj)168 boundslonfi_glo(klon_glo,south_west)= 2*PI169 boundslatfi_glo(klon_glo,south_west)= -PI/2170 boundslonfi_glo(klon_glo,south_east)= rlonu(0)171 boundslatfi_glo(klon_glo,south_east)= -Pi/2164 boundslonfi_glo(klon_glo,north_east)= 0 165 boundslatfi_glo(klon_glo,north_east)= rlatv(jj) 166 boundslonfi_glo(klon_glo,north_west)= 2*PI 167 boundslatfi_glo(klon_glo,north_west)= rlatv(jj) 168 boundslonfi_glo(klon_glo,south_west)= 2*PI 169 boundslatfi_glo(klon_glo,south_west)= -PI/2 170 boundslonfi_glo(klon_glo,south_east)= 0 171 boundslatfi_glo(klon_glo,south_east)= -Pi/2 172 172 173 173 ! build airefi(), mesh area on physics grid -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/inifis_mod.F90
r3822 r3826 26 26 INTEGER,SAVE :: raz_date 27 27 CHARACTER(len=4),SAVE :: config_inca 28 INTEGER,SAVE :: lunout ! default output file identifier (6==screen)28 INTEGER,SAVE :: lunout=6 ! default output file identifier (6==screen) 29 29 INTEGER,SAVE :: prt_level ! Output level 30 30 LOGICAL,SAVE :: debug ! flag to specify if in "debug mode" -
dynamico_lmdz/aquaplanet/LMDZ5/libf/phylmd/mod_phys_lmdz_mpi_data.F90
r3825 r3826 87 87 IF (is_using_mpi) THEN 88 88 #ifdef CPP_MPI 89 CALL MPI_ALLGATHER(nbp,1,MPI_REAL8,distrib,1,MPI_REAL_LMDZ,COMM_LMDZ_PHY )89 CALL MPI_ALLGATHER(nbp,1,MPI_REAL8,distrib,1,MPI_REAL_LMDZ,COMM_LMDZ_PHY,ierr) 90 90 #endif 91 91 ELSE
Note: See TracChangeset
for help on using the changeset viewer.