1 |
daInstructions for setting up a cube-sphere integration with sea-ice. |
Instructions for setting up a cube-sphere integration with sea-ice. |
2 |
Date last updated: February 17, 2005 |
|
3 |
Code and input used for integrating cube22. |
September 28, 2006: 216-CPU code for cube38 |
4 |
|
|
5 |
|
September 4, 2006 |
6 |
|
Modified 32*32*6*15 experiments to use grid_cs32.* files from |
7 |
|
verification/tutorial_held_suarez_cs/input instead of |
8 |
|
tile* files from verification/global_ocean.cs32x15/input |
9 |
|
|
10 |
|
August 8, 2006 |
11 |
|
216-CPU code and input used for integrating cube37 |
12 |
|
using "June 10, 2006" MITgcm code. |
13 |
|
|
14 |
|
for online T/S profile diagnostics all that is needed is |
15 |
|
profiles_init_fixed |
16 |
|
profiles_inloop |
17 |
|
see pkg/ecco/ecco_cost_init_fixed.F |
18 |
|
pkg/ecco/cost_averagesfields.F |
19 |
|
|
20 |
|
|
21 |
########################################################################## |
########################################################################## |
22 |
########################################################################## |
########################################################################## |
23 |
# getting the code from anonymous CVS server |
# getting the code from anonymous CVS server |
24 |
|
# |
25 |
|
|
26 |
|
bash or sh shell: |
27 |
|
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
28 |
|
$ cvs login |
29 |
|
( enter the CVS password: "cvsanon" ) |
30 |
|
|
31 |
|
tcsh or csh shell: |
32 |
|
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
33 |
|
$ cvs login |
34 |
|
( enter the CVS password: "cvsanon" ) |
35 |
|
|
36 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
cvs co MITgcm_contrib/high_res_cube/README_ice |
37 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
cvs co MITgcm_contrib/high_res_cube/code-mods |
39 |
cvs co MITgcm_contrib/high_res_cube/results |
cvs co MITgcm_contrib/high_res_cube/results |
40 |
cvs co MITgcm_code |
cvs co MITgcm_code |
41 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
42 |
cvs co MITgcm/verification/testreport |
cvs co MITgcm/verification/tutorial_held_suarez_cs/input |
43 |
|
|
44 |
|
|
45 |
########################################################################## |
########################################################################## |
58 |
mkdir run |
mkdir run |
59 |
cd run |
cd run |
60 |
\rm * |
\rm * |
61 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
62 |
\cp ../input/* . |
\cp ../input/* . |
63 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
64 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
88 |
|
|
89 |
########################################################################## |
########################################################################## |
90 |
########################################################################## |
########################################################################## |
91 |
|
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
92 |
|
# requires input files in sudirectories run_template and ncep_rgau |
93 |
|
# these can be obained from lou:/u/menemenl/cube |
94 |
|
|
95 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
96 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
97 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
98 |
|
\cp SIZE.h_216 SIZE.h |
99 |
|
\cp packages.conf_hr packages.conf |
100 |
|
|
101 |
|
cd ../build |
102 |
|
\rm * |
103 |
|
../../../tools/genmake2 -mods=../code -of |
104 |
|
../../../tools/build_options/linux_ia\ |
105 |
|
64_ifort+mpi_altix_nas |
106 |
|
make depend |
107 |
|
make -j |
108 |
|
|
109 |
|
cd .. |
110 |
|
mkdir run |
111 |
|
cd run |
112 |
|
\rm * |
113 |
|
\cp ../input/* . |
114 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
115 |
|
ln -sf ../../../../run_template/* . |
116 |
|
\rm pickup* data.pkg data.seaice data.exf_clim data.exf data bathy_Hmin50.bin |
117 |
|
\rm *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
118 |
|
ln -sf ../../../../run_template/pickup.0000000216.cube38 pickup.0000000216 |
119 |
|
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube38 pickup_seaice.0000000216 |
120 |
|
\cp ../build/mitgcmuv . |
121 |
|
qsub job_altix |
122 |
|
|
123 |
|
|
124 |
|
########################################################################## |
125 |
|
########################################################################## |
126 |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
127 |
|
|
128 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
137 |
mkdir run |
mkdir run |
138 |
cd run |
cd run |
139 |
\rm * |
\rm * |
140 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
141 |
\cp ../input/* . |
\cp ../input/* . |
142 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
143 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
145 |
|
|
146 |
########################################################################## |
########################################################################## |
147 |
########################################################################## |
########################################################################## |
148 |
# 32*32*6*15, 2-cpu cube sphere on the altices with efc |
# 32*32*6*15, 2-cpu cube sphere on the altices with ifort |
149 |
|
|
150 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
151 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
162 |
mkdir run |
mkdir run |
163 |
cd run |
cd run |
164 |
\rm * |
\rm * |
165 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
166 |
\cp ../input/* . |
\cp ../input/* . |
167 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
168 |
mpirun -np 2 ../build/mitgcmuv |
mpirun -np 2 ../build/mitgcmuv |
196 |
|
|
197 |
########################################################################## |
########################################################################## |
198 |
########################################################################## |
########################################################################## |
199 |
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
200 |
# requires input files in sudirectories run_template and ncep_rgau |
# uses s1500t_17x51 configuration |
|
# these can be obained from lou:/u/menemenl/cube |
|
201 |
|
|
202 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
203 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
204 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
205 |
\cp SIZE.h_216 SIZE.h |
\cp SIZE.h_150 SIZE.h |
206 |
\cp packages.conf_hr packages.conf |
\cp packages.conf_hr packages.conf |
207 |
|
|
208 |
cd ../build |
cd ../build |
219 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
220 |
ln -sf ../../../../run_template/* . |
ln -sf ../../../../run_template/* . |
221 |
\rm pickup* |
\rm pickup* |
222 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
223 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
224 |
\cp ../build/mitgcmuv . |
\cp ../build/mitgcmuv mitgcmuv150 |
225 |
qsub job_altix92 |
qsub job_altix150 |
226 |
|
|
227 |
|
|
228 |
|
########################################################################## |
229 |
|
########################################################################## |
230 |
|
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
231 |
|
# uses s1500t_17x51 configuration |
232 |
|
# example for running on c17-c20 using arrayd |
233 |
|
|
234 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
235 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
236 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
237 |
|
\cp SIZE.h_375 SIZE.h |
238 |
|
\cp packages.conf_hr packages.conf |
239 |
|
|
240 |
|
cd ../build |
241 |
|
\rm * |
242 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
243 |
|
make depend |
244 |
|
make -j |
245 |
|
|
246 |
|
cd .. |
247 |
|
mkdir run |
248 |
|
cd run |
249 |
|
\rm * |
250 |
|
\cp ../input/* . |
251 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
252 |
|
ln -sf ../../../../run_template/* . |
253 |
|
\rm pickup* |
254 |
|
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
255 |
|
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
256 |
|
\cp ../build/mitgcmuv . |
257 |
|
job_c20_375cpu < /dev/null >&! output.run & |
258 |
|
|
259 |
|
|
260 |
|
########################################################################## |
261 |
|
########################################################################## |
262 |
|
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
263 |
|
# uses s1500t_17x51 configuration |
264 |
|
# example for running on c17-c20 using arrayd |
265 |
|
|
266 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
267 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
268 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
269 |
|
\cp SIZE.h_375 SIZE.h |
270 |
|
\cp packages.conf_hr packages.conf |
271 |
|
|
272 |
|
cd ../build |
273 |
|
\rm * |
274 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
275 |
|
make depend |
276 |
|
make -j |
277 |
|
|
278 |
|
cd .. |
279 |
|
mkdir run |
280 |
|
cd run |
281 |
|
\rm * |
282 |
|
\cp ../input/* . |
283 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
284 |
|
ln -sf ../../../../run_template/* . |
285 |
|
\rm pickup* |
286 |
|
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
287 |
|
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
288 |
|
\cp ../build/mitgcmuv . |
289 |
|
job_c20_375cpu < /dev/null >&! output.run & |
290 |
|
|
291 |
|
|
292 |
|
########################################################################## |
293 |
|
########################################################################## |
294 |
|
# 510*510*6*50, 1500-tile, 500-cpu, excludes land |
295 |
|
# uses s1500t_17x51 configuration |
296 |
|
# example for running on c17-c20 using arrayd |
297 |
|
|
298 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
299 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
300 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
301 |
|
\cp SIZE.h_500 SIZE.h |
302 |
|
\cp packages.conf_hr packages.conf |
303 |
|
|
304 |
|
cd ../build |
305 |
|
\rm * |
306 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
307 |
|
make depend |
308 |
|
make -j |
309 |
|
|
310 |
|
cd .. |
311 |
|
mkdir run |
312 |
|
cd run |
313 |
|
\rm * |
314 |
|
\cp ../input/* . |
315 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
316 |
|
ln -sf ../../../../run_template/* . |
317 |
|
\rm pickup* |
318 |
|
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
319 |
|
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
320 |
|
\cp ../build/mitgcmuv . |
321 |
|
job_c19_500cpu < /dev/null >&! output.run & |
322 |
|
|
323 |
|
|
324 |
|
########################################################################## |
325 |
|
########################################################################## |
326 |
|
# 510*510*6*50, 216-cpu cube sphere on cosmos |
327 |
|
|
328 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
329 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
330 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
331 |
|
\cp SIZE.h_216 SIZE.h |
332 |
|
\cp packages.conf_hr packages.conf |
333 |
|
|
334 |
|
module unload latest_intel80 |
335 |
|
module unload mpich-gm-intel80 |
336 |
|
module load latest_intel81 |
337 |
|
module load mpich-gm-intel81 |
338 |
|
|
339 |
|
cd ../build |
340 |
|
\rm * |
341 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia32_ifort+mpi_cosmos |
342 |
|
make depend |
343 |
|
make -j |
344 |
|
|
345 |
|
cd .. |
346 |
|
mkdir run |
347 |
|
cd run |
348 |
|
\rm * |
349 |
|
\cp ../input/* . |
350 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
351 |
|
ln -sf ../../../../run_template/* . |
352 |
|
\rm pickup* |
353 |
|
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
354 |
|
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
355 |
|
\cp ../build/mitgcmuv . |
356 |
|
bsub < job_cosmos |
357 |
|
|
358 |
|
|
359 |
########################################################################## |
########################################################################## |
435 |
\cp ../input/* . |
\cp ../input/* . |
436 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
437 |
qsub job_orion |
qsub job_orion |
|
|
|
|
|
|
|
########################################################################## |
|
|
########################################################################## |
|
|
# matlab script for generating pChkptFreq |
|
|
|
|
|
nTimeSteps=26352; |
|
|
for niter0=216:26352:(26352*12) |
|
|
pChkptFreq=(niter0+nTimeSteps)*1200; |
|
|
day=pChkptFreq/24/60/60; |
|
|
disp(['niter0=' int2str(niter0) ',day=' int2str(day) ', ' ... |
|
|
datestr(datenum(1992,1,1)+day) ', pChkptFreq=' int2str(pChkptFreq)]) |
|
|
end |
|
|
|
|
|
niter0 = 216 , day = 369 , 04-Jan-1993, pChkptFreq = 31881600 |
|
|
niter0 = 26568 , day = 735 , 05-Jan-1994, pChkptFreq = 63504000 |
|
|
niter0 = 52920 , day = 1101, 06-Jan-1995, pChkptFreq = 95126400 |
|
|
niter0 = 79272 , day = 1467, 07-Jan-1996, pChkptFreq = 126748800 |
|
|
niter0 = 105624, day = 1833, 07-Jan-1997, pChkptFreq = 158371200 |
|
|
niter0 = 131976, day = 2199, 08-Jan-1998, pChkptFreq = 189993600 |
|
|
niter0 = 158328, day = 2565, 09-Jan-1999, pChkptFreq = 221616000 |
|
|
niter0 = 184680, day = 2931, 10-Jan-2000, pChkptFreq = 253238400 |
|
|
niter0 = 211032, day = 3297, 10-Jan-2001, pChkptFreq = 284860800 |
|
|
niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200 |
|
|
niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600 |
|
|
niter0 = 290088, day = 4395, 13-Jan-2004, pChkptFreq = 379728000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#!/bin/csh |
|
|
\cp data.pkg_hr data.pkg |
|
|
\cp data.seaice_hr data.seaice |
|
|
\cp data.exf_clim_hr data.exf_clim |
|
|
|
|
|
\cp data_hr92 data |
|
|
./modpickup |
|
|
\cp data.exf_hr92 data.exf |
|
|
/opt/sgi/mpt/1.11-85/bin/mpirun.real -v -a a2k c20 216 runon 221-436 mitgcmuv |
|
|
mkdir out.1992 |
|
|
\mv STDOUT.0000 *.data pickup*.meta out.1992 |
|
|
\cp data* out.1992 |
|
|
\rm STD* *.meta |
|
|
|
|