-
Notifications
You must be signed in to change notification settings - Fork 7
/
README.iesm
237 lines (169 loc) · 7.66 KB
/
README.iesm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
================================
Tag created as follows:
================================
create iesm tag, relative to cesm1_1_2_rel04
based on cesm1_2_iesm06
scripts, iesm11 branch
- add CLM_IAC_MODE
M scripts/ccsm_utils/Case.template/config_definition.xml
- st archiving mods for iac
M scripts/ccsm_utils/Tools/st_archive.sh
Machines, iesm11 branch
- add iac specific env variables for the external libs and such
M scripts/ccsm_utils/Machines/env_mach_specific.hopper
M scripts/ccsm_utils/Machines/env_mach_specific.evergreen
M scripts/ccsm_utils/Machines/env_mach_specific.titan
- add iac build stuff
M scripts/ccsm_utils/Machines/Makefile
- add a filepath for some iac share code
M scripts/ccsm_utils/Machines/buildlib.csm_share
clm, iesm11 branch
- add iac build
M models/lnd/clm/bld/clm.buildexe.csh
- add iac files and namelist
M models/lnd/clm/bld/clm.buildnml.csh
- add call to iac model
M models/lnd/clm/src/cpl_mct/lnd_comp_mct.F90
- mods for pftdyn reading
M models/lnd/clm/src/main/pftdynMod.F90
- add iac code
A models/lnd/clm/src/iac
================================
To Check Out the latest CESM1_1 iesm tag
================================
setenv SVNREPO https://svn-ccsm-models.cgd.ucar.edu/
- look at the exp_tag directory for latest cesm1_1_iesm tag
svn ls $SVNREPO/cesm1/exp_tags | grep cesm1_1_iesm
svn co $SVNREPO/cesm1/exp_tags/cesm1_1_iesm## cesm1_1_iesm##
================================
To run standard I case on hopper:
================================
cd scripts
./create_newcase -case STD1 -res f09_g16 -compset IRCP45CN -mach hopper_pgi
./cesm_setup
./*.build
./*.submit
================================
To run iesm I (CAM4) case on hopper:
================================
cd scripts
./create_newcase -case IAC1 -res f09_g16 -compset IRCP45CN -mach hopper_pgi
cd IAC1
- edit env_run.xml
change CLM_IAC_MODE to giac
./cesm_setup
- edit user_nl_clm, add
finidat = '/project/projectdirs/ccsm1/inputdata/iac/giac/iac2gcam/iESM_exp1.2_1990-2004.clm2.r.2005-01-01-00000_c120810.nc'
fsurdat = '/project/projectdirs/ccsm1/inputdata/lnd/clm2/surfdata/surfdata_0.9x1.25_ZGICN32c_c120807.nc'
fpftdyn = './surfdata_iESM_dyn.nc'
hist_fincl2 = 'TOTVEGC','FROOTC','LIVECROOTC','DEADCROOTC','TOTSOMC','TOTLITC','CWDC','NPP','AGNPP','BGNPP','HR'
hist_dov2xy = .true., .false.
hist_mfilt = 1,1
hist_nhtfrq = 0,0
- edit Buildconf/clm.buildnml.csh, add this line just before the call to build-namelist
set clm_startfile = " "
./*.build
./*.submit
================================
To run iesm BRCP45C5CN case on hopper:
================================
cd scripts
./create_newcase -case BIACC5_00 -res f09_g16 -compset BRCP45C5CN -mach hopper_pgi
cd BIACC5_00
- edit env_run.xml
- change CLM_IAC_MODE to giac and temporarily point to jet's data directory
./xmlchange -file env_run.xml -id CLM_IAC_MODE -val 'giac'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT -val '/project/projectdirs/m1204/cesm/inputdata'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT_CLMFORC -val '/project/projectdirs/m1204/cesm/inputdata/atm/datm7'
./xmlchange -file env_run.xml -id RUN_STARTDATE -val '2005-01-01'
./cesm_setup
- edit user_nl_clm, add
finidat = '/project/projectdirs/m1204/cesm/inputdata/iac/giac/iac2gcam/iESM_CESM12_1990-2004.clm2.r.2005-01-01-00000.nc'
fpftdyn = './surfdata_iESM_dyn.nc'
fsurdat = '/project/projectdirs/m1204/cesm/inputdata/lnd/clm2/iESM/surfdata_0.9x1.25_BRCP45CN_c130808.nc'
hist_fincl2 = 'TOTVEGC','FROOTC','LIVECROOTC','DEADCROOTC','TOTSOMC','TOTLITC','CWDC','NPP','AGNPP','BGNPP','HR'
hist_dov2xy = .true., .false.
hist_mfilt = 1,1
hist_nhtfrq = 0,0
- edit Buildconf/clm.buildnml.csh, add this line just before the call to build-namelist
set clm_startfile = " "
./*.build
./*.submit
================================
To run iesm BRCP45C5CN case on hopper with dynamic co2 coupling:
================================
cd scripts
./create_newcase -case BIACC5_00 -res f09_g16 -compset BRCP45C5CN -mach hopper_pgi
cd BIACC5_01
- edit env_run.xml
- change CLM_IAC_MODE to giac and point to data directory
./xmlchange -file env_run.xml -id CLM_IAC_MODE -val 'giac'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT -val '/project/projectdirs/m1204/cesm/inputdata'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT_CLMFORC -val '/project/projectdirs/m1204/cesm/inputdata/atm/datm7'
./xmlchange -file env_run.xml -id RUN_STARTDATE -val '2005-01-01'
./cesm_setup
- edit user_nl_clm, add
finidat = '/project/projectdirs/m1204/cesm/inputdata/iac/giac/iac2gcam/iESM_CESM12_1990-2004.clm2.r.2005-01-01-00000.nc'
fpftdyn = './surfdata_iESM_dyn.nc'
fsurdat = '/project/projectdirs/m1204/cesm/inputdata/lnd/clm2/iESM/surfdata_0.9x1.25_BRCP45CN_c130808.nc'
hist_fincl2 = 'TOTVEGC','FROOTC','LIVECROOTC','DEADCROOTC','TOTSOMC','TOTLITC','CWDC','NPP','AGNPP','BGNPP','HR'
hist_dov2xy = .true., .false.
hist_mfilt = 1,1
hist_nhtfrq = 0,0
- edit user_nl_cam, add
co2flux_fuel_file = './CO2flux_iESM_dyn.nc'
- edit Buildconf/clm.buildnml.csh, add this line just before the call to build-namelist
set clm_startfile = " "
set co2flux_coupling = .true.
./*.build
./*.submit
================================
To run iesm BRCP45C5CN case on titan:
================================
cd scripts
./create_newcase -case BIACC5_00 -res f09_g16 -compset BRCP45C5CN -mach titan
cd BIACC5_00
- edit env_run.xml
- change CLM_IAC_MODE to giac and temporarily point to jet's data directory
./xmlchange -file env_run.xml -id CLM_IAC_MODE -val 'giac'
./xmlchange -file env_run.xml -id RUN_STARTDATE -val '2005-01-01'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT -val '/tmp/proj/ccsm/jet/inputdata'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT_CLMFORC -val '/tmp/proj/ccsm/jet/inputdata/atm/datm7'
./cesm_setup
- edit user_nl_clm, add
finidat = '/tmp/proj/ccsm/jet/inputdata/iac/giac/iac2gcam/iESM_CESM12_1990-2004.clm2.r.2005-01-01-00000.nc'
fpftdyn = './surfdata_iESM_dyn.nc'
fsurdat = '/tmp/proj/ccsm/jet/inputdata/lnd/clm2/iESM/surfdata_0.9x1.25_BRCP45CN_c130808.nc'
hist_fincl2 = 'TOTVEGC','FROOTC','LIVECROOTC','DEADCROOTC','TOTSOMC','TOTLITC','CWDC','NPP','AGNPP','BGNPP','HR'
hist_dov2xy = .true., .false.
hist_mfilt = 1,1
hist_nhtfrq = 0,0
- edit Buildconf/clm.buildnml.csh, add this line just before the call to build-namelist
set clm_startfile = " "
./*.build
./*.submit
================================
To run iesm 1850 Control Run using data IAC with historic GLM out and PL on titan:
================================
cd scripts
./create_newcase -case DIACC5_1850_00 -mach titan -compset B20TRC5CN -res f09_g16
cd DIACC5_1850_00
- edit env_run.xml
- change CLM_IAC_MODE to diac and temporarily point to jet's data directory
./xmlchange -file env_run.xml -id CLM_IAC_MODE -val 'diac'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT -val '/tmp/proj/ccsm/jet/inputdata'
./xmlchange -file env_run.xml -id DIN_LOC_ROOT_CLMFORC -val '/tmp/proj/ccsm/jet/inputdata/atm/datm7'
./xmlchange -file env_run.xml -id RUN_STARTDATE -val '1850-01-01'
./cesm_setup
- edit user_nl_clm, add
finidat = '/tmp/proj/ccsm/jet/inputdata/iac/giac/iac2gcam/iESM_CESM12_1850.clm2.r.1850-01-06-00000.nc'
fpftdyn = './surfdata_iESM_dyn.nc'
fsurdat = '/tmp/proj/ccsm/jet/inputdata/lnd/clm2/iESM/surfdata_0.9x1.25_simyear1850_c130819.nc'
hist_fincl2 = 'TOTVEGC','FROOTC','LIVECROOTC','DEADCROOTC','TOTSOMC','TOTLITC','CWDC','NPP','AGNPP','BGNPP','HR'
hist_dov2xy = .true., .false.
hist_mfilt = 1,1
hist_nhtfrq = 0,0
- edit Buildconf/clm.buildnml.csh, add this line just before the call to build-namelist
set clm_startfile = " "
./*.build
./*.submit