/[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.3 by dimitri, Mon Nov 24 01:04:28 2003 UTC revision 1.72 by dimitri, Sun Oct 15 17:38:42 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.
 Date last tested: November 21, 2003.  
2    
3  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  =================
4  cvs login ( CVS password: cvsanon )  UPDATES
5    
6    October 15, 2006: 216-CPU code for cube40
7    
8    September 28, 2006: 216-CPU code for cube38
9    
10    September 4, 2006
11    Modified 32*32*6*15 experiments to use grid_cs32.* files from
12     verification/tutorial_held_suarez_cs/input instead of
13     tile* files from verification/global_ocean.cs32x15/input
14    
15    August 8, 2006: 216-CPU code and input used for cube37
16    using "June 10, 2006" MITgcm code.
17    
18    for online T/S profile diagnostics all that is needed is
19      profiles_init_fixed
20      profiles_inloop
21    see pkg/ecco/ecco_cost_init_fixed.F
22        pkg/ecco/cost_averagesfields.F
23    
24    
25    ##########################################################################
26    ##########################################################################
27    # getting the code from anonymous CVS server
28    #
29    
30      bash or sh shell:
31        $ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack'
32        $ cvs login
33          ( enter the CVS password: "cvsanon" )
34    
35      tcsh or csh shell:
36        $ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack'
37        $ cvs login
38          ( enter the CVS password: "cvsanon" )
39    
40  cvs co MITgcm_contrib/high_res_cube/README_ice  cvs co MITgcm_contrib/high_res_cube/README_ice
41  cvs co MITgcm_contrib/high_res_cube/code-mods  cvs co MITgcm_contrib/high_res_cube/code-mods
 cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter  
42  cvs co MITgcm_contrib/high_res_cube/input  cvs co MITgcm_contrib/high_res_cube/input
43  cvs co MITgcm_contrib/high_res_cube/results  cvs co MITgcm_contrib/high_res_cube/results
44    cvs co MITgcm_code
45    cvs co MITgcm/verification/global_ocean.cs32x15
46    cvs co MITgcm/verification/tutorial_held_suarez_cs/input
47    
 cvs co -r checkpoint52a_post MITgcm_code  
 cvs co -r checkpoint52a_post MITgcm/verification/global_ocean.cs32x15  
48    
49  cd MITgcm/verification/global_ocean.cs32x15/code  ##########################################################################
50  cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  ##########################################################################
51  cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .  # 32*32*6*15, 1-cpu cube sphere
 \rm mdsio_readfield.F  
52    
53  cd ..  cd MITgcm/verification/global_ocean.cs32x15/code
54  mkdir build  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
55  cd build  \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
56  ../code/genmake2 -mods=../code  cd ../build
57    \rm *
58    ../../../tools/genmake2 -mods=../code
59  make depend  make depend
60  make  make
   
61  cd ..  cd ..
62  mkdir run  mkdir run
63  cd run  cd run
64  cp ../input/* .  \rm *
65  cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  \cp ../../tutorial_held_suarez_cs/input/grid* .
66  cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../input/* .
67    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
68  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
69    
70  comparison output is in:  comparison output is in:
71  ../../../../MITgcm_contrib/high_res_cube/results/output.txt  ../../../../MITgcm_contrib/high_res_cube/results/output.txt
72    
   
73  to use matlab to look at the output  to use matlab to look at the output
74  matlab  matlab
75  eta=permute(readbin('Eta.0000072020.data',[32,6,32]),[1 3 2]);  
76  cx=[-1 1]; clf  for fld={'VICEtave','UICEtave','HEFFtave','AREAtave','QSWtave', ...
77  subplot(3,4, 9);imagesc(flipud(eta(:,:,1)'));caxis(cx);colorbar           'QNETtave','FVtave','FUtave','EmPmRtave'}
78  subplot(3,4,10);imagesc(flipud(eta(:,:,2)'));caxis(cx);colorbar      tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);
79  subplot(3,4, 6);imagesc(flipud(eta(:,:,3)'));caxis(cx);colorbar      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
80  subplot(3,4, 7);imagesc(flipud(eta(:,:,4)'));caxis(cx);colorbar  end
81  subplot(3,4, 3);imagesc(flipud(eta(:,:,5)'));caxis(cx);colorbar  
82  subplot(3,4, 4);imagesc(flipud(eta(:,:,6)'));caxis(cx);colorbar  heff=permute(readbin(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]);
83    mask=0*heff; mask(find(heff>.001))=1;
84    uice=mask.*permute(readbin(['UICEtave.0000000020.data'],[32,6,32]),[1 3 2]);
85    vice=mask.*permute(readbin(['VICEtave.0000000020.data'],[32,6,32]),[1 3 2]);
86    clf
87    subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3')
88    subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6')
89    subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3')
90    subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6')
91    
92    
93    ##########################################################################
94    ##########################################################################
95    # 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics
96    # requires input files in sudirectories run_template and ncep_rgau
97    # these can be obained from lou:/u/menemenl/cube
98    
99    cd MITgcm/verification/global_ocean.cs32x15/code
100    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
101    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
102    \cp SIZE.h_216 SIZE.h
103    \cp packages.conf_hr packages.conf
104    
105    cd ../build
106    \rm *
107    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
108    make depend
109    make -j
110    
111    cd ..
112    mkdir run
113    cd run
114    \rm *
115    \cp ../input/* .
116    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
117    ln -sf ../../../../run_template/* .
118    \rm pickup* data.pkg data.seaice data.exf_clim data.exf data bathy_Hmin50.bin
119    \rm *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t
120    ln -sf ../../../../run_template/pickup.0000000216.cube38 pickup.0000000216
121    ln -sf  ../../../../run_template/pickup_seaice.0000000216.cube38 pickup_seaice.0000000216
122    \cp ../build/mitgcmuv .
123    qsub job_altix
124    
125    
126    ##########################################################################
127    ##########################################################################
128    # 32*32*6*15, 17-tile, 1-cpu cube sphere experiment
129    
130    cd MITgcm/verification/global_ocean.cs32x15/code
131    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
132    \cp ../code_alt/code.176t_8x4/* .
133    cd ../build
134    \rm *
135    ../../../tools/genmake2 -mods=../code
136    make depend
137    make
138    cd ..
139    mkdir run
140    cd run
141    \rm *
142    \cp ../../tutorial_held_suarez_cs/input/grid* .
143    \cp ../input/* .
144    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
145    ../build/mitgcmuv >& output.txt
146    
147    
148    ##########################################################################
149    ##########################################################################
150    # 32*32*6*15, 2-cpu cube sphere on the altices with ifort
151    
152    cd MITgcm/verification/global_ocean.cs32x15/code
153    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
154    \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
155    \cp SIZE.h_mpi SIZE.h
156    
157    cd ../build
158    \rm *
159    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
160    make depend
161    make -j
162    
163    cd ..
164    mkdir run
165    cd run
166    \rm *
167    \cp ../../tutorial_held_suarez_cs/input/grid* .
168    \cp ../input/* .
169    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
170    mpirun -np 2 ../build/mitgcmuv
171    
172    
173    ##########################################################################
174    ##########################################################################
175    # 510*510*6*50, 54-tile, 54-cpu cube sphere on the altices with efc
176    # starting with pickup file from end of 1992
177    # requires input files in sudirectories run_template and ncep_rgau
178    
179    cd MITgcm/verification/global_ocean.cs32x15/code
180    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
181    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s54t_170x170/* .
182    \cp packages.conf_hr packages.conf
183    
184    cd ../build
185    \rm *
186    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
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    qsub job_altix92_54t
197    
198    
199    ##########################################################################
200    ##########################################################################
201    # 510*510*6*50, 1500-tile, 150-cpu, excludes land
202    # uses s1500t_17x51 configuration
203    
204    cd MITgcm/verification/global_ocean.cs32x15/code
205    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
206    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
207    \cp SIZE.h_150 SIZE.h
208    \cp packages.conf_hr packages.conf
209    
210    cd ../build
211    \rm *
212    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
213    make depend
214    make -j
215    
216    cd ..
217    mkdir run
218    cd run
219    \rm *
220    \cp ../input/* .
221    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
222    ln -sf ../../../../run_template/* .
223    \rm pickup*
224    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
225    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
226    \cp ../build/mitgcmuv mitgcmuv150
227    qsub job_altix150
228    
229    
230    ##########################################################################
231    ##########################################################################
232    # 510*510*6*50, 1500-tile, 375-cpu, excludes land
233    # uses s1500t_17x51 configuration
234    # example for running on c17-c20 using arrayd
235    
236    cd MITgcm/verification/global_ocean.cs32x15/code
237    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
238    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
239    \cp SIZE.h_375 SIZE.h
240    \cp packages.conf_hr packages.conf
241    
242    cd ../build
243    \rm *
244    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
245    make depend
246    make -j
247    
248    cd ..
249    mkdir run
250    cd run
251    \rm *
252    \cp ../input/* .
253    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
254    ln -sf ../../../../run_template/* .
255    \rm pickup*
256    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
257    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
258    \cp ../build/mitgcmuv .
259    job_c20_375cpu < /dev/null >&! output.run &
260    
261    
262    ##########################################################################
263    ##########################################################################
264    # 510*510*6*50, 1500-tile, 375-cpu, excludes land
265    # uses s1500t_17x51 configuration
266    # example for running on c17-c20 using arrayd
267    
268    cd MITgcm/verification/global_ocean.cs32x15/code
269    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
270    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
271    \cp SIZE.h_375 SIZE.h
272    \cp packages.conf_hr packages.conf
273    
274    cd ../build
275    \rm *
276    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
277    make depend
278    make -j
279    
280    cd ..
281    mkdir run
282    cd run
283    \rm *
284    \cp ../input/* .
285    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
286    ln -sf ../../../../run_template/* .
287    \rm pickup*
288    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
289    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
290    \cp ../build/mitgcmuv .
291    job_c20_375cpu < /dev/null >&! output.run &
292    
293    
294    ##########################################################################
295    ##########################################################################
296    # 510*510*6*50, 1500-tile, 500-cpu, excludes land
297    # uses s1500t_17x51 configuration
298    # example for running on c17-c20 using arrayd
299    
300    cd MITgcm/verification/global_ocean.cs32x15/code
301    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
302    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
303    \cp SIZE.h_500 SIZE.h
304    \cp packages.conf_hr packages.conf
305    
306    cd ../build
307    \rm *
308    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
309    make depend
310    make -j
311    
312    cd ..
313    mkdir run
314    cd run
315    \rm *
316    \cp ../input/* .
317    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
318    ln -sf ../../../../run_template/* .
319    \rm pickup*
320    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
321    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
322    \cp ../build/mitgcmuv .
323    job_c19_500cpu < /dev/null >&! output.run &
324    
325    
326    ##########################################################################
327    ##########################################################################
328    # 510*510*6*50, 216-cpu cube sphere on cosmos
329    
330    cd MITgcm/verification/global_ocean.cs32x15/code
331    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
332    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
333    \cp SIZE.h_216 SIZE.h
334    \cp packages.conf_hr packages.conf
335    
336    module unload latest_intel80
337    module unload mpich-gm-intel80
338    module load latest_intel81
339    module load mpich-gm-intel81
340    
341    cd ../build
342    \rm *
343    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia32_ifort+mpi_cosmos
344    make depend
345    make -j
346    
347    cd ..
348    mkdir run
349    cd run
350    \rm *
351    \cp ../input/* .
352    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
353    ln -sf ../../../../run_template/* .
354    \rm pickup*
355    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216
356    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216
357    \cp ../build/mitgcmuv .
358    bsub < job_cosmos
359    
360    
361    ##########################################################################
362    ##########################################################################
363    # 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc
364    # requires input files in sudirectories run_template and ncep_rgau
365    # presently residing under orion:/tmp1/dmenem/cube
366    
367    cd MITgcm/verification/global_ocean.cs32x15/code
368    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
369    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
370    \cp SIZE.h_54 SIZE.h
371    \cp packages.conf_hr packages.conf
372    
373    cd ../build
374    \rm *
375    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
376    make depend
377    make -j
378    
379    cd ..
380    mkdir run
381    cd run
382    \rm *
383    \cp ../input/* .
384    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
385    qsub job_orion
386    
387    
388    ##########################################################################
389    ##########################################################################
390    # 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc
391    # requires input files in sudirectories run_template and ncep_rgau
392    # presently residing under orion:/tmp1/dmenem/cube
393    
394    cd MITgcm/verification/global_ocean.cs32x15/code
395    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
396    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* .
397    \cp SIZE.h_41 SIZE.h
398    \cp packages.conf_hr packages.conf
399    
400    cd ../build
401    \rm *
402    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
403    make depend
404    make -j
405    
406    cd ..
407    mkdir run
408    cd run
409    \rm *
410    \cp ../input/* .
411    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
412    qsub job_orion41
413    
414    
415    ##########################################################################
416    ##########################################################################
417    # 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc
418    # requires input files in sudirectories run_template and ncep_rgau
419    # presently residing under orion:/tmp1/dmenem/cube
420    
421    cd MITgcm/verification/global_ocean.cs32x15/code
422    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
423    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
424    \cp SIZE.h_50 SIZE.h
425    \cp packages.conf_hr packages.conf
426    
427    cd ../build
428    \rm *
429    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
430    make depend
431    make -j
432    
433    cd ..
434    mkdir run
435    cd run
436    \rm *
437    \cp ../input/* .
438    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
439    qsub job_orion

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.72

  ViewVC Help
Powered by ViewVC 1.1.22