Skip to content

Commit

Permalink
Some changes to MPI calls in inti() routines. Again and again...
Browse files Browse the repository at this point in the history
  • Loading branch information
dustinswales committed Jan 27, 2020
1 parent 6e0c346 commit fbb009f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions physics/rrtmgp_lw_gas_optics.F90
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ subroutine rrtmgp_lw_gas_optics_init(rrtmgp_root_dir, rrtmgp_lw_file_gas, rrtmgp
errflg = 0

#ifdef MPI
call MPI_BARRIER(mpicomm, mpierr)
!call MPI_BARRIER(mpicomm, mpierr)
#endif

write(*,"(a12,3i10)") 'MPI ranks: ',mpirank,mpiroot,mpicomm
Expand Down Expand Up @@ -167,7 +167,7 @@ subroutine rrtmgp_lw_gas_optics_init(rrtmgp_root_dir, rrtmgp_lw_file_gas, rrtmgp
! Broadcast dimensions to all processors
#ifdef MPI
! Hold up until data is read in on master processor
call MPI_BARRIER(mpicomm, mpierr)
!call MPI_BARRIER(mpicomm, mpierr)

if (ierr .eq. 0) then
call MPI_BCAST(ntemps, 1, MPI_INTEGER, mpiroot, mpicomm, mpierr)
Expand Down

0 comments on commit fbb009f

Please sign in to comment.