Changeset 718 for LMDZ4/branches/V3_test
- Timestamp:
- Oct 6, 2006, 12:26:45 PM (18 years ago)
- Location:
- LMDZ4/branches/V3_test/libf
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ4/branches/V3_test/libf/dyn3dpar/mod_hallo.F90
r709 r718 430 430 type(request_SR),pointer :: Req 431 431 type(Hallo),pointer :: PtrHallo 432 integer, dimension( 4) :: TabRequest433 integer, dimension(MPI_STATUS_SIZE, 4) :: TabStatus432 integer, dimension(2*mpi_size) :: TabRequest 433 integer, dimension(MPI_STATUS_SIZE,2*mpi_size) :: TabStatus 434 434 integer :: NbRequest 435 435 integer :: i,rank,pos,ij,l,ierr … … 512 512 type(request_SR),pointer :: Req 513 513 type(Hallo),pointer :: PtrHallo 514 integer, dimension( 4) :: TabRequest515 integer, dimension(MPI_STATUS_SIZE, 4) :: TabStatus514 integer, dimension(mpi_size) :: TabRequest 515 integer, dimension(MPI_STATUS_SIZE,mpi_size) :: TabStatus 516 516 integer :: NbRequest 517 517 integer :: i,rank,pos,ij,l,ierr … … 553 553 type(request_SR),pointer :: Req 554 554 type(Hallo),pointer :: PtrHallo 555 integer, dimension( 4) :: TabRequest556 integer, dimension(MPI_STATUS_SIZE, 4) :: TabStatus555 integer, dimension(mpi_size) :: TabRequest 556 integer, dimension(MPI_STATUS_SIZE,mpi_size) :: TabStatus 557 557 integer :: NbRequest 558 558 integer :: i,rank,pos,ij,l,ierr -
LMDZ4/branches/V3_test/libf/phylmd/ini_histISCCP.h
r704 r718 70 70 jmin_ins=1 71 71 jmax_ins=jjmp1 72 do i=1,iim-173 if(zx_lon(i,1).lt.lonmin_ins) imin_ins=i74 if(zx_lon(i,1).le.lonmax_ins) imax_ins=i+175 enddo76 do j=1,jjmp177 if(zx_lat(1,j).ge.latmin_ins) jmax_ins=j78 if(zx_lat(1,j).gt.latmax_ins) jmin_ins=j79 enddo72 cym do i=1,iim-1 73 cym if(zx_lon(i,1).lt.lonmin_ins) imin_ins=i 74 cym if(zx_lon(i,1).le.lonmax_ins) imax_ins=i+1 75 cym enddo 76 cym do j=1,jjmp1 77 cym if(zx_lat(1,j).ge.latmin_ins) jmax_ins=j 78 cym if(zx_lat(1,j).gt.latmax_ins) jmin_ins=j 79 cym enddo 80 80 c 81 81 print*,'On stoke le fichier histISCCP instantanne sur ', -
LMDZ4/branches/V3_test/libf/phylmd/interface_surf.F90
r704 r718 917 917 918 918 if (.not. allocated(run_off_lic)) then 919 allocate(run_off_lic(k non), stat = error)919 allocate(run_off_lic(klon), stat = error) 920 920 if (error /= 0) then 921 921 abort_message='Pb allocation run_off_lic' … … 1034 1034 1035 1035 USE intersurf 1036 USE parallel, only : pole_nord,pole_sud1037 1036 USE dimphy, klon_x=>klon 1038 1037 IMPLICIT NONE … … 1474 1473 SUBROUTINE Get_orchidee_communicator(knon,orch_comm) 1475 1474 USE dimphy, only : phy_rank 1475 #ifdef CPP_PARA 1476 1476 USE parallel, only : COMM_LMDZ 1477 #endif 1477 1478 IMPLICIT NONE 1478 1479 #ifdef CPP_PARA … … 1499 1500 1500 1501 SUBROUTINE Init_neighbours(iim,jjm,knon,neighbours,ktindex,pctsrf) 1502 #ifdef CPP_PARA 1501 1503 USE parallel,only : COMM_LMDZ 1504 #endif 1502 1505 USE dimphy 1503 1506 IMPLICIT NONE -
LMDZ4/branches/V3_test/libf/phylmd/mod_phys_mpi.F90
r711 r718 233 233 if (monocpu) then 234 234 Fieldr(:,:)=Fields(:,:) 235 #ifdef CPP_PARA236 235 else 236 #ifdef CPP_PARA 237 237 call MPI_Gatherv(Fields,klon_mpi*ll,MPI_REAL8,Field_tmp,sendcounts, & 238 238 displs,MPI_REAL8,0,COMM_LMDZ,ierr) 239 #endif 240 endif 241 242 Pos=1 243 do rank=0,phy_size-1 244 klon_b=klon_para_begin(rank) 245 klon_e=klon_para_end(rank) 246 Nb=klon_para_nb(rank) 247 do l=1,ll 248 Fieldr(klon_b:klon_e,l)=Field_tmp(Pos:Pos+Nb-1) 249 Pos=Pos+Nb 250 enddo 251 enddo 239 Pos=1 240 do rank=0,phy_size-1 241 klon_b=klon_para_begin(rank) 242 klon_e=klon_para_end(rank) 243 Nb=klon_para_nb(rank) 244 do l=1,ll 245 Fieldr(klon_b:klon_e,l)=Field_tmp(Pos:Pos+Nb-1) 246 Pos=Pos+Nb 247 enddo 248 enddo 249 #endif 250 endif 252 251 253 252 end subroutine GatherField
Note: See TracChangeset
for help on using the changeset viewer.