Changes in src/timemanager_mpi.f90 [0c8c7f2:20963b1] in flexpart.git


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/timemanager_mpi.f90

    r0c8c7f2 r20963b1  
    113113  integer :: j,ks,kp,l,n,itime=0,nstop,nstop1,memstat=0
    114114! integer :: ksp
    115   integer :: ip,irec
     115  integer :: ip
    116116  integer :: loutnext,loutstart,loutend
    117117  integer :: ix,jy,ldeltat,itage,nage,idummy
     
    129129! Measure time spent in timemanager
    130130  if (mp_measure_time) call mpif_mtime('timemanager',0)
    131 
    132131
    133132! First output for time 0
     
    533532                end if
    534533
    535               else
     534              else  ! :TODO: check for zeroing in the netcdf module
    536535                call concoutput_surf_nest(itime,outnum)
    537536              end if
     
    59459346      format(' Simulated ',f7.1,' hours (',i13,' s), ',i13, ' particles')
    595594        if (ipout.ge.1) then
    596           if (mp_measure_time) call mpif_mtime('iotime',0)
    597           irec=0
    598595          do ip=0, mp_partgroup_np-1
    599             if (ip.eq.mp_partid) then
    600               if (mod(itime,ipoutfac*loutstep).eq.0) call partoutput(itime) ! dump particle positions
    601               if (ipout.eq.3) call partoutput_average(itime,irec) ! dump particle positions
    602             endif
    603             if (ipout.eq.3) irec=irec+npart_per_process(ip)
     596            if (ip.eq.mp_partid) call partoutput(itime) ! dump particle positions
    604597            call mpif_mpi_barrier
    605598          end do
    606           if (mp_measure_time) call mpif_mtime('iotime',1)
    607599        end if
    608600
     
    765757        if (mp_measure_time) call mpif_mtime('advance',1)
    766758
    767   ! Calculate average position for particle dump output
    768   !****************************************************
    769 
    770         if (ipout.eq.3) call partpos_average(itime,j)
    771 
    772759
    773760! Calculate the gross fluxes across layer interfaces
     
    908895    do ip=0, mp_partgroup_np-1
    909896      if (ip.eq.mp_partid) then
    910         if (mp_dbg_mode) write(*,*) 'call partoutput(itime), proc, mp_partid',ip,mp_partid
     897        !if (mp_dbg_mode) write(*,*) 'call partoutput(itime), proc, mp_partid',ip,mp_partid
    911898        call partoutput(itime)    ! dump particle positions
    912899      end if
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG