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

  ViewVC Help
Powered by ViewVC 1.1.22