DOCUMENTATION CMIP5 RUNS WITH GLACIER ELEVATION CLASSES (BG RUNS)
------------------------------------------------------------------------
These runs were originally performed by Miren Vizcaino. They were then rerun by Bill Sacks, using a tag that fixed the virtual column bug in CLM
GENERAL:
MACHINE: JAGUARPF
STORAGE ON JAGUAR'S HPSS: /f2/ccsm/csm/$CASE
Tag is tg_compset_22_cesm1_0_beta23 or later, as noted in each run
FOR DETAILS CONTACT M.Vizcaino@uu.nl or sacks@ucar.edu
------------------------------------------------------------------------
PREINDUSTRIAL: simulation BG1850CN
Miren Vizcaino, IMAU, Utrecht University, The Netherlands
Summary
Initial files: the run MOAR-1850IG
Commands for setup
Tag: the tag I am using is tg_compset_22_cesm1_0_beta23
1) Spin up
Both the snowpack model and the carbon cycle need to be initialized. Two simulations are used for this. The CLM restart file is a combination of the files from both runs, blended via interpinic.
1a) Set up of MOAR-IG1850 run (spin-up for ice sheet surface mass balance)
This is a startup run
name of run: MOAR1850h
location on jaguar's hpss: /home/sacks/csm/MOAR1850h
years: 1-119
case directory: /autofs/na1_home/sacks/cmip5_runs/MOAR1850h/
create_newcase -case ~/cmip5_runs/MOAR1850h -res f09_g16 -compset IG1850CN -mach jaguarpf -skip_rundb
xmlchange -file env_mach_pes.xml -id NTASKS_ATM -val 256
xmlchange -file env_mach_pes.xml -id NTASKS_LND -val 256
xmlchange -file env_mach_pes.xml -id NTASKS_ICE -val 256
xmlchange -file env_mach_pes.xml -id NTASKS_OCN -val 256
xmlchange -file env_mach_pes.xml -id NTASKS_CPL -val 256
relevant variables in env_conf.xml
atmospheric forcing data: /glade/data01/CMIP5/CCSM/csm/b40.1850.track1.1deg.006a/cpl/hist
Transferred to jaguarpf: /tmp/work/sacks/b40.1850.track1.1deg.006a/cpl/hist
Modifications in Buildconf/clm.buildnml.csh:
[Note: the albice change is the default as of tg tag 23]
albice = 0.60,0.40
fsurdat = '/tmp/work/sacks/cism_misc/surface_datasets/surfdata_0.9x1.25_simyr1850_c110725.nc'
Delete hist_fincl2
This data set was provided by Bill Sacks. It uses data from Bamber et
al. 2001 instead of the original data set. It is the default datasets
in the most recent TG tags.
Modifications in Buildconf/datm.buildnml.csh:
Replace:
/glade/data01/CMIP5/CCSM/csm
with:
/tmp/work/sacks
SourceMods:
Copied shr_stream_mod.F90 from models/csm_share/shr into SourceMods/src.share, then changed nFileMax from 1000 to 10000
Changed Macros.jaguarpf (note: this change is the default as of tg tag 24):
PNETCDF_PATH := $(PARALLEL_NETCDF_DIR)
xmlchange -file env_run.xml -id HIST_OPTION -val nyear
xmlchange -file env_run.xml -id HIST_N -val 1
xmlchange -file env_run.xml -id STOP_OPTION -val nyear
xmlchange -file env_run.xml -id STOP_N -val 3
xmlchange -file env_run.xml -id RESUBMIT -val 39
xmlchange -file env_run.xml -id DOUT_L_MS -val TRUE
[Later changed STOP_N to 2 and adjusted RESUBMIT accordingly, because using 3 years sometimes led to exceeding wall clock limit; also, later added a few additional years to bring us through year 119 (there is nothing magical about year 119, it just was convenient for testing)]
In *.run, change account (cli017ccp), walltime (2:00:00)
1b) interpinic
Using interpinic from tg_compset_25_cesm1_0_beta23 (corresponding to landice_diagnostics_23_non2dgrid18_clm4_0_26)
Code has to be modified to change the option override_missing to .false. in order to keep the information of the IG1850 file relative to glc_mec cells.
That is, set in interpinic.f90
override_missing = .false.
(default is .true.)
Then I compiled: On jaguarpf:
module load netcdf
export LIB_NETCDF="${NETCDF_DIR}/lib -lnetcdff"
export MOD_NETCDF=${NETCDF_DIR}/lib
export INC_NETCDF=${NETCDF_DIR}/include
gmake OPT=TRUE SMP=TRUE
The IG1850 is the output file (year 120) and B1850CN (MOAR run, year 863, case name b40.1850.track1.1deg.006 [WJS 7-27-12: this originally said b40.1850.track1.1deg.006a, but I think that was wrong], year 863, see http://www.cesm.ucar.edu/experiments/cesm1.0/) is the input file
cp /tmp/work/sacks/MOAR1850h/run/MOAR1850h.clm2.r.0120-01-01-00000.nc /tmp/work/sacks/MOAR1850h/run/b40.1850.track1.1deg.006.clm2.r.0863-01-01-00000_interp_to_ig1850cn.nc
env OMP_NUM_THREADS=4 interpinic -i /tmp/proj/ccsm/inputdata/ccsm4_init/b40.1850.track1.1deg.006/0863-01-01/b40.1850.track1.1deg.006.clm2.r.0863-01-01-00000.nc -o /tmp/work/sacks/MOAR1850h/run/b40.1850.track1.1deg.006.clm2.r.0863-01-01-00000_interp_to_ig1850cn.nc
Input file has 45689 columns, output has 60558.
2) Set up
Tag is tg_compset_25_cesm1_0_beta23
name of run: b.e10.BG1850CN.f09_g16.002
machine: jaguarpf
location on jaguar's hpss: /f2/ccsm/csm/b.e10.BG1850CN.f09_g16.002
years: 1-99
case directory: /autofs/na1_home/sacks/cmip5_runs/ b.e10.BG1850CN.f09_g16.002/
create_newcase -case ~sacks/cmip5_runs/b.e10.BG1850CN.f09_g16.002 -res f09_g16 -compset BG1850CN -mach jaguarpf
Workaround for a bug fixed in tg tag 26:
cp ccsm_utils/Tools/lt_archive.sh ~sacks/cmip5_runs/b.e10.BG1850CN.f09_g16.002/Tools/
The CISM grid corresponds to the 5km dataset from the University of Montana
xmlchange -file env_conf.xml -id GLC_GRID -val gland5UM
Increased default PE count: Changed first block of values in env_mach_pes.xml to:
(all other values in env_mach_pes.xml left at default values)
configure -case
Buildconf/cism.buildnml.csh
Some modifications were introduced in order to set the cism grid to the 5km data set from University of Montana
set cismgrid_input = $DIN_LOC_ROOT/glc/cism/IceSheetData_UMontana/PresentDayGreenland/Greenland_5km_v1.1_SacksRev_c110629.nc
Comment the following lines regarding branch and hybrid runs:
#if ($RUN_TYPE != 'branch' && $RUN_TYPE != 'hybrid') then
cp $cismgrid_input $exedir/gland5UM.input.nc
chmod 644 $exedir/gland5UM.input.nc
#endif
#if ($RUN_TYPE == 'branch' || $RUN_TYPE == 'hybrid') then
#set hotstart = 1
#endif
At the end of the file, modify the file under "name"
[CF input]
name: $DIN_LOC_ROOT/glc/cism/IceSheetData_UMontana/PresentDayGreenland/Greenland_5km_v1.1_SacksRev_c110629.nc
[Also confirmed that evolution=-1]
Buildconf/clm.buildnml.csh
The glacier mask was changed to that used in the MOAR-IG run used for spin-up
fglcmask = '$DIN_LOC_ROOT/glc/cism/griddata/glcmaskdata_0.9x1.25_Gland10km.nc'
The initial data file is the blend of the IG1850CN and B1850CN spin-up runs:
finidat = 'b40.1850.track1.1deg.006.clm2.r.0863-01-01-00000_interp_to_ig1850cn.nc'
The fsurdat file is the default file for this tag, but in its location on jaguarpf:
fsurdat = '/tmp/work/sacks/cism_misc/surface_datasets/surfdata_0.9x1.25_simyr1850_c110725.nc'
Some extra diagnosis terms were included
hist_fincl1 = 'QFLX_EVAP_GRND_ICE','QFLX_SUB_SNOW_ICE','QFLX_DEW_GRND_ICE','QFLX_DEW_SNOW_ICE'
hist_fincl2 = 'FSA_ICE','FSDS','QSOIL_ICE','QSNOFRZ_ICE','QSNOMELT_ICE','QICE_MELT','QICE_FRZ','SNOW','RAIN'
hist_mfilt = 1, 365
hist_nhtfrq = 0, -24
[Also confirmed that albice = 0.60,0.40]
STORING OF EXTRA COUPLER FILES FOR TG RUNS AND IG RUNS
(histaux_s2x24hr is needed for TG runs; the source mods and histaux_a2x3hr are needed for IG runs)
SourceMods
Copied models/drv/driver/ccsm_comp_mod.F90 to SourceMods/src.drv, and introduced mods as shown by the following diff:
--- /ccs/home/sacks/tg_compset_25_cesm1_0_beta23/models/drv/driver/ccsm_comp_mod.F90 2012-04-27 15:31:37.969486000 -0400
+++ SourceMods/src.drv/ccsm_comp_mod.F90 2012-04-27 16:09:22.598405000 -0400
@@ -279,7 +279,9 @@
character(CL) :: hist_a2x_flds = 'Faxa_swndr:Faxa_swvdr:Faxa_swndf:Faxa_swvdf'
! character(CL) :: hist_a2x24hr_flds = 'all'
character(CL) :: hist_a2x3hrp_flds = 'Faxa_rainc:Faxa_rainl:Faxa_snowc:Faxa_snowl'
- character(CL) :: hist_a2x3hr_flds = 'Sa_z:Sa_u:Sa_v:Sa_tbot:Sa_ptem:Sa_shum:Sa_dens:Sa_pbot:Sa_pslv:Faxa_lwdn'
+ character(CL) :: hist_a2x3hr_flds = 'Sa_z:Sa_u:Sa_v:Sa_tbot:Sa_ptem:Sa_shum:Sa_dens:Sa_pbot:Sa_pslv:Faxa_lwdn:&
+ &Faxa_rainc:Faxa_rainl:Faxa_snowc:Faxa_snowl:&
+ &Faxa_swndr:Faxa_swvdr:Faxa_swndf:Faxa_swvdf'
integer :: budget_inst ! instantaneous budget flag
integer :: budget_daily ! daily budget flag
integer :: budget_month ! monthly budget flag
Buildconf/cpl.buildnml.csh
histaux_a2x3hr = .true.
Add
histaux_s2x24hr = .true.
right after
histaux_r2x = .false.
FIXING PERMISSIONS ON FILES IN LONG-TERM ARCHIVE:
Changed Tools/lt_archive.sh according to the following diffs (added a chmod command):
--- lt_archive.sh~ 2012-04-30 11:54:40.276533000 -0400
+++ lt_archive.sh 2012-05-02 17:10:21.472923000 -0400
@@ -186,9 +186,9 @@
cd $DOUT_S_ROOT
if [ $DOUT_L_HPSS_ACCNT -gt 0 ]; then
- hsi -a $DOUT_L_HPSS_ACCNT "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *"
+ hsi -a $DOUT_L_HPSS_ACCNT "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *; chmod -R a+r *"
else
- hsi "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *"
+ hsi "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *; chmod -R a+r *"
fi
date
RUNTIME PARAMETERS
env_run.xml
xmlchange -file env_run.xml -id STOP_OPTION -val nyear
xmlchange -file env_run.xml -id STOP_N -val 2
xmlchange -file env_run.xml -id RESUBMIT -val 48
xmlchange -file env_run.xml -id REST_N -val 1
xmlchange -file env_run.xml -id HIST_OPTION -val nyear
xmlchange -file env_run.xml -id HIST_N -val 1
xmlchange -file env_run.xml -id DOUT_L_MS -val TRUE
xmlchange -file env_run.xml -id DOUT_L_MSROOT -val '/f2/ccsm/csm/$CASE'
xmlchange -file env_run.xml -id DOUT_L_HPSS_ACCNT -val "cli017ccp"
My intent was to run for one additional year, to run for 99 years, in total. However, I actually ran for 100 years. So, to get the restart files from the end of year 99 (labeled with date-stamp 0100-01-01), I retrieved the 0099-01-01 restart files & associated rpointer files, then did a 1-year continue run. (Setting DOUT_S_SAVE_INT_REST_FILES to TRUE in env_run.xml didn't seem to accomplish anything.)
b.e10.BG1850CN.f09_g16.002.jaguarpf.run
Changed:
#PBS -A cli017ccp
#PBS -l walltime=05:15:00
Added:
#PBS -m "ae"
#PBS -M "sacks@ucar.edu"
b.e10.BG1850CN.f09_g16.002.jaguarpf.l_archive
Changed:
#PBS -A cli017ccp
*.build
Moved the initial conditions file created in (1b) to the run directory:
mv /tmp/work/sacks/MOAR1850h/run/b40.1850.track1.1deg.006.clm2.r.0863-01-01-00000_interp_to_ig1850cn.nc /tmp/work/sacks/b.e10.BG1850CN.f09_g16.002/run
*.submit
------------------------------------------------------------------------
HISTORICAL RUN TRANSIENT 1850-2005: BG20TRCN
Summary:
Initial files from year 100 of run b.e10.BG1850CN.f09_g16.002
Tag is tg_compset_26_cesm1_0_beta23
name of run: b.e10.BG20TRCN.f09_g16.002
machine: jaguarpf
location on jaguar's hpss: /f2/ccsm/csm/b.e10.BG20TRCN.f09_g16.002
years: 1850 - 2005
case directory: /autofs/na1_home/sacks/cmip5_runs/ b.e10.BG20TRCN.f09_g16.002/
create_newcase -case ~sacks/cmip5_runs/b.e10.BG20TRCN.f09_g16.002 -res f09_g16 -compset BG20TRCN -mach jaguarpf -skip_rundb
Env_conf
RUN_STARTDATE is 1850-01-01 (default)
GLC_GRID is gland5UM (default)
> xmlchange -file env_conf.xml -id RUN_TYPE -val hybrid
> xmlchange -file env_conf.xml -id RUN_REFCASE -val b.e10.BG1850CN.f09_g16.002
> xmlchange -file env_conf.xml -id RUN_REFDATE -val 0100-01-01
Increased default PE count: Changed first block of values in env_mach_pes.xml to:
(all other values in env_mach_pes.xml left at default values)
configure -case
Buildconf/clm.buildnml.csh
I changed fpftdyn to: '/tmp/work/sacks/cism_misc/surface_datasets/pftdyn_20thcent/surfdata.pftdyn_0.9x1.25_hist_simyr1850-2005_c111219.nc'.
This file was created by Bill Sacks
The fsurdat file is the default file for this tag, but in its location on jaguarpf:
fsurdat = '/tmp/work/sacks/cism_misc/surface_datasets/surfdata_0.9x1.25_simyr1850_c110725.nc'
The glacier mask was changed to that used in the MOAR-IG run used for spin-up
fglcmask = '$DIN_LOC_ROOT/glc/cism/griddata/glcmaskdata_0.9x1.25_Gland10km.nc'
Some extra diagnosis terms were included
hist_fincl1 = 'QFLX_EVAP_GRND_ICE','QFLX_SUB_SNOW_ICE','QFLX_DEW_GRND_ICE','QFLX_DEW_SNOW_ICE'
hist_fincl2 = 'FSA_ICE','FSDS','QSOIL_ICE','QSNOFRZ_ICE','QSNOMELT_ICE','QICE_MELT','QICE_FRZ','SNOW','RAIN'
hist_mfilt = 1, 365
hist_nhtfrq = 0, -24
[Also confirmed that albice = 0.60,0.40]
Buildconf/cism.buildnml.csh
Nothing was modified
[Confirmed that evolution=-1]
STORING OF EXTRA COUPLER FILES FOR TG RUNS AND IG RUNS:
(histaux_s2x24hr is needed for TG runs; the source mods and histaux_a2x3hr are needed for IG runs)
SourceMods
Copied models/drv/driver/ccsm_comp_mod.F90 to SourceMods/src.drv, and introduced mods as shown by the following diff:
--- /ccs/home/sacks/tg_compset_25_cesm1_0_beta23/models/drv/driver/ccsm_comp_mod.F90 2012-04-27 15:31:37.969486000 -0400
+++ SourceMods/src.drv/ccsm_comp_mod.F90 2012-04-27 16:09:22.598405000 -0400
@@ -279,7 +279,9 @@
character(CL) :: hist_a2x_flds = 'Faxa_swndr:Faxa_swvdr:Faxa_swndf:Faxa_swvdf'
! character(CL) :: hist_a2x24hr_flds = 'all'
character(CL) :: hist_a2x3hrp_flds = 'Faxa_rainc:Faxa_rainl:Faxa_snowc:Faxa_snowl'
- character(CL) :: hist_a2x3hr_flds = 'Sa_z:Sa_u:Sa_v:Sa_tbot:Sa_ptem:Sa_shum:Sa_dens:Sa_pbot:Sa_pslv:Faxa_lwdn'
+ character(CL) :: hist_a2x3hr_flds = 'Sa_z:Sa_u:Sa_v:Sa_tbot:Sa_ptem:Sa_shum:Sa_dens:Sa_pbot:Sa_pslv:Faxa_lwdn:&
+ &Faxa_rainc:Faxa_rainl:Faxa_snowc:Faxa_snowl:&
+ &Faxa_swndr:Faxa_swvdr:Faxa_swndf:Faxa_swvdf'
integer :: budget_inst ! instantaneous budget flag
integer :: budget_daily ! daily budget flag
integer :: budget_month ! monthly budget flag
Buildconf/cpl.buildnml.csh
histaux_a2x3hr = .true.
Add
histaux_s2x24hr = .true.
right after
histaux_r2x = .false.
FIXING PERMISSIONS ON FILES IN LONG-TERM ARCHIVE:
Changed Tools/lt_archive.sh according to the following diffs (added a chmod command):
--- lt_archive.sh~ 2012-04-30 11:54:40.276533000 -0400
+++ lt_archive.sh 2012-05-02 17:10:21.472923000 -0400
@@ -186,9 +186,9 @@
cd $DOUT_S_ROOT
if [ $DOUT_L_HPSS_ACCNT -gt 0 ]; then
- hsi -a $DOUT_L_HPSS_ACCNT "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *"
+ hsi -a $DOUT_L_HPSS_ACCNT "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *; chmod -R a+r *"
else
- hsi "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *"
+ hsi "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *; chmod -R a+r *"
fi
date
RUNTIME PARAMETERS
env_run.xml
xmlchange -file env_run.xml -id STOP_OPTION -val nyear
xmlchange -file env_run.xml -id STOP_N -val 2
xmlchange -file env_run.xml -id RESUBMIT -val 78
xmlchange -file env_run.xml -id REST_N -val 1
xmlchange -file env_run.xml -id HIST_OPTION -val nyear
xmlchange -file env_run.xml -id HIST_N -val 1
xmlchange -file env_run.xml -id DOUT_L_MS -val TRUE
xmlchange -file env_run.xml -id DOUT_L_MSROOT -val '/f2/ccsm/csm/$CASE'
xmlchange -file env_run.xml -id DOUT_L_HPSS_ACCNT -val "cli017ccp"
b.e10.BG20TRCN.f09_g16.002.jaguarpf.run
Changed:
#PBS -A cli017ccp
#PBS -l walltime=05:15:00
Added:
#PBS -m "ae"
#PBS -M "sacks@ucar.edu"
b.e10.BG20TRCN.f09_g16.002.jaguarpf.l_archive
Changed:
#PBS -A cli017ccp
Building
./b.e10.BG20TRCN.f09_g16.002.jaguarpf.build
To prestage restarts, untar the restart.tar file into $RUNDIR
hsi -q 'lcd /tmp/work/sacks/b.e10.BG20TRCN.f09_g16.002/run; prompt; mget /f2/ccsm/csm/b.e10.BG1850CN.f09_g16.002/rest/0100-01-01-00000/* '
Getting restart files from the correct year
To get the restart files from the end of year 2004 (labeled with date-stamp 2005-01-01), I retrieved the 2004-01-01 restart files & associated rpointer files, then did a 1-year continue run. (Otherwise, I just had the 2004-01-01 and 2006-01-01 restart files.)
Afterwards, I did another 1-year continue run, because the above 1-year run clobbered CLM's 2005 .h1 file.
------------------------------------------------------------------------
RCP8.5 2005-2100: BG
Tag: tg_compset_26_cesm1_0_beta23
name of run: b.e10.BGRCP85CN.f09_g16.002
machine: jaguarpf
location on jaguar's hpss: /f2/ccsm/csm/ b.e10.BGRCP85CN.f09_g16.002
years: 2005 - 2100
case directory: /autofs/na1_home/sacks/cmip5_runs/ b.e10.BGRCP85CN.f09_g16.002
create_newcase -case ~sacks/cmip5_runs/b.e10.BGRCP85CN.f09_g16.002 -res f09_g16 -compset BGRCP85CN -mach jaguarpf -skip_rundb
env_conf.xml
> xmlchange -file env_conf.xml -id RUN_TYPE -val hybrid
> xmlchange -file env_conf.xml -id RUN_REFCASE -val b.e10.BG20TRCN.f09_g16.002
> xmlchange -file env_conf.xml -id RUN_REFDATE -val 2005-01-01
RUN_STARTDATE is 2005-01-01 (default)
GLC_GRID is gland5UM (default)
env_mach_pes.xml
Increased default PE count: Changed first block of values in env_mach_pes.xml to:
(all other values in env_mach_pes.xml left at default values)
configure -case
Buildconf/clm.buildnml.csh
Fpftdyn:
/tmp/work/sacks/cism_misc/surface_datasets/pftdyn_rcp8.5/surfdata.pftdyn_0.9x1.25_rcp8.5_simyr1850-2100_c120109.nc
(This file was created by Bill Sacks)
The fsurdat file is the default file for this tag, but in its location on jaguarpf:
fsurdat = '/tmp/work/sacks/cism_misc/surface_datasets/surfdata_0.9x1.25_simyr1850_c110725.nc'
The glacier mask was changed to that used in the MOAR-IG run used for spin-up
fglcmask = '$DIN_LOC_ROOT/glc/cism/griddata/glcmaskdata_0.9x1.25_Gland10km.nc'
Some extra diagnosis terms were included
hist_fincl1 = 'QFLX_EVAP_GRND_ICE','QFLX_SUB_SNOW_ICE','QFLX_DEW_GRND_ICE','QFLX_DEW_SNOW_ICE'
hist_fincl2 = 'FSA_ICE','FSDS','QSOIL_ICE','QSNOFRZ_ICE','QSNOMELT_ICE','QICE_MELT','QICE_FRZ','SNOW','RAIN'
hist_mfilt = 1, 365
hist_nhtfrq = 0, -24
[Also confirmed that albice = 0.60,0.40]
Buildconf/cism.buildnml.csh
Nothing was modified
[Confirmed that evolution=-1]
STORING OF EXTRA COUPLER FILES FOR TG RUNS:
(histaux_s2x24hr is needed for TG runs; the source mods and histaux_a2x3hr are needed for IG runs)
SourceMods
Copied models/drv/driver/ccsm_comp_mod.F90 to SourceMods/src.drv, and introduced mods as shown by the following diff:
--- /ccs/home/sacks/tg_compset_25_cesm1_0_beta23/models/drv/driver/ccsm_comp_mod.F90 2012-04-27 15:31:37.969486000 -0400
+++ SourceMods/src.drv/ccsm_comp_mod.F90 2012-04-27 16:09:22.598405000 -0400
@@ -279,7 +279,9 @@
character(CL) :: hist_a2x_flds = 'Faxa_swndr:Faxa_swvdr:Faxa_swndf:Faxa_swvdf'
! character(CL) :: hist_a2x24hr_flds = 'all'
character(CL) :: hist_a2x3hrp_flds = 'Faxa_rainc:Faxa_rainl:Faxa_snowc:Faxa_snowl'
- character(CL) :: hist_a2x3hr_flds = 'Sa_z:Sa_u:Sa_v:Sa_tbot:Sa_ptem:Sa_shum:Sa_dens:Sa_pbot:Sa_pslv:Faxa_lwdn'
+ character(CL) :: hist_a2x3hr_flds = 'Sa_z:Sa_u:Sa_v:Sa_tbot:Sa_ptem:Sa_shum:Sa_dens:Sa_pbot:Sa_pslv:Faxa_lwdn:&
+ &Faxa_rainc:Faxa_rainl:Faxa_snowc:Faxa_snowl:&
+ &Faxa_swndr:Faxa_swvdr:Faxa_swndf:Faxa_swvdf'
integer :: budget_inst ! instantaneous budget flag
integer :: budget_daily ! daily budget flag
integer :: budget_month ! monthly budget flag
Buildconf/cpl.buildnml.csh
histaux_a2x3hr = .true.
Add
histaux_s2x24hr = .true.
right after
histaux_r2x = .false.
FIXING PERMISSIONS ON FILES IN LONG-TERM ARCHIVE:
Changed Tools/lt_archive.sh according to the following diffs (added a chmod command):
--- lt_archive.sh~ 2012-04-30 11:54:40.276533000 -0400
+++ lt_archive.sh 2012-05-02 17:10:21.472923000 -0400
@@ -186,9 +186,9 @@
cd $DOUT_S_ROOT
if [ $DOUT_L_HPSS_ACCNT -gt 0 ]; then
- hsi -a $DOUT_L_HPSS_ACCNT "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *"
+ hsi -a $DOUT_L_HPSS_ACCNT "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *; chmod -R a+r *"
else
- hsi "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *"
+ hsi "mkdir -p $DOUT_L_MSROOT ; chmod +t $DOUT_L_MSROOT ; cd $DOUT_L_MSROOT ; put -dPR *; chmod -R a+r *"
fi
date
RUNTIME PARAMETERS
env_run.xml
xmlchange -file env_run.xml -id STOP_OPTION -val nyear
xmlchange -file env_run.xml -id STOP_N -val 2
xmlchange -file env_run.xml -id RESUBMIT -val 48
xmlchange -file env_run.xml -id REST_N -val 1
xmlchange -file env_run.xml -id HIST_OPTION -val nyear
xmlchange -file env_run.xml -id HIST_N -val 1
xmlchange -file env_run.xml -id DOUT_L_MS -val TRUE
xmlchange -file env_run.xml -id DOUT_L_MSROOT -val '/f2/ccsm/csm/$CASE'
xmlchange -file env_run.xml -id DOUT_L_HPSS_ACCNT -val "cli017ccp"
$CASE.jaguarpf.run
Changed:
#PBS -A cli017ccp
#PBS -l walltime=05:50:00
Added:
#PBS -m "ae"
#PBS -M "sacks@ucar.edu"
$CASE.jaguarpf.l_archive
Changed:
#PBS -A cli017ccp
Building
$CASE.jaguarpf.build
To prestage restart files:
hsi -q 'lcd /tmp/work/sacks/b.e10.BGRCP85CN.f09_g16.002/run/; prompt; mget /f2/ccsm/csm/b.e10.BG20TRCN.f09_g16.002/rest/2005-01-01-00000/*'