/[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.55 - (hide annotations) (download)
Mon Feb 21 19:15:01 2005 UTC (19 years, 3 months ago) by dimitri
Branch: MAIN
Changes since 1.54: +9 -29 lines
high_res_cube/*

1 dimitri 1.52 daInstructions 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.
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     # 32*32*6*15, 2-cpu cube sphere on the altices with efc
86    
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.41 qsub job_altix92
163    
164    
165    
166    
167    
168    
169 dimitri 1.51
170    
171    
172    
173    
174 dimitri 1.41
175    
176    
177    
178    
179    
180    
181    
182    
183    
184    
185    
186 dimitri 1.42 ##########################################################################
187     ##########################################################################
188     # 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc
189     # requires input files in sudirectories run_template and ncep_rgau
190     # presently residing under orion:/tmp1/dmenem/cube
191 dimitri 1.41
192 dimitri 1.42 cd MITgcm/verification/global_ocean.cs32x15/code
193     \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
194     \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
195     \cp SIZE.h_54 SIZE.h
196     \cp packages.conf_hr packages.conf
197 dimitri 1.41
198 dimitri 1.42 cd ../build
199     \rm *
200     ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
201     make depend
202     make -j
203 dimitri 1.41
204 dimitri 1.42 cd ..
205     mkdir run
206     cd run
207     \rm *
208     \cp ../input/* .
209     \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
210     qsub job_orion
211 dimitri 1.35
212    
213     ##########################################################################
214     ##########################################################################
215 dimitri 1.41 # 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc
216 dimitri 1.35 # requires input files in sudirectories run_template and ncep_rgau
217     # presently residing under orion:/tmp1/dmenem/cube
218    
219     cd MITgcm/verification/global_ocean.cs32x15/code
220     \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
221 dimitri 1.41 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* .
222     \cp SIZE.h_41 SIZE.h
223 dimitri 1.35 \cp packages.conf_hr packages.conf
224    
225     cd ../build
226     \rm *
227 dimitri 1.41 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
228 dimitri 1.35 make depend
229 dimitri 1.41 make -j
230 dimitri 1.35
231     cd ..
232     mkdir run
233     cd run
234     \rm *
235     \cp ../input/* .
236     \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
237 dimitri 1.41 qsub job_orion41
238 dimitri 1.9
239    
240     ##########################################################################
241     ##########################################################################
242 dimitri 1.41 # 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc
243 dimitri 1.17 # requires input files in sudirectories run_template and ncep_rgau
244 dimitri 1.41 # presently residing under orion:/tmp1/dmenem/cube
245 dimitri 1.9
246     cd MITgcm/verification/global_ocean.cs32x15/code
247     \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
248 dimitri 1.41 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
249     \cp SIZE.h_50 SIZE.h
250 dimitri 1.12 \cp packages.conf_hr packages.conf
251 dimitri 1.9
252 dimitri 1.25 cd ../build
253 dimitri 1.15 \rm *
254 dimitri 1.13 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
255 dimitri 1.9 make depend
256 dimitri 1.41 make -j
257 dimitri 1.9
258     cd ..
259     mkdir run
260     cd run
261 dimitri 1.15 \rm *
262     \cp ../input/* .
263     \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
264 dimitri 1.41 qsub job_orion
265 dimitri 1.17
266    
267     ##########################################################################
268     ##########################################################################
269     # matlab script for generating pChkptFreq
270    
271     nTimeSteps=26352;
272 dimitri 1.34 for niter0=216:26352:(26352*12)
273 dimitri 1.17 pChkptFreq=(niter0+nTimeSteps)*1200;
274     day=pChkptFreq/24/60/60;
275     disp(['niter0=' int2str(niter0) ',day=' int2str(day) ', ' ...
276     datestr(datenum(1992,1,1)+day) ', pChkptFreq=' int2str(pChkptFreq)])
277     end
278    
279     niter0 = 216 , day = 369 , 04-Jan-1993, pChkptFreq = 31881600
280     niter0 = 26568 , day = 735 , 05-Jan-1994, pChkptFreq = 63504000
281     niter0 = 52920 , day = 1101, 06-Jan-1995, pChkptFreq = 95126400
282     niter0 = 79272 , day = 1467, 07-Jan-1996, pChkptFreq = 126748800
283     niter0 = 105624, day = 1833, 07-Jan-1997, pChkptFreq = 158371200
284     niter0 = 131976, day = 2199, 08-Jan-1998, pChkptFreq = 189993600
285     niter0 = 158328, day = 2565, 09-Jan-1999, pChkptFreq = 221616000
286     niter0 = 184680, day = 2931, 10-Jan-2000, pChkptFreq = 253238400
287     niter0 = 211032, day = 3297, 10-Jan-2001, pChkptFreq = 284860800
288     niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200
289     niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600
290 dimitri 1.34 niter0 = 290088, day = 4395, 13-Jan-2004, pChkptFreq = 379728000
291 dimitri 1.48
292    
293    
294    
295    
296    
297     #!/bin/csh
298     \cp data.pkg_hr data.pkg
299     \cp data.seaice_hr data.seaice
300     \cp data.exf_clim_hr data.exf_clim
301    
302     \cp data_hr92 data
303     ./modpickup
304     \cp data.exf_hr92 data.exf
305     /opt/sgi/mpt/1.11-85/bin/mpirun.real -v -a a2k c20 216 runon 221-436 mitgcmuv
306     mkdir out.1992
307     \mv STDOUT.0000 *.data pickup*.meta out.1992
308     \cp data* out.1992
309     \rm STD* *.meta

  ViewVC Help
Powered by ViewVC 1.1.22