@@ -164,24 +164,19 @@ subroutine get_levels(P, func, levels, rc)
164164 call ESMF_VMgetCurrent(vm)
165165 call ESMF_VMGet(vm, mpiCommunicator = comm, rc = status)
166166 positive = P(1 ,1 ,1 ) < P(1 ,1 ,2 )
167- print * , " wjiang:positive" , positive
168167 if (positive) then
169168 local_min_val = maxval (P(:,:,1 ))
170- print * , " local_min_val:" , local_max_val
171169 call MPI_Allreduce(lev01, local_min_val,1 , MPI_FLOAT, MPI_MIN, comm, status)
172170 temp = P(:,:,lm)
173171 where (temp >= MAPL_UNDEF) temp = - MAPL_UNDEF
174172 local_max_val = maxval (temp)
175- print * , " local_max_val:" , local_max_val
176173 call MPI_Allreduce(levLm, local_max_val,1 , MPI_FLOAT, MPI_MAX, comm, status)
177174 else
178175 local_min_val = minval (P(:,:,lm))
179- print * , " local_min_val:" , local_max_val
180176 call MPI_Allreduce(levLm, local_min_val,1 , MPI_FLOAT, MPI_MIN, comm, status)
181177 temp = P(:,:,1 )
182178 where (temp >= MAPL_UNDEF) temp = - MAPL_UNDEF
183179 local_max_val = maxval (temp)
184- print * , " local_max_val:" , local_max_val
185180 call MPI_Allreduce(lev01, local_max_val,1 , MPI_FLOAT, MPI_MAX, comm, status)
186181 endif
187182
0 commit comments