Skip to content

Commit f2ba291

Browse files
committed
checkouted atmos_model.F90 module_wrt_grid_comp.F90 fv_moving_nest_main.F90 from develop
1 parent 5ee5029 commit f2ba291

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

atmos_model.F90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ module atmos_model_mod
4949
use mpp_mod, only: mpp_get_current_pelist_name
5050
use mpp_mod, only: input_nml_file
5151
use fms2_io_mod, only: file_exists
52-
use fms_mod, only: write_version_number, stdlog, stdout
52+
use fms_mod, only: close_file, write_version_number, stdlog, stdout
5353
use fms_mod, only: clock_flag_default
5454
use fms_mod, only: check_nml_error
5555
use diag_manager_mod, only: diag_send_complete_instant
@@ -807,7 +807,7 @@ subroutine atmos_model_init (Atmos, Time_init, Time, Time_step)
807807
if (mpp_pe() == mpp_root_pe()) then
808808
unit = stdlog( )
809809
write (unit, nml=atmos_model_nml)
810-
! This is a NO-OP because unit==stdlog() call close_file (unit)
810+
call close_file (unit)
811811
endif
812812

813813
!--- set up clock time

io/module_wrt_grid_comp.F90

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ module module_wrt_grid_comp
2929
use mpi
3030
use esmf
3131
use fms
32-
use mpp_mod, only : mpp_init
3332

3433
use write_internal_state
3534
use module_fv3_io_def, only : num_pes_fcst, &

moving_nest/fv_moving_nest_main.F90

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@ module fv_moving_nest_main_mod
4040
#endif
4141
use time_manager_mod, only: time_type, get_time, get_date, set_time, operator(+), &
4242
operator(-), operator(/), time_type_to_real
43-
use fms_mod, only: FATAL, mpp_clock_id, mpp_clock_begin, &
44-
mpp_clock_end, CLOCK_SUBCOMPONENT, clock_flag_default
43+
use fms_mod, only: file_exist, open_namelist_file, &
44+
close_file, error_mesg, FATAL, &
45+
check_nml_error, stdlog, &
46+
write_version_number, &
47+
mpp_clock_id, mpp_clock_begin, &
48+
mpp_clock_end, CLOCK_SUBCOMPONENT, &
49+
clock_flag_default
4550
use mpp_mod, only: mpp_error, stdout, FATAL, WARNING, NOTE, &
4651
input_nml_file, mpp_root_pe, &
4752
mpp_npes, mpp_pe, mpp_chksum, &

0 commit comments

Comments
 (0)