********************************************************************************************************* * CESM1_1_RASM20+ (Spirit) * ********************************************************************************************************* ------------------------------------ ************************************ Set-up ------------------------------------ ************************************ 1) Obtain current RACM/RASM tag from repository. svn co $NPSREPO/racm/trunk 2) Edit create_newcase to make striped directories. Line 767: my $scriptsroot = "$ccsmroot/scripts"; #BJF my $lfs_stripe_cmd; #END BJF Line 776:foreach my $mkdir ( @mkdirs ) { Line 777: $sysmod = "mkdir -p $caseroot/$mkdir"; Line 778: system($sysmod) == 0 or die "ERROR: $sysmod failed: $?\n"; Line 779: } #BJF $lfs_stripe_cmd = "lfs setstripe $caseroot -s 1048576 -i -1 -c 4"; system ($lfs_stripe_cmd); if ($? == -1) {die "$lfs_stripe_cmd failed: $!\n";} #END BJF 3) Edit ccsm_utils/Tools/st_archive.sh to make striped archive directories. Line 71: mkdir -p ${sta} 2> /dev/null #BJF lfs setstripe ${sta} -s 1048576 -i -1 -c 4 #END BJF 4) Edit models/atm/wrf/bld/wrf.buildnml.csh if using local WRF input data. Don't need this if using Tony's WRF input data. Line 204: #BJF # Turn on or off special input data directories # 0 = use WRF data in DIN_LOC_ROOT_CSMDATA; 1 = use WRF data in BJF directory set WRFinput_custom = 1 if ($WRFinput_custom) then echo "Using custom WRF input." endif #END BJF Line 290: if (! -e ${bdyfile}) then if ($WRFinput_custom) then echo " - Copying WRF boundary file from $WORKDIR/WRF_data/boundary/CFSR" cp $WORKDIR/WRF_data/boundary/CFSR/${bdyfile} ${bdyfile} else cp $DIN_LOC_ROOT/atm/wrf/boundary/${bdyfile} ${bdyfile} endif endif if (`echo ${CONTINUE_RUN} | gawk '{print toupper($0)}'` == 'FALSE') then if (`echo ${RUN_TYPE} | gawk '{print tolower($0)}'` == 'branch') then if ( -e ./${RUN_REFCASE}.wrf.r01.${restdate} ) then echo " - Restarting WRF with ${RUN_REFCASE}.wrf.r01.${restdate}" else echo " - Check ${RUN_REFCASE}.wrf.r01.${restdate} is in the run directory" endif else if ($WRFinput_custom) then # Restart file is a monthly file and not an annual file echo " - Copying WRF input file from $WORKDIR/WRF_data/boundary/CFSR" cp -f $WORKDIR/WRF_data/boundary/CFSR/wrfinput_d01_${initdate} ./${CASE}.wrf.i01.${restdate} else cp -f $DIN_LOC_ROOT/atm/wrf/boundary/wrfinput_d01_${initdate} ./${CASE}.wrf.i01.${restdate} endif endif endif if ($spectral_nudging) then if (! -e ${fddafile}) then if ($WRFinput_custom) then echo " - Copying WRF spectral file from $WORKDIR/WRF_data/boundary/CFSR" cp $WORKDIR/WRF_data/boundary/CFSR/${fddafile} ${fddafile} else cp $DIN_LOC_ROOT/atm/wrf/boundary/${fddafile} ${fddafile} endif endif endif chmod u+w * endif 5) Create new case ./create_newcase -case fooname -res w5a_a94 -compset RB -mach spirit cd fooname ./cesm_setup ./fooname.build 6) Before running the case Edit env_run.xml to reflect starting year and run type (e.g., branch, start-up), ect. Edit Buildconf/wrf.buildnml.csh to turn on(default)/off spectral nudging. For CFSR data, edit user_nl_cpl by adding to the bottom: eps_agrid = 1.5e-02 ------------------------------------ ************************************ Run log ------------------------------------ ************************************ St.Date Tag Case # Notes YY-MM-DD tag# caseID status/restart run/times/ect. 12-09-05 31 RB_A.1 2007-2009 input data testing 12-08-29 31 RB_A.3.2 1992 leap-day test (fdda, met_em no blend + wrfbdy mod) 12-08-29 31 RB_A.3.1 1992 leap-day test (fdda, met_em blend + wrfbdy mod) 12-08-23 31 RB_A.3 1992 leap-day test (no fdda, met_em blend + wrfbdy mod) 12-08-17 31 RB_A.2 1992 leap-day test (no fdda) ------------------------------------ ************************************ Additional notes ------------------------------------ ************************************ RACM tag 32 built 2012-10-03. RACM tag 31 built 2012-08-07. RACM tag 30 built 2012-03-30. ------------------------------------ ************************************ Naming conventions, ect ------------------------------------ ************************************ r_._ Example1: r31RB_A.1 Example2: r31RB_A.1_branch Before building the case, you should also edit the file README.case in / to include some information about this case version; e.g., include information about the simulation, testing/debug, run length and build date.