Changeset 5f9d14a in flexpart.git for src/FLEXPART_MPI.f90


Ignore:
Timestamp:
Apr 8, 2015, 2:23:27 PM (9 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:
1585284
Parents:
cd85138
Message:

Updated wet depo scheme

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/FLEXPART_MPI.f90

    • Property mode changed from 100755 to 100644
    r8a65cb0 r5f9d14a  
    424424
    425425! NIK 16.02.2005
    426   write(*,*) '**********************************************'
    427   write(*,*) 'Total number of occurences of below-cloud scavenging', tot_blc_count
    428   write(*,*) 'Total number of occurences of in-cloud    scavenging', tot_inc_count
    429   write(*,*) '**********************************************'
    430 
    431426  if (lroot) then
     427! eso TODO: do MPI_Reduce (sum) of total occurences across processes
     428    call MPI_Reduce(MPI_IN_PLACE, tot_blc_count, 1, mp_pp, MPI_SUM, id_root, &
     429         & mp_comm_used, mp_ierr)
     430    call MPI_Reduce(MPI_IN_PLACE, tot_inc_count, 1, mp_pp, MPI_SUM, id_root, &
     431         & mp_comm_used, mp_ierr)
     432  else
     433    call MPI_Reduce(tot_blc_count, tot_blc_count, 1, mp_pp, MPI_SUM, id_root, &
     434         & mp_comm_used, mp_ierr)
     435    call MPI_Reduce(tot_inc_count, tot_inc_count, 1, mp_pp, MPI_SUM, id_root, &
     436         & mp_comm_used, mp_ierr)
     437  end if
     438
     439  if (lroot) then
     440    write(*,*) '**********************************************'
     441    write(*,*) 'Total number of occurences of below-cloud scavenging', tot_blc_count
     442    write(*,*) 'Total number of occurences of in-cloud    scavenging', tot_inc_count
     443    write(*,*) '**********************************************'
     444
    432445    write(*,*) 'CONGRATULATIONS: YOU HAVE SUCCESSFULLY COMPLETED A FLE&
    433446         &XPART MODEL RUN!'
Note: See TracChangeset for help on using the changeset viewer.
hosted by ZAMG