/[MITgcm]/MITgcm_contrib/high_res_cube/README_ice
ViewVC logotype

Annotation of /MITgcm_contrib/high_res_cube/README_ice

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.60 - (hide annotations) (download)
Thu Sep 15 22:00:15 2005 UTC (18 years, 8 months ago) by dimitri
Branch: MAIN
Changes since 1.59: +34 -0 lines
instructions for running on cosmos

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

  ViewVC Help
Powered by ViewVC 1.1.22