Skip to content

Commit

Permalink
Added mpi barrier. communicator working, i think.
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Jan 30, 2020
1 parent 3e79d02 commit 33158c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion physics/rrtmgp_lw_gas_optics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ subroutine rrtmgp_lw_gas_optics_init(rrtmgp_root_dir, rrtmgp_lw_file_gas, rrtmgp
#ifdef MPI
! if (mpirank .ne. mpiroot) then
! Wait for processor 0 to catch up...
!call MPI_BARRIER(mpicomm, mpierr)
call MPI_BARRIER(mpicomm, mpierr)

! Broadcast data
write (*,*) 'Broadcasting RRTMGP longwave k-distribution data ... '
Expand Down

0 comments on commit 33158c7

Please sign in to comment.