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 |
|
15 |
########################################################################## |
16 |
########################################################################## |
17 |
# getting the code from anonymous CVS server |
18 |
|
19 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
20 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
21 |
cvs co MITgcm_contrib/high_res_cube/input |
22 |
cvs co MITgcm_contrib/high_res_cube/results |
23 |
cvs co MITgcm_code |
24 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
25 |
cvs co MITgcm/verification/tutorial_held_suarez_cs/input |
26 |
|
27 |
|
28 |
########################################################################## |
29 |
########################################################################## |
30 |
# 32*32*6*15, 1-cpu cube sphere |
31 |
|
32 |
cd MITgcm/verification/global_ocean.cs32x15/code |
33 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
34 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
35 |
cd ../build |
36 |
\rm * |
37 |
../../../tools/genmake2 -mods=../code |
38 |
make depend |
39 |
make |
40 |
cd .. |
41 |
mkdir run |
42 |
cd run |
43 |
\rm * |
44 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
45 |
\cp ../input/* . |
46 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
47 |
../build/mitgcmuv >& output.txt |
48 |
|
49 |
comparison output is in: |
50 |
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
51 |
|
52 |
to use matlab to look at the output |
53 |
matlab |
54 |
|
55 |
for fld={'VICEtave','UICEtave','HEFFtave','AREAtave','QSWtave', ... |
56 |
'QNETtave','FVtave','FUtave','EmPmRtave'} |
57 |
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
58 |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
59 |
end |
60 |
|
61 |
heff=permute(readbin(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]); |
62 |
mask=0*heff; mask(find(heff>.001))=1; |
63 |
uice=mask.*permute(readbin(['UICEtave.0000000020.data'],[32,6,32]),[1 3 2]); |
64 |
vice=mask.*permute(readbin(['VICEtave.0000000020.data'],[32,6,32]),[1 3 2]); |
65 |
clf |
66 |
subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') |
67 |
subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') |
68 |
subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') |
69 |
subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') |
70 |
|
71 |
|
72 |
########################################################################## |
73 |
########################################################################## |
74 |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
75 |
|
76 |
cd MITgcm/verification/global_ocean.cs32x15/code |
77 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
78 |
\cp ../code_alt/code.176t_8x4/* . |
79 |
cd ../build |
80 |
\rm * |
81 |
../../../tools/genmake2 -mods=../code |
82 |
make depend |
83 |
make |
84 |
cd .. |
85 |
mkdir run |
86 |
cd run |
87 |
\rm * |
88 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
89 |
\cp ../input/* . |
90 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
91 |
../build/mitgcmuv >& output.txt |
92 |
|
93 |
|
94 |
########################################################################## |
95 |
########################################################################## |
96 |
# 32*32*6*15, 2-cpu cube sphere on the altices with ifort |
97 |
|
98 |
cd MITgcm/verification/global_ocean.cs32x15/code |
99 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
100 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
101 |
\cp SIZE.h_mpi SIZE.h |
102 |
|
103 |
cd ../build |
104 |
\rm * |
105 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
106 |
make depend |
107 |
make -j |
108 |
|
109 |
cd .. |
110 |
mkdir run |
111 |
cd run |
112 |
\rm * |
113 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
114 |
\cp ../input/* . |
115 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
116 |
mpirun -np 2 ../build/mitgcmuv |
117 |
|
118 |
|
119 |
########################################################################## |
120 |
########################################################################## |
121 |
# 510*510*6*50, 54-tile, 54-cpu cube sphere on the altices with efc |
122 |
# starting with pickup file from end of 1992 |
123 |
# requires input files in sudirectories run_template and ncep_rgau |
124 |
|
125 |
cd MITgcm/verification/global_ocean.cs32x15/code |
126 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
127 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s54t_170x170/* . |
128 |
\cp packages.conf_hr packages.conf |
129 |
|
130 |
cd ../build |
131 |
\rm * |
132 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
133 |
make depend |
134 |
make -j |
135 |
|
136 |
cd .. |
137 |
mkdir run |
138 |
cd run |
139 |
\rm * |
140 |
\cp ../input/* . |
141 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
142 |
qsub job_altix92_54t |
143 |
|
144 |
|
145 |
########################################################################## |
146 |
########################################################################## |
147 |
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
148 |
# requires input files in sudirectories run_template and ncep_rgau |
149 |
# these can be obained from lou:/u/menemenl/cube |
150 |
|
151 |
cd MITgcm/verification/global_ocean.cs32x15/code |
152 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
153 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
154 |
\cp SIZE.h_216 SIZE.h |
155 |
\cp packages.conf_hr packages.conf |
156 |
|
157 |
cd ../build |
158 |
\rm * |
159 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
160 |
make depend |
161 |
make -j |
162 |
|
163 |
cd .. |
164 |
mkdir run |
165 |
cd run |
166 |
\rm * |
167 |
\cp ../input/* . |
168 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
169 |
ln -sf ../../../../run_template/* . |
170 |
\rm pickup* data.pkg data.seaice data.exf_clim data.exf data bathy_Hmin50.bin |
171 |
\rm *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
172 |
ln -sf ../../../../run_template/pickup.0000000216.cube38 pickup.0000000216 |
173 |
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube38 pickup_seaice.0000000216 |
174 |
\cp ../build/mitgcmuv . |
175 |
qsub job_altix |
176 |
|
177 |
|
178 |
########################################################################## |
179 |
########################################################################## |
180 |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
181 |
# uses s1500t_17x51 configuration |
182 |
|
183 |
cd MITgcm/verification/global_ocean.cs32x15/code |
184 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
185 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
186 |
\cp SIZE.h_150 SIZE.h |
187 |
\cp packages.conf_hr packages.conf |
188 |
|
189 |
cd ../build |
190 |
\rm * |
191 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
192 |
make depend |
193 |
make -j |
194 |
|
195 |
cd .. |
196 |
mkdir run |
197 |
cd run |
198 |
\rm * |
199 |
\cp ../input/* . |
200 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
201 |
ln -sf ../../../../run_template/* . |
202 |
\rm pickup* |
203 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
204 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
205 |
\cp ../build/mitgcmuv mitgcmuv150 |
206 |
qsub job_altix150 |
207 |
|
208 |
|
209 |
|
210 |
|
211 |
########################################################################## |
212 |
########################################################################## |
213 |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
214 |
# uses s1500t_17x51 configuration |
215 |
# example for running on c17-c20 using arrayd |
216 |
|
217 |
cd MITgcm/verification/global_ocean.cs32x15/code |
218 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
219 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
220 |
\cp SIZE.h_375 SIZE.h |
221 |
\cp packages.conf_hr packages.conf |
222 |
|
223 |
cd ../build |
224 |
\rm * |
225 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
226 |
make depend |
227 |
make -j |
228 |
|
229 |
cd .. |
230 |
mkdir run |
231 |
cd run |
232 |
\rm * |
233 |
\cp ../input/* . |
234 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
235 |
ln -sf ../../../../run_template/* . |
236 |
\rm pickup* |
237 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
238 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
239 |
\cp ../build/mitgcmuv . |
240 |
job_c20_375cpu < /dev/null >&! output.run & |
241 |
|
242 |
|
243 |
|
244 |
|
245 |
|
246 |
|
247 |
|
248 |
|
249 |
|
250 |
|
251 |
|
252 |
|
253 |
########################################################################## |
254 |
########################################################################## |
255 |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
256 |
# uses s1500t_17x51 configuration |
257 |
# example for running on c17-c20 using arrayd |
258 |
|
259 |
cd MITgcm/verification/global_ocean.cs32x15/code |
260 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
261 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
262 |
\cp SIZE.h_375 SIZE.h |
263 |
\cp packages.conf_hr packages.conf |
264 |
|
265 |
cd ../build |
266 |
\rm * |
267 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
268 |
make depend |
269 |
make -j |
270 |
|
271 |
cd .. |
272 |
mkdir run |
273 |
cd run |
274 |
\rm * |
275 |
\cp ../input/* . |
276 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
277 |
ln -sf ../../../../run_template/* . |
278 |
\rm pickup* |
279 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
280 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
281 |
\cp ../build/mitgcmuv . |
282 |
job_c20_375cpu < /dev/null >&! output.run & |
283 |
|
284 |
|
285 |
########################################################################## |
286 |
########################################################################## |
287 |
# 510*510*6*50, 1500-tile, 500-cpu, excludes land |
288 |
# uses s1500t_17x51 configuration |
289 |
# example for running on c17-c20 using arrayd |
290 |
|
291 |
cd MITgcm/verification/global_ocean.cs32x15/code |
292 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
293 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
294 |
\cp SIZE.h_500 SIZE.h |
295 |
\cp packages.conf_hr packages.conf |
296 |
|
297 |
cd ../build |
298 |
\rm * |
299 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
300 |
make depend |
301 |
make -j |
302 |
|
303 |
cd .. |
304 |
mkdir run |
305 |
cd run |
306 |
\rm * |
307 |
\cp ../input/* . |
308 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
309 |
ln -sf ../../../../run_template/* . |
310 |
\rm pickup* |
311 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
312 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
313 |
\cp ../build/mitgcmuv . |
314 |
job_c19_500cpu < /dev/null >&! output.run & |
315 |
|
316 |
|
317 |
|
318 |
|
319 |
|
320 |
########################################################################## |
321 |
########################################################################## |
322 |
# 510*510*6*50, 216-cpu cube sphere on cosmos |
323 |
|
324 |
cd MITgcm/verification/global_ocean.cs32x15/code |
325 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
326 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
327 |
\cp SIZE.h_216 SIZE.h |
328 |
\cp packages.conf_hr packages.conf |
329 |
|
330 |
module unload latest_intel80 |
331 |
module unload mpich-gm-intel80 |
332 |
module load latest_intel81 |
333 |
module load mpich-gm-intel81 |
334 |
|
335 |
cd ../build |
336 |
\rm * |
337 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia32_ifort+mpi_cosmos |
338 |
make depend |
339 |
make -j |
340 |
|
341 |
cd .. |
342 |
mkdir run |
343 |
cd run |
344 |
\rm * |
345 |
\cp ../input/* . |
346 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
347 |
ln -sf ../../../../run_template/* . |
348 |
\rm pickup* |
349 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
350 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
351 |
\cp ../build/mitgcmuv . |
352 |
bsub < job_cosmos |
353 |
|
354 |
|
355 |
|
356 |
|
357 |
|
358 |
|
359 |
|
360 |
|
361 |
|
362 |
|
363 |
|
364 |
|
365 |
|
366 |
|
367 |
|
368 |
|
369 |
|
370 |
|
371 |
|
372 |
|
373 |
########################################################################## |
374 |
########################################################################## |
375 |
# 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc |
376 |
# requires input files in sudirectories run_template and ncep_rgau |
377 |
# presently residing under orion:/tmp1/dmenem/cube |
378 |
|
379 |
cd MITgcm/verification/global_ocean.cs32x15/code |
380 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
381 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
382 |
\cp SIZE.h_54 SIZE.h |
383 |
\cp packages.conf_hr packages.conf |
384 |
|
385 |
cd ../build |
386 |
\rm * |
387 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
388 |
make depend |
389 |
make -j |
390 |
|
391 |
cd .. |
392 |
mkdir run |
393 |
cd run |
394 |
\rm * |
395 |
\cp ../input/* . |
396 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
397 |
qsub job_orion |
398 |
|
399 |
|
400 |
########################################################################## |
401 |
########################################################################## |
402 |
# 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc |
403 |
# requires input files in sudirectories run_template and ncep_rgau |
404 |
# presently residing under orion:/tmp1/dmenem/cube |
405 |
|
406 |
cd MITgcm/verification/global_ocean.cs32x15/code |
407 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
408 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* . |
409 |
\cp SIZE.h_41 SIZE.h |
410 |
\cp packages.conf_hr packages.conf |
411 |
|
412 |
cd ../build |
413 |
\rm * |
414 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
415 |
make depend |
416 |
make -j |
417 |
|
418 |
cd .. |
419 |
mkdir run |
420 |
cd run |
421 |
\rm * |
422 |
\cp ../input/* . |
423 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
424 |
qsub job_orion41 |
425 |
|
426 |
|
427 |
########################################################################## |
428 |
########################################################################## |
429 |
# 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc |
430 |
# requires input files in sudirectories run_template and ncep_rgau |
431 |
# presently residing under orion:/tmp1/dmenem/cube |
432 |
|
433 |
cd MITgcm/verification/global_ocean.cs32x15/code |
434 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
435 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
436 |
\cp SIZE.h_50 SIZE.h |
437 |
\cp packages.conf_hr packages.conf |
438 |
|
439 |
cd ../build |
440 |
\rm * |
441 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
442 |
make depend |
443 |
make -j |
444 |
|
445 |
cd .. |
446 |
mkdir run |
447 |
cd run |
448 |
\rm * |
449 |
\cp ../input/* . |
450 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
451 |
qsub job_orion |