Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue 714 Bugfix #716

Merged
merged 1 commit into from
Oct 17, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 4 additions & 8 deletions src/MPP/mpp_land.F
Original file line number Diff line number Diff line change
Expand Up @@ -141,22 +141,18 @@ subroutine LOG_MAP2d()
return
end subroutine log_map2d


!old subroutine MPP_LAND_INIT(flag, ew_numprocs, sn_numprocs)
subroutine MPP_LAND_INIT(in_global_nx,in_global_ny)
! ### initialize the land model logically based on the two D method.
! ### Call this function directly if it is nested with WRF.
implicit none
integer, optional :: in_global_nx, in_global_ny
integer :: ierr, provided
integer :: ew_numprocs, sn_numprocs ! input the processors in x and y direction.
logical mpi_inited

global_nx = in_global_nx
global_ny = in_global_ny

! left_right_np = ew_numprocs
! up_down_np = sn_numprocs
if (present(in_global_nx) .and. present(in_global_ny)) then
global_nx = in_global_nx
global_ny = in_global_ny
end if

call mpi_initialized( mpi_inited, ierr )
if ( .not. mpi_inited ) then
Expand Down