@@ -172,8 +172,7 @@ module generic_BLING
172
172
use coupler_types_mod, only: coupler_2d_bc_type
173
173
use field_manager_mod, only: fm_string_len, fm_path_name_len
174
174
use mpp_mod, only: input_nml_file, mpp_error, stdlog, NOTE, WARNING, FATAL, stdout, mpp_chksum
175
- use fms_mod, only: write_version_number, open_namelist_file, check_nml_error, close_file
176
- use fms_mod, only: field_exist, file_exist
175
+ use fms_mod, only: write_version_number, check_nml_error
177
176
use time_manager_mod, only: time_type
178
177
use fm_util_mod, only: fm_util_start_namelist, fm_util_end_namelist
179
178
use constants_mod, only: WTMCO2, WTMO2
@@ -776,15 +775,8 @@ subroutine generic_BLING_register(tracer_list)
776
775
!
777
776
stdoutunit= stdout();stdlogunit= stdlog()
778
777
779
- #ifdef INTERNAL_FILE_NML
780
778
read (input_nml_file, nml= generic_bling_nml, iostat= io_status)
781
779
ierr = check_nml_error(io_status,' generic_bling_nml' )
782
- #else
783
- ioun = open_namelist_file()
784
- read (ioun, generic_bling_nml,iostat= io_status)
785
- ierr = check_nml_error(io_status,' generic_bling_nml' )
786
- call close_file (ioun)
787
- #endif
788
780
789
781
write (stdoutunit,' (/)' )
790
782
write (stdoutunit, generic_bling_nml)
0 commit comments