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

Diff of /MITgcm_contrib/high_res_cube/README_ice

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

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

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.67

  ViewVC Help
Powered by ViewVC 1.1.22