Changeset 807 for LMDZ4/trunk/libf/dyn3dpar/gcm.F
- Timestamp:
- Jul 5, 2007, 2:11:45 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/trunk/libf/dyn3dpar/gcm.F
r791 r807 18 18 USE mod_hallo 19 19 USE Bands 20 USE Write_Field 21 USE Write_Field_phy 20 22 IMPLICIT NONE 21 23 … … 141 143 SAVE latfi, lonfi, airefi 142 144 143 c varaiable pour l'allocation du Buffer MPI (sur NEC)144 pointer (Pbuffer,MPI_Buffer(MaxBufferSize))145 REAL :: MPI_Buffer146 INTEGER(KIND=MPI_ADDRESS_KIND) :: BS147 145 INTEGER :: ierr 148 146 … … 215 213 c Initialisation partie parallele 216 214 c------------------------------------ 215 CALL init_const_mpi 216 217 217 call init_parallel 218 218 call Read_Distrib 219 CALL init_const_mpi220 219 CALL Init_Phys_lmdz(iim,jjp1,llm,nqmx-2,mpi_size,distrib_phys) 221 220 CALL set_bands … … 224 223 if (mpi_rank==0) call WriteBands 225 224 call SetDistrib(jj_Nb_Caldyn) 226 c Allocation du buffer MPI 227 Bs=8*MaxBufferSize 228 call MPI_ALLOC_MEM(BS,MPI_INFO_NULL,Pbuffer,ierr) 229 print *,'ierr',ierr 230 do i=1,MaxBufferSize 231 MPI_Buffer(i)=i 232 enddo 233 call Init_Mod_hallo(MPI_Buffer) 225 call Init_Mod_hallo 226 234 227 c$OMP PARALLEL 235 228 call InitComgeomphy … … 379 372 zcvfi(ngridmx) = cv(ip1jm-iim) 380 373 CALL gr_dyn_fi(1,iip1,jjp1,ngridmx,aire,airefi) 374 381 375 WRITE(lunout,*) 382 376 . 'WARNING!!! vitesse verticale nulle dans la physique' … … 386 380 387 381 call_iniphys=.false. 382 388 383 ENDIF 389 384 #endif
Note: See TracChangeset
for help on using the changeset viewer.