Module which initializes run control variables. The following possible namelist variables are set default values and possibly read in on startup
Note: For definitions of namelist variablses see ../../bld/namelist_files/namelist_definition.xml Display the file in a browser to see it neatly formatted in html.
USES:
use shr_kind_mod , only : r8 => shr_kind_r8, SHR_KIND_CL use clm_varpar , only : maxpatch_pft use clm_varctl , only : caseid, ctitle, nsrest, brnch_retain_casename, hostname, model_version=>version, & iulog, hist_crtinic, outnc_large_files, finidat, fsurdat, fatmgrid, fatmlndfrc, & fatmtopo, flndtopo, fndepdat, fndepdyn, fpftdyn, fpftcon, nrevsn, frivinp_rtm, & create_crop_landunit, allocate_all_vegpfts, fget_archdev, & co2_type, wrtdia, co2_ppmv, rtm_nsteps, nsegspc, pertlim, & hist_pioflag, ncd_lowmem2d, ncd_pio_def, ncd_pio_UseRearranger, username, & ncd_pio_UseBoxRearr, ncd_pio_SerialCDF, ncd_pio_IODOF_rootonly, ncd_pio_DebugLevel, & ncd_pio_num_iotasks, fsnowaging, fsnowoptics, & faerdep use spmdMod , only : masterproc use decompMod , only : clump_pproc use histFileMod , only : max_tapes, max_namlen, & hist_empty_htapes, hist_dov2xy, & hist_avgflag_pertape, hist_type1d_pertape, & hist_nhtfrq, hist_ndens, hist_mfilt, & hist_fincl1, hist_fincl2, hist_fincl3, & hist_fincl4, hist_fincl5, hist_fincl6, & hist_fexcl1, hist_fexcl2, hist_fexcl3, & hist_fexcl4, hist_fexcl5, hist_fexcl6 use restFileMod , only : rest_flag use shr_const_mod, only : SHR_CONST_CDAY use abortutils , only : endrun use UrbanMod , only : urban_hac, urban_trafficPUBLIC TYPES:
implicit none savePUBLIC MEMBER FUNCTIONS:
public :: control_setNL ! Set namelist filename public :: control_init ! initial run control information public :: control_print ! print run control informationREVISION HISTORY:
Created by Mariana VertensteinPRIVATE TYPES:
Namelist variables only used locally character(len= 7) :: runtyp(4) ! run type character(len=SHR_KIND_CL) :: NLFilename = 'lnd.stdin' ! Namelist filename #if (defined _OPENMP) integer, external :: omp_get_max_threads ! max number of threads that can execute ! concurrently in a single parallel region #endif