/[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.32 by dimitri, Wed Mar 10 04:49:51 2004 UTC revision 1.57 by dimitri, Tue Feb 22 01:20:54 2005 UTC
# Line 1  Line 1 
1  Instructions for setting up a cube-sphere integration with sea-ice.  daInstructions for setting up a cube-sphere integration with sea-ice.
2  Date last tested: March 9, 2004.  Date last updated: February 17, 2005
3  Code and input used for integrating cube5.  Code and input used for integrating cube22.
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  cvs co MITgcm/verification/testreport
 cvs co -r hrcube5 MITgcm/verification/global_ocean.cs32x15  
17    
18    
19  ##########################################################################  ##########################################################################
# Line 23  cvs co -r hrcube5 MITgcm/verification/gl Line 22  cvs co -r hrcube5 MITgcm/verification/gl
22    
23  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
24  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
25  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .  \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
   
26  cd ../build  cd ../build
27    \rm *
28  ../../../tools/genmake2 -mods=../code  ../../../tools/genmake2 -mods=../code
29  make depend  make depend
 \rm getcon.F  
30  make  make
   
31  cd ..  cd ..
32  mkdir run  mkdir run
33  cd run  cd run
34    \rm *
35  \cp ../input/* .  \cp ../input/* .
36  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
37  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
# Line 44  comparison output is in: Line 42  comparison output is in:
42  to use matlab to look at the output  to use matlab to look at the output
43  matlab  matlab
44    
45  for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}  for fld={'VICEtave','UICEtave','HEFFtave','AREAtave','QSWtave', ...
46             'QNETtave','FVtave','FUtave','EmPmRtave'}
47      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]);
48      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
49  end  end
50    
51  heff=permute(readbin(['HEFF.0000000020.data'],[32,6,32]),[1 3 2]);  heff=permute(readbin(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]);
52  mask=0*heff; mask(find(heff>.001))=1;  mask=0*heff; mask(find(heff>.001))=1;
53  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]);
54  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]);
55  clf  clf
56  subplot(221), mypcolor(uice(:,:,3)'), colorbar, title('uice, tile 3')  subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3')
57  subplot(222), mypcolor(uice(:,:,6)'), colorbar, title('uice, tile 6')  subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6')
58  subplot(223), mypcolor(vice(:,:,3)'), colorbar, title('vice, tile 3')  subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3')
59  subplot(224), mypcolor(vice(:,:,6)'), colorbar, title('vice, tile 6')  subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6')
60    
61    
62  ##########################################################################  ##########################################################################
63  ##########################################################################  ##########################################################################
64  # 32*32*6*15, 2-cpu cube sphere on the altices with efc  # 32*32*6*15, 17-tile, 1-cpu cube sphere experiment
65    
66  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
67  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
68  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .  \cp ../code_alt/code.176t_8x4/* .
69    cd ../build
70    \rm *
71    ../../../tools/genmake2 -mods=../code
72    make depend
73    make
74    cd ..
75    mkdir run
76    cd run
77    \rm *
78    \cp ../input/* .
79    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
80    ../build/mitgcmuv >& output.txt
81    
82    
83    ##########################################################################
84    ##########################################################################
85    # 32*32*6*15, 2-cpu cube sphere on the altices with ifort
86    
87    cd MITgcm/verification/global_ocean.cs32x15/code
88    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
89    \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
90  \cp SIZE.h_mpi SIZE.h  \cp SIZE.h_mpi SIZE.h
91    
92  cd ../build  cd ../build
93  \rm *  \rm *
94  ../../../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
95  make depend  make depend
96  \rm getcon.F  make -j
 make  
97    
98  cd ..  cd ..
99  mkdir run  mkdir run
# Line 87  mpirun -np 2 ../build/mitgcmuv Line 106  mpirun -np 2 ../build/mitgcmuv
106    
107  ##########################################################################  ##########################################################################
108  ##########################################################################  ##########################################################################
109  # 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
110    # starting with pickup file from end of 1992
111    # 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    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
121    make depend
122    make -j
123    
124    cd ..
125    mkdir run
126    cd run
127    \rm *
128    \cp ../input/* .
129    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
130    qsub job_altix92_54t
131    
132    
133    ##########################################################################
134    ##########################################################################
135    # 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics
136    # requires input files in sudirectories run_template and ncep_rgau
137    # these can be obained from lou:/u/menemenl/cube
138    
139    cd MITgcm/verification/global_ocean.cs32x15/code
140    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
141    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
142    \cp SIZE.h_216 SIZE.h
143    \cp packages.conf_hr packages.conf
144    
145    cd ../build
146    \rm *
147    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
148    make depend
149    make -j
150    
151    cd ..
152    mkdir run
153    cd run
154    \rm *
155    \cp ../input/* .
156    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
157    ln -sf ../../../../run_template/* .
158    \rm pickup*
159    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data
160    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data
161    \cp ../build/mitgcmuv .
162    qsub job_altix
163    
164    
165    ##########################################################################
166    ##########################################################################
167    # 510*510*6*50, 1500-tile, 375-cpu, excludes land
168    # uses s1500t_17x51 configuration
169    # example for running on c17-c20 using arrayd
170    
171    cd MITgcm/verification/global_ocean.cs32x15/code
172    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
173    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
174    \cp SIZE.h_375 SIZE.h
175    \cp packages.conf_hr packages.conf
176    
177    cd ../build
178    \rm *
179    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
180    make depend
181    make -j
182    
183    cd ..
184    mkdir run
185    cd run
186    \rm *
187    \cp ../input/* .
188    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
189    ln -sf ../../../../run_template/* .
190    \rm pickup*
191    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data
192    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data
193    \cp ../build/mitgcmuv .
194    job_c20_375cpu < /dev/null >&! output.run &
195    
196    
197    ##########################################################################
198    ##########################################################################
199    # 510*510*6*50, 1500-tile, 500-cpu, excludes land
200    # uses s1500t_17x51 configuration
201    # example for running on c17-c20 using arrayd
202    
203    cd MITgcm/verification/global_ocean.cs32x15/code
204    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
205    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
206    \cp SIZE.h_500 SIZE.h
207    \cp packages.conf_hr packages.conf
208    
209    cd ../build
210    \rm *
211    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
212    make depend
213    make -j
214    
215    cd ..
216    mkdir run
217    cd run
218    \rm *
219    \cp ../input/* .
220    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
221    ln -sf ../../../../run_template/* .
222    \rm pickup*
223    ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data
224    ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data
225    \cp ../build/mitgcmuv .
226    job_c19_500cpu < /dev/null >&! output.run &
227    
228    
229    
230    
231    
232    
233    
234    
235    
236    
237    
238    
239    
240    
241    
242    
243    
244    
245    
246    
247    
248    
249    
250    
251    ##########################################################################
252    ##########################################################################
253    # 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc
254  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
255  # presently residing under orion:/tmp1/dmenem/cube  # presently residing under orion:/tmp1/dmenem/cube
256    
# Line 99  cd MITgcm/verification/global_ocean.cs32 Line 262  cd MITgcm/verification/global_ocean.cs32
262    
263  cd ../build  cd ../build
264  \rm *  \rm *
265  ../../../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
266  make depend  make depend
267  \rm getcon.F  make -j
 make  
268    
269  cd ..  cd ..
270  mkdir run  mkdir run
# Line 127  cd MITgcm/verification/global_ocean.cs32 Line 289  cd MITgcm/verification/global_ocean.cs32
289    
290  cd ../build  cd ../build
291  \rm *  \rm *
292  ../../../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
293  make depend  make depend
294  \rm getcon.F  make -j
 make  
295    
296  cd ..  cd ..
297  mkdir run  mkdir run
# Line 143  qsub job_orion41 Line 304  qsub job_orion41
304    
305  ##########################################################################  ##########################################################################
306  ##########################################################################  ##########################################################################
307  # 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
308  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
309  # these can be obained from lou:/u/menemenl/cube  # presently residing under orion:/tmp1/dmenem/cube
310    
311  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
312  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
313  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
314  \cp SIZE.h_216 SIZE.h  \cp SIZE.h_50 SIZE.h
315  \cp packages.conf_hr packages.conf  \cp packages.conf_hr packages.conf
316    
317  cd ../build  cd ../build
318  \rm *  \rm *
319  ../../../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
320  make depend  make depend
321  \rm getcon.F  make -j
 make  
322    
323  cd ..  cd ..
324  mkdir run  mkdir run
# Line 166  cd run Line 326  cd run
326  \rm *  \rm *
327  \cp ../input/* .  \cp ../input/* .
328  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
329  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.32  
changed lines
  Added in v.1.57

  ViewVC Help
Powered by ViewVC 1.1.22