Skip to content

Commit

Permalink
Merge pull request #387 from climbfuji/ufs_public_release_thompson_th…
Browse files Browse the repository at this point in the history
…reading_fix

ufs_public_release: bugfix for reading Thompson lookup tables in a threaded environment
  • Loading branch information
climbfuji committed Jan 24, 2020
2 parents 8c7c1f6 + ff5de0f commit 90c9516
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions physics/module_mp_thompson.F90
Original file line number Diff line number Diff line change
Expand Up @@ -924,30 +924,20 @@ SUBROUTINE thompson_init(nwfa2d, nifa2d, nwfa, nifa, &

call cpu_time(stime)

!$OMP parallel num_threads(threads)

!$OMP sections

!$OMP section
!> - Call qr_acr_qg() to create rain collecting graupel & graupel collecting rain table
if (mpirank==mpiroot) write(0,*) ' creating rain collecting graupel table'
call cpu_time(stime)
call qr_acr_qg
call cpu_time(etime)
if (mpirank==mpiroot) print '("Computing rain collecting graupel table took ",f10.3," seconds.")', etime-stime

!$OMP section
!> - Call qr_acr_qs() to create rain collecting snow & snow collecting rain table
if (mpirank==mpiroot) write (*,*) ' creating rain collecting snow table'
call cpu_time(stime)
call qr_acr_qs
call cpu_time(etime)
if (mpirank==mpiroot) print '("Computing rain collecting snow table took ",f10.3," seconds.")', etime-stime

!$OMP end sections

!$OMP end parallel

!> - Call freezeh2o() to create cloud water and rain freezing (Bigg, 1953) table
if (mpirank==mpiroot) write(0,*) ' creating freezing of water drops table'
call cpu_time(stime)
Expand Down

0 comments on commit 90c9516

Please sign in to comment.