1 |
Instructions for setting up a cube-sphere integration with sea-ice. |
2 |
|
3 |
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 |
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 |
37 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
38 |
cvs co MITgcm_contrib/high_res_cube/input |
39 |
cvs co MITgcm_contrib/high_res_cube/results |
40 |
cvs co MITgcm_code |
41 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
42 |
cvs co MITgcm/verification/tutorial_held_suarez_cs/input |
43 |
|
44 |
|
45 |
########################################################################## |
46 |
########################################################################## |
47 |
# 32*32*6*15, 1-cpu cube sphere |
48 |
|
49 |
cd MITgcm/verification/global_ocean.cs32x15/code |
50 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
51 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
52 |
cd ../build |
53 |
\rm * |
54 |
../../../tools/genmake2 -mods=../code |
55 |
make depend |
56 |
make |
57 |
cd .. |
58 |
mkdir run |
59 |
cd run |
60 |
\rm * |
61 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
62 |
\cp ../input/* . |
63 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
64 |
../build/mitgcmuv >& output.txt |
65 |
|
66 |
comparison output is in: |
67 |
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
68 |
|
69 |
to use matlab to look at the output |
70 |
matlab |
71 |
|
72 |
for fld={'VICEtave','UICEtave','HEFFtave','AREAtave','QSWtave', ... |
73 |
'QNETtave','FVtave','FUtave','EmPmRtave'} |
74 |
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
75 |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
76 |
end |
77 |
|
78 |
heff=permute(readbin(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]); |
79 |
mask=0*heff; mask(find(heff>.001))=1; |
80 |
uice=mask.*permute(readbin(['UICEtave.0000000020.data'],[32,6,32]),[1 3 2]); |
81 |
vice=mask.*permute(readbin(['VICEtave.0000000020.data'],[32,6,32]),[1 3 2]); |
82 |
clf |
83 |
subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') |
84 |
subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') |
85 |
subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') |
86 |
subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') |
87 |
|
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 |
127 |
|
128 |
cd MITgcm/verification/global_ocean.cs32x15/code |
129 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
130 |
\cp ../code_alt/code.176t_8x4/* . |
131 |
cd ../build |
132 |
\rm * |
133 |
../../../tools/genmake2 -mods=../code |
134 |
make depend |
135 |
make |
136 |
cd .. |
137 |
mkdir run |
138 |
cd run |
139 |
\rm * |
140 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
141 |
\cp ../input/* . |
142 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
143 |
../build/mitgcmuv >& output.txt |
144 |
|
145 |
|
146 |
########################################################################## |
147 |
########################################################################## |
148 |
# 32*32*6*15, 2-cpu cube sphere on the altices with ifort |
149 |
|
150 |
cd MITgcm/verification/global_ocean.cs32x15/code |
151 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
152 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
153 |
\cp SIZE.h_mpi SIZE.h |
154 |
|
155 |
cd ../build |
156 |
\rm * |
157 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
158 |
make depend |
159 |
make -j |
160 |
|
161 |
cd .. |
162 |
mkdir run |
163 |
cd run |
164 |
\rm * |
165 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
166 |
\cp ../input/* . |
167 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
168 |
mpirun -np 2 ../build/mitgcmuv |
169 |
|
170 |
|
171 |
########################################################################## |
172 |
########################################################################## |
173 |
# 510*510*6*50, 54-tile, 54-cpu cube sphere on the altices with efc |
174 |
# starting with pickup file from end of 1992 |
175 |
# requires input files in sudirectories run_template and ncep_rgau |
176 |
|
177 |
cd MITgcm/verification/global_ocean.cs32x15/code |
178 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
179 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s54t_170x170/* . |
180 |
\cp packages.conf_hr packages.conf |
181 |
|
182 |
cd ../build |
183 |
\rm * |
184 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
185 |
make depend |
186 |
make -j |
187 |
|
188 |
cd .. |
189 |
mkdir run |
190 |
cd run |
191 |
\rm * |
192 |
\cp ../input/* . |
193 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
194 |
qsub job_altix92_54t |
195 |
|
196 |
|
197 |
########################################################################## |
198 |
########################################################################## |
199 |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
200 |
# uses s1500t_17x51 configuration |
201 |
|
202 |
cd MITgcm/verification/global_ocean.cs32x15/code |
203 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
204 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
205 |
\cp SIZE.h_150 SIZE.h |
206 |
\cp packages.conf_hr packages.conf |
207 |
|
208 |
cd ../build |
209 |
\rm * |
210 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
211 |
make depend |
212 |
make -j |
213 |
|
214 |
cd .. |
215 |
mkdir run |
216 |
cd run |
217 |
\rm * |
218 |
\cp ../input/* . |
219 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
220 |
ln -sf ../../../../run_template/* . |
221 |
\rm pickup* |
222 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
223 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
224 |
\cp ../build/mitgcmuv mitgcmuv150 |
225 |
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 |
########################################################################## |
360 |
########################################################################## |
361 |
# 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc |
362 |
# requires input files in sudirectories run_template and ncep_rgau |
363 |
# presently residing under orion:/tmp1/dmenem/cube |
364 |
|
365 |
cd MITgcm/verification/global_ocean.cs32x15/code |
366 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
367 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
368 |
\cp SIZE.h_54 SIZE.h |
369 |
\cp packages.conf_hr packages.conf |
370 |
|
371 |
cd ../build |
372 |
\rm * |
373 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
374 |
make depend |
375 |
make -j |
376 |
|
377 |
cd .. |
378 |
mkdir run |
379 |
cd run |
380 |
\rm * |
381 |
\cp ../input/* . |
382 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
383 |
qsub job_orion |
384 |
|
385 |
|
386 |
########################################################################## |
387 |
########################################################################## |
388 |
# 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc |
389 |
# requires input files in sudirectories run_template and ncep_rgau |
390 |
# presently residing under orion:/tmp1/dmenem/cube |
391 |
|
392 |
cd MITgcm/verification/global_ocean.cs32x15/code |
393 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
394 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* . |
395 |
\cp SIZE.h_41 SIZE.h |
396 |
\cp packages.conf_hr packages.conf |
397 |
|
398 |
cd ../build |
399 |
\rm * |
400 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
401 |
make depend |
402 |
make -j |
403 |
|
404 |
cd .. |
405 |
mkdir run |
406 |
cd run |
407 |
\rm * |
408 |
\cp ../input/* . |
409 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
410 |
qsub job_orion41 |
411 |
|
412 |
|
413 |
########################################################################## |
414 |
########################################################################## |
415 |
# 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc |
416 |
# requires input files in sudirectories run_template and ncep_rgau |
417 |
# presently residing under orion:/tmp1/dmenem/cube |
418 |
|
419 |
cd MITgcm/verification/global_ocean.cs32x15/code |
420 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
421 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
422 |
\cp SIZE.h_50 SIZE.h |
423 |
\cp packages.conf_hr packages.conf |
424 |
|
425 |
cd ../build |
426 |
\rm * |
427 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
428 |
make depend |
429 |
make -j |
430 |
|
431 |
cd .. |
432 |
mkdir run |
433 |
cd run |
434 |
\rm * |
435 |
\cp ../input/* . |
436 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
437 |
qsub job_orion |