Skip to content

Commit

Permalink
Add missing mpp_land_bcast_real8() subroutine
Browse files Browse the repository at this point in the history
  • Loading branch information
rcabell committed Jan 26, 2022
1 parent 3120c84 commit 0e2d472
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
11 changes: 11 additions & 0 deletions trunk/NDHMS/MPP/mpp_land.F
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,17 @@ subroutine mpp_land_bcast_real(size1,inout)
return
end subroutine mpp_land_bcast_real

subroutine mpp_land_bcast_real8(size1,inout)
integer size1
! real inout(size1)
real*8 , dimension(:) :: inout
integer ierr, len
call mpi_bcast(inout,size1,MPI_REAL8, &
IO_id,HYDRO_COMM_WORLD,ierr)
call mpp_land_sync()
return
end subroutine mpp_land_bcast_real8

subroutine mpp_land_bcast_int2d(inout)
integer length1, k,length2
integer inout(:,:)
Expand Down
3 changes: 1 addition & 2 deletions trunk/NDHMS/Routing/module_HYDRO_io.F
Original file line number Diff line number Diff line change
Expand Up @@ -7167,8 +7167,7 @@ subroutine read_rst_crt_nc(ncid,var,n,varStr)
#ifdef MPP_LAND
endif
if(n .gt. 0) then
call mpp_land_bcast(var)
!call mpp_land_bcast_real(n,var)
call mpp_land_bcast_real8(n,var)
endif
#endif
Expand Down

0 comments on commit 0e2d472

Please sign in to comment.