next up previous contents
Next: control_setNL Up: Routine/Function Prologues Previous: CNiniTimeVar   Contents

Fortran: Module Interface controlMod (Source File: controlMod.F90)

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 variables 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, outnc_large_files, finidat, fsurdat, fatmgrid, fatmlndfrc,     &
                             fatmtopo, flndtopo, fpftdyn, fpftcon, nrevsn,                   &
                             create_crop_landunit, allocate_all_vegpfts, fget_archdev, &
                             co2_type, wrtdia, co2_ppmv, nsegspc, pertlim,       &
                             username, fsnowaging, fsnowoptics, fglcmask
   use SurfaceAlbedoMod, only : albice
 #ifdef RTM
   use clm_varctl   , only : frivinp_rtm, ice_runoff, rtm_nsteps
 #endif
 #ifdef CN
   use CNAllocationMod, only : suplnitro
 #endif
   use clm_varctl   , only : create_glacier_mec_landunit, glc_nec, glc_dyntopo, glc_smb, glc_topomax
   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 shr_const_mod, only : SHR_CONST_CDAY
   use abortutils   , only : endrun
   use UrbanMod     , only : urban_hac, urban_traffic
PUBLIC TYPES:
   implicit none
   save
PUBLIC MEMBER FUNCTIONS:
   public :: control_setNL ! Set namelist filename
   public :: control_init  ! initial run control information
   public :: control_print ! print run control information
REVISION HISTORY:
   Created by Mariana Vertenstein
PRIVATE 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



Subsections

Erik Kluzek 2011-06-15