Skip to content

Commit 60380e4

Browse files
committed
remove ccpp_bcast from aerinterp.F90/read_netfaer that causes hanging UFS RTs
1 parent 750e7cc commit 60380e4

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

physics/MP/Morrison_Gettelman/aerinterp.F90

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -586,6 +586,8 @@ SUBROUTINE read_aerdataf (mpicomm, mpirank, mpiroot, iflip, idate, FHOUR, errmsg
586586
integer, allocatable :: invardims(:)
587587
!
588588
if (.not. allocated(aerin)) then
589+
!GJF - put print statement in here to see what each MPI task does?
590+
589591
allocate(aerin(iamin:iamax,jamin:jamax,levsaer,ntrcaerm,timeaer))
590592
allocate(aer_pres(iamin:iamax,jamin:jamax,levsaer,timeaer))
591593
endif
@@ -1019,7 +1021,6 @@ subroutine read_netfaer(mpicomm, mpirank, mpiroot, nf, iflip, nt, errmsg, errflg
10191021
integer :: ierr
10201022

10211023
!! ===================================================================
1022-
read_and_broadcast: if (mpirank==mpiroot) then
10231024
allocate (buff(lonsaer, latsaer, levsw))
10241025
allocate (pres_tmp(lonsaer, levsw))
10251026
allocate (buffx(lonsaer, latsaer, levsw, 1))
@@ -1111,10 +1112,7 @@ subroutine read_netfaer(mpicomm, mpirank, mpiroot, nf, iflip, nt, errmsg, errflg
11111112
endif
11121113
deallocate (buff, pres_tmp)
11131114
deallocate (buffx)
1114-
endif read_and_broadcast
1115-
1116-
call ccpp_bcast(aer_pres, mpiroot, mpicomm, ierr)
1117-
call ccpp_bcast(aerin, mpiroot, mpicomm, ierr)
1115+
11181116
END SUBROUTINE read_netfaer
11191117

11201118
end module aerinterp

0 commit comments

Comments
 (0)