/[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.34 by dimitri, Fri Mar 26 19:02:13 2004 UTC revision 1.62 by dimitri, Sat Feb 25 16:59:00 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: March 9, 2004.  Date last updated: February 25, 2005
3  Code and input used for integrating cube5.  216-CPU code and input used for integrating cube29.
4    
5    
6  ##########################################################################  ##########################################################################
7  ##########################################################################  ##########################################################################
8  # getting the code from anonymous CVS server  # getting the code from anonymous CVS server
9    
10  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  cvs co MITgcm_contrib/high_res_cube/README_ice
11  cvs login ( CVS password: cvsanon )  cvs co MITgcm_contrib/high_res_cube/code-mods
12  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/README_ice  cvs co MITgcm_contrib/high_res_cube/input
13  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/code-mods  cvs co MITgcm_contrib/high_res_cube/results
14  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/input  cvs co MITgcm_code
15  cvs co -r hrcube5 MITgcm_contrib/high_res_cube/results  cvs co MITgcm/verification/global_ocean.cs32x15
16  cvs co -r hrcube5 MITgcm_code  
17  cvs co -r hrcube5 MITgcm/verification/global_ocean.cs32x15  # remove check in config_check.F
18    > C-TRM     IF ( highOrderVorticity .AND. useCubedSphereExchange ) THEN
19    > C-TRM       WRITE(msgBuf,'(2A)')
20    > C-TRM    &   'CONFIG_CHECK: highOrderVorticity Scheme does not work',
21    > C-TRM    &   ' on CubedSphere grid'
22    > C-TRM       CALL PRINT_ERROR( msgBuf , myThid)
23    > C-TRM       STOP 'ABNORMAL END: S/R CONFIG_CHECK'
24    > C-TRM     ENDIF
25    
26    
27  ##########################################################################  ##########################################################################
# Line 24  cvs co -r hrcube5 MITgcm/verification/gl Line 31  cvs co -r hrcube5 MITgcm/verification/gl
31  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
32  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
33  \cp ../../../utils/exch2/code-mods/s12t_16x32/* .  \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
   
34  cd ../build  cd ../build
35    \rm *
36  ../../../tools/genmake2 -mods=../code  ../../../tools/genmake2 -mods=../code
37  make depend  make depend
38  make  make
   
39  cd ..  cd ..
40  mkdir run  mkdir run
41  cd run  cd run
42    \rm *
43  \cp ../input/* .  \cp ../input/* .
44  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
45  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
# Line 43  comparison output is in: Line 50  comparison output is in:
50  to use matlab to look at the output  to use matlab to look at the output
51  matlab  matlab
52    
53  for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}  for fld={'VICEtave','UICEtave','HEFFtave','AREAtave','QSWtave', ...
54             'QNETtave','FVtave','FUtave','EmPmRtave'}
55      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]);
56      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
57  end  end
58    
59  heff=permute(readbin(['HEFF.0000000020.data'],[32,6,32]),[1 3 2]);  heff=permute(readbin(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]);
60  mask=0*heff; mask(find(heff>.001))=1;  mask=0*heff; mask(find(heff>.001))=1;
61  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]);
62  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]);
63  clf  clf
64  subplot(221), mypcolor(uice(:,:,3)'), colorbar, title('uice, tile 3')  subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3')
65  subplot(222), mypcolor(uice(:,:,6)'), colorbar, title('uice, tile 6')  subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6')
66  subplot(223), mypcolor(vice(:,:,3)'), colorbar, title('vice, tile 3')  subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3')
67  subplot(224), mypcolor(vice(:,:,6)'), colorbar, title('vice, tile 6')  subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6')
68    
69    
70    ##########################################################################
71    ##########################################################################
72    # 32*32*6*15, 17-tile, 1-cpu cube sphere experiment
73    
74    cd MITgcm/verification/global_ocean.cs32x15/code
75    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
76    \cp ../code_alt/code.176t_8x4/* .
77    cd ../build
78    \rm *
79    ../../../tools/genmake2 -mods=../code
80    make depend
81    make
82    cd ..
83    mkdir run
84    cd run
85    \rm *
86    \cp ../input/* .
87    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
88    ../build/mitgcmuv >& output.txt
89    
90    
91  ##########################################################################  ##########################################################################
92  ##########################################################################  ##########################################################################
93  # 32*32*6*15, 2-cpu cube sphere on the altices with efc  # 32*32*6*15, 2-cpu cube sphere on the altices with ifort
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/* .
# Line 70  cd MITgcm/verification/global_ocean.cs32 Line 99  cd MITgcm/verification/global_ocean.cs32
99    
100  cd ../build  cd ../build
101  \rm *  \rm *
102  ../../../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
103  make depend  make depend
104  make  make -j
105    
106  cd ..  cd ..
107  mkdir run  mkdir run
# Line 85  mpirun -np 2 ../build/mitgcmuv Line 114  mpirun -np 2 ../build/mitgcmuv
114    
115  ##########################################################################  ##########################################################################
116  ##########################################################################  ##########################################################################
117  # 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
118    # starting with pickup file from end of 1992
119    # requires input files in sudirectories run_template and ncep_rgau
120    
121    cd MITgcm/verification/global_ocean.cs32x15/code
122    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
123    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s54t_170x170/* .
124    \cp packages.conf_hr packages.conf
125    
126    cd ../build
127    \rm *
128    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
129    make depend
130    make -j
131    
132    cd ..
133    mkdir run
134    cd run
135    \rm *
136    \cp ../input/* .
137    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
138    qsub job_altix92_54t
139    
140    
141    ##########################################################################
142    ##########################################################################
143    # 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics
144    # requires input files in sudirectories run_template and ncep_rgau
145    # these can be obained from lou:/u/menemenl/cube
146    
147    cd MITgcm/verification/global_ocean.cs32x15/code
148    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
149    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
150    \cp SIZE.h_216 SIZE.h
151    \cp packages.conf_hr packages.conf
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 ..
160    mkdir run
161    cd run
162    \rm *
163    \cp ../input/* .
164    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
165    ln -sf ../../../../run_template/* .
166    \rm pickup*
167    ln -sf ../../../../run_template/pickup.0000000216.cube27 pickup.0000000216
168    ln -sf  ../../../../run_template/pickup_seaice.0000000216.cube27 pickup_seaice.0000000216
169    \cp ../build/mitgcmuv .
170    qsub job_altix
171    
172    
173    ##########################################################################
174    ##########################################################################
175    # 510*510*6*50, 1500-tile, 150-cpu, excludes land
176    # uses s1500t_17x51 configuration
177    
178    cd MITgcm/verification/global_ocean.cs32x15/code
179    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
180    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
181    \cp SIZE.h_150 SIZE.h
182    \cp packages.conf_hr packages.conf
183    
184    cd ../build
185    \rm *
186    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
187    make depend
188    make -j
189    
190    cd ..
191    mkdir run
192    cd run
193    \rm *
194    \cp ../input/* .
195    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
196    ln -sf ../../../../run_template/* .
197    \rm pickup*
198    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
199    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
200    \cp ../build/mitgcmuv mitgcmuv150
201    qsub job_altix150
202    
203    
204    
205    
206    ##########################################################################
207    ##########################################################################
208    # 510*510*6*50, 1500-tile, 375-cpu, excludes land
209    # uses s1500t_17x51 configuration
210    # example for running on c17-c20 using arrayd
211    
212    cd MITgcm/verification/global_ocean.cs32x15/code
213    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
214    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
215    \cp SIZE.h_375 SIZE.h
216    \cp packages.conf_hr packages.conf
217    
218    cd ../build
219    \rm *
220    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
221    make depend
222    make -j
223    
224    cd ..
225    mkdir run
226    cd run
227    \rm *
228    \cp ../input/* .
229    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
230    ln -sf ../../../../run_template/* .
231    \rm pickup*
232    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
233    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
234    \cp ../build/mitgcmuv .
235    job_c20_375cpu < /dev/null >&! output.run &
236    
237    
238    
239    
240    
241    
242    
243    
244    
245    
246    
247    
248    ##########################################################################
249    ##########################################################################
250    # 510*510*6*50, 1500-tile, 375-cpu, excludes land
251    # uses s1500t_17x51 configuration
252    # example for running on c17-c20 using arrayd
253    
254    cd MITgcm/verification/global_ocean.cs32x15/code
255    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
256    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
257    \cp SIZE.h_375 SIZE.h
258    \cp packages.conf_hr packages.conf
259    
260    cd ../build
261    \rm *
262    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
263    make depend
264    make -j
265    
266    cd ..
267    mkdir run
268    cd run
269    \rm *
270    \cp ../input/* .
271    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
272    ln -sf ../../../../run_template/* .
273    \rm pickup*
274    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
275    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
276    \cp ../build/mitgcmuv .
277    job_c20_375cpu < /dev/null >&! output.run &
278    
279    
280    ##########################################################################
281    ##########################################################################
282    # 510*510*6*50, 1500-tile, 500-cpu, excludes land
283    # uses s1500t_17x51 configuration
284    # example for running on c17-c20 using arrayd
285    
286    cd MITgcm/verification/global_ocean.cs32x15/code
287    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
288    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
289    \cp SIZE.h_500 SIZE.h
290    \cp packages.conf_hr packages.conf
291    
292    cd ../build
293    \rm *
294    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
295    make depend
296    make -j
297    
298    cd ..
299    mkdir run
300    cd run
301    \rm *
302    \cp ../input/* .
303    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
304    ln -sf ../../../../run_template/* .
305    \rm pickup*
306    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
307    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
308    \cp ../build/mitgcmuv .
309    job_c19_500cpu < /dev/null >&! output.run &
310    
311    
312    
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    
353    
354    
355    
356    
357    
358    
359    
360    
361    
362    
363    
364    
365    
366    
367    
368    ##########################################################################
369    ##########################################################################
370    # 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc
371  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
372  # presently residing under orion:/tmp1/dmenem/cube  # presently residing under orion:/tmp1/dmenem/cube
373    
# Line 97  cd MITgcm/verification/global_ocean.cs32 Line 379  cd MITgcm/verification/global_ocean.cs32
379    
380  cd ../build  cd ../build
381  \rm *  \rm *
382  ../../../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
383  make depend  make depend
384  make  make -j
385    
386  cd ..  cd ..
387  mkdir run  mkdir run
# Line 124  cd MITgcm/verification/global_ocean.cs32 Line 406  cd MITgcm/verification/global_ocean.cs32
406    
407  cd ../build  cd ../build
408  \rm *  \rm *
409  ../../../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
410  make depend  make depend
411  make  make -j
412    
413  cd ..  cd ..
414  mkdir run  mkdir run
# Line 139  qsub job_orion41 Line 421  qsub job_orion41
421    
422  ##########################################################################  ##########################################################################
423  ##########################################################################  ##########################################################################
424  # 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
425  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
426  # these can be obained from lou:/u/menemenl/cube  # presently residing under orion:/tmp1/dmenem/cube
427    
428  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
429  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
430  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
431  \cp SIZE.h_216 SIZE.h  \cp SIZE.h_50 SIZE.h
432  \cp packages.conf_hr packages.conf  \cp packages.conf_hr packages.conf
433    
434  cd ../build  cd ../build
435  \rm *  \rm *
436  ../../../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
437  make depend  make depend
438  make  make -j
439    
440  cd ..  cd ..
441  mkdir run  mkdir run
# Line 161  cd run Line 443  cd run
443  \rm *  \rm *
444  \cp ../input/* .  \cp ../input/* .
445  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
446  qsub job_altix  qsub job_orion
   
   
 ##########################################################################  
 ##########################################################################  
 # matlab script for generating pChkptFreq  
   
 nTimeSteps=26352;  
 for niter0=216:26352:(26352*12)  
  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  
 niter0 = 290088, day = 4395, 13-Jan-2004, pChkptFreq = 379728000  

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.62

  ViewVC Help
Powered by ViewVC 1.1.22