Changes in src/timemanager_mpi.f90 [0c8c7f2:20963b1] in flexpart.git
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/timemanager_mpi.f90
r0c8c7f2 r20963b1 113 113 integer :: j,ks,kp,l,n,itime=0,nstop,nstop1,memstat=0 114 114 ! integer :: ksp 115 integer :: ip ,irec115 integer :: ip 116 116 integer :: loutnext,loutstart,loutend 117 117 integer :: ix,jy,ldeltat,itage,nage,idummy … … 129 129 ! Measure time spent in timemanager 130 130 if (mp_measure_time) call mpif_mtime('timemanager',0) 131 132 131 133 132 ! First output for time 0 … … 533 532 end if 534 533 535 else 534 else ! :TODO: check for zeroing in the netcdf module 536 535 call concoutput_surf_nest(itime,outnum) 537 536 end if … … 594 593 46 format(' Simulated ',f7.1,' hours (',i13,' s), ',i13, ' particles') 595 594 if (ipout.ge.1) then 596 if (mp_measure_time) call mpif_mtime('iotime',0)597 irec=0598 595 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 604 597 call mpif_mpi_barrier 605 598 end do 606 if (mp_measure_time) call mpif_mtime('iotime',1)607 599 end if 608 600 … … 765 757 if (mp_measure_time) call mpif_mtime('advance',1) 766 758 767 ! Calculate average position for particle dump output768 !****************************************************769 770 if (ipout.eq.3) call partpos_average(itime,j)771 772 759 773 760 ! Calculate the gross fluxes across layer interfaces … … 908 895 do ip=0, mp_partgroup_np-1 909 896 if (ip.eq.mp_partid) then 910 if (mp_dbg_mode) write(*,*) 'call partoutput(itime), proc, mp_partid',ip,mp_partid897 !if (mp_dbg_mode) write(*,*) 'call partoutput(itime), proc, mp_partid',ip,mp_partid 911 898 call partoutput(itime) ! dump particle positions 912 899 end if
Note: See TracChangeset
for help on using the changeset viewer.