The following describes many of the files and directories in the $CASEROOT directory.
is the directory where the buildnml and buildexe component scripts reside and where the input_data_list files are generated by the buildnml scripts.
is the directory where copies of the latest namelist/text input files from invoking preview_namelists are placed. These files should not be edited and exist only to help document the case setup and run.
contains directories for each component where case specific source code modifications can be included. The source files in these directories will always be used in preference to the source code in $CCSMROOT. This feature allows users to modify CESM source code on a case by case basis if that preferable over making modifications in the $CCSMROOT sandbox.
is the directory that holds copies of the locked files.
is a directory where previous case configurations are stored. In other words, when cesm_setup -clean is run, the current batch run script and env_mach_pes.xml file are copied into this directory, so when cesm_setup is subsequently run, there is an opportunity to review and compare previous setups.
is the Makefile Macros file for the current configuration. The Makefile is located in the Tools directory and is identical on all machines. The Macros file is a machine and compiler dependent file. This file is locked during the build step.
provides a summary of the commands used to generate this case.
is the script that is run interactively to build the CESM model.
is the script that cleans the CESM build.
is the script that is submitted to the batch queue to archive CESM data to the long-term archive disk, like an hpss or mass storage system.
is the script that is submitted to the batch queue to run a CESM job. This script could also be run interactively if resources allow.
is a tool that checks for missing input datasets and provides a capability for exporting them to local disk.
is the script that is run to generate the $CASE.run script for the target env_mach_pes.xml file and if they have not already been created, the user_nl_xxx files for the target components.
is a tool that generates an exact restart test in a separate directory based on the current case.
contain variables used to set up, build, and run CESM.
is the directory that contains a copy of the component log files from successful case runs.
is the directory that contains timing output from each successful case run.
is a utility that supports changing xml variables in the $CASEROOT xml files.
a directory containing many scripts that are used to set up the CESM model as well as run it. Some of particular note are
Makefile is the Makefile that will be used for the build.
cesm_buildexe.csh is invoked by $CASEROOT/$CASE.build to generate the model executable. This script calls the component buildexe scripts in Buildconf.
cesm_buildnml.csh is invoked by $CASEROOT/$CASE.build to generate the component namelists in $RUNDIR. This script calls the component buildnml scripts in Buildconf.
ccsm_check_lockedfiles checks that any files in the $CASEROOT/LockedFiles/ directory match those in the $CASEROOT directory. This helps protect users from overwriting variables that should not be changed.
ccsm_getenv converts the xml variables in $CASEROOT to csh environmental variables.
getTiming.csh generates the timing information.
getTiming.pl generates timing information and is used by getTiming.csh.
mkDepends generates Makefile dependencies in a form suitable for inclusion into a Makefile.
perf_summary.pl generates timing information.
st_archive.sh is the short-term archive script. It moves model output out of run directory to the short-term archive directory. Associated with DOUT_S and DOUT_S_ROOT env variables in env_run.xml.
taskmaker.pl derives pe counts and task and thread geometry info based on env var values set in the env_mach_pes file.
xml2env converts env_*xml files to shell environment variable files that are then sourced for inclusion in the model environment. Used by the ccsm_getenv script.