Changeset 16b61a5 in flexpart.git for src/FLEXPART_MPI.f90


Ignore:
Timestamp:
Oct 14, 2016, 3:19:00 PM (8 years ago)
Author:
Espen Sollum ATMOS <eso@…>
Branches:
master, 10.4.1_pesei, GFS_025, bugfixes+enhancements, dev, release-10, release-10.4.1, scaling-bug, univie
Children:
4c64400
Parents:
861805a
Message:

Reworked the domain-filling option (MPI). Fixed a slow loop which had errors in loop counter (MPI)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FLEXPART_MPI.f90

    r79abee9 r16b61a5  
    5555
    5656
    57 ! Initialize mpi
    58 !*********************
     57  ! Initialize mpi
     58  !*********************
    5959  call mpif_init
    6060
    6161  if (mp_measure_time) call mpif_mtime('flexpart',0)
    6262
    63 ! Initialize arrays in com_mod
    64 !*****************************
    65   call com_mod_allocate_part(maxpart_mpi)
     63  ! Initialize arrays in com_mod
     64  !*****************************
     65  if (.not.lmpreader) call com_mod_allocate_part(maxpart_mpi)
    6666
    6767  ! Generate a large number of random numbers
     
    306306  endif
    307307
    308   do j=1, size(itra1) ! maxpart_mpi
    309     itra1(j)=-999999999
    310   end do
     308  if (.not.lmpreader) then
     309    do j=1, size(itra1) ! maxpart_mpi
     310      itra1(j)=-999999999
     311    end do
     312  end if
    311313
    312314  ! For continuation of previous run, read in particle positions
     
    463465  if (lroot) then
    464466    write(*,*) '**********************************************'
    465     write(*,*) 'Total number of occurences of below-cloud scavenging', tot_blc_count
    466     write(*,*) 'Total number of occurences of in-cloud    scavenging', tot_inc_count
     467    write(*,*) 'Total number of occurences of below-cloud scavenging', &
     468         & tot_blc_count
     469    write(*,*) 'Total number of occurences of in-cloud    scavenging', &
     470         & tot_inc_count
    467471    write(*,*) '**********************************************'
    468472
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG