/[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.9 by dimitri, Sun Dec 14 02:06:15 2003 UTC revision 1.56 by dimitri, Mon Feb 21 21:53:46 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: December 11, 2003.  Date last updated: February 17, 2005
3    Code and input used for integrating cube22.
4    
5    
6  ##########################################################################  ##########################################################################
7  ##########################################################################  ##########################################################################
8  # 32*32*6*15, 1-cpu cube sphere  # getting the code from anonymous CVS server
9    
10    cvs co MITgcm_contrib/high_res_cube/README_ice
11    cvs co MITgcm_contrib/high_res_cube/code-mods
12    cvs co MITgcm_contrib/high_res_cube/input
13    cvs co MITgcm_contrib/high_res_cube/results
14    cvs co MITgcm_code
15    cvs co MITgcm/verification/global_ocean.cs32x15
16    cvs co MITgcm/verification/testreport
17    
18  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  
19  cvs login ( CVS password: cvsanon )  ##########################################################################
20  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice  ##########################################################################
21  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods  # 32*32*6*15, 1-cpu cube sphere
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter  
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input  
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results  
 cvs co -r checkpoint52d_pre MITgcm_code  
 cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15  
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  \rm mdsio_readfield.F  cd ../build
27    \rm *
28  cd ..  ../../../tools/genmake2 -mods=../code
 mkdir build  
 cd build  
 ../code/genmake2 -mods=../code  
29  make depend  make depend
30  make  make
   
31  cd ..  cd ..
32  mkdir run  mkdir run
33  cd run  cd run
34  \cp ../inp_thsice/* .  \rm *
35  \cp ../input/* .  \cp ../input/* .
 \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  
36  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
37  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
38    
# Line 42  comparison output is in: Line 41  comparison output is in:
41    
42  to use matlab to look at the output  to use matlab to look at the output
43  matlab  matlab
44  for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}  
45    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(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]);
52    mask=0*heff; mask(find(heff>.001))=1;
53    uice=mask.*permute(readbin(['UICEtave.0000000020.data'],[32,6,32]),[1 3 2]);
54    vice=mask.*permute(readbin(['VICEtave.0000000020.data'],[32,6,32]),[1 3 2]);
55    clf
56    subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3')
57    subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6')
58    subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3')
59    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
67    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
68    \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  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  ##########################################################################
84  cvs login ( CVS password: cvsanon )  ##########################################################################
85  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice  # 32*32*6*15, 2-cpu cube sphere on the altices with ifort
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods  
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter  
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input  
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results  
 cvs co -r checkpoint52d_pre MITgcm_code  
 cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15  
86    
87  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
88  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
89  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .  \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
90  \cp SIZE.h_mpi SIZE.h  \cp SIZE.h_mpi SIZE.h
 \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h  
 \rm mdsio_readfield.F  
91    
92  cd ..  cd ../build
93  mkdir build  \rm *
94  cd build  ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
 ../code/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi  
95  make depend  make depend
96  make  make -j
97    
98  cd ..  cd ..
99  mkdir run  mkdir run
100  cd run  cd run
101  \cp ../inp_thsice/* .  \rm *
102  \cp ../input/* .  \cp ../input/* .
 \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  
103  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
104  mpirun -np 2 ../build/mitgcmuv  mpirun -np 2 ../build/mitgcmuv
105    
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  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  
133  cvs login ( CVS password: cvsanon )  ##########################################################################
134  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice  ##########################################################################
135  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods  # 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics
136  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter  # requires input files in sudirectories run_template and ncep_rgau
137  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input  # these can be obained from lou:/u/menemenl/cube
 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results  
 cvs co -r checkpoint52d_pre MITgcm_code  
 cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15  
138    
139  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
140  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
141  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
142  \cp SIZE.h_54 SIZE.h  \cp SIZE.h_216 SIZE.h
143  \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h  \cp packages.conf_hr packages.conf
 \rm mdsio_readfield.F  
144    
145  cd ..  cd ../build
146  mkdir build  \rm *
147  cd build  ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas
 ../code/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi  
148  make depend  make depend
149  make  make -j
150    
151  cd ..  cd ..
152  mkdir run  mkdir run
153  cd run  cd run
154  \cp ../inp_thsice/* .  \rm *
155  \cp ../input/* .  \cp ../input/* .
156  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
157  \cp data_hr data  ln -sf ../../../../run_template/* .
158  \ln -sf ../../../../run_template/tile00* .  \rm pickup*
159  \ln -sf ../../../../run_template/LEV* .  ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data
160  \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .  ln -sf  ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data
161  qsub job_orion  \cp ../build/mitgcmuv .
162    qsub job_altix92
163    
164    
165  ##########################################################################  ##########################################################################
166  ##########################################################################  ##########################################################################
167  # 510*510*6*50, 216-cpu cube sphere on the altices with efc  # 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_c17_c20 < /dev/null >&! output.run &
195    
196  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  
197  cvs login ( CVS password: cvsanon )  
198  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice  
199  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods  
200  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter  
201  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input  
202  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results  
203  cvs co -r checkpoint52d_pre MITgcm_code  
204  cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15  
205    
206    
207    
208    
209    
210    
211    
212    
213    
214    
215    
216    
217    
218    
219    ##########################################################################
220    ##########################################################################
221    # 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc
222    # requires input files in sudirectories run_template and ncep_rgau
223    # presently residing under orion:/tmp1/dmenem/cube
224    
225  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
226  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
227  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
228  \cp SIZE.h_216 SIZE.h  \cp SIZE.h_54 SIZE.h
229  \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h  \cp packages.conf_hr packages.conf
230  \rm mdsio_readfield.F  
231    cd ../build
232    \rm *
233    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
234    make depend
235    make -j
236    
237  cd ..  cd ..
238  mkdir build  mkdir run
239  cd build  cd run
240  ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi  \rm *
241    \cp ../input/* .
242    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
243    qsub job_orion
244    
245    
246    ##########################################################################
247    ##########################################################################
248    # 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc
249    # requires input files in sudirectories run_template and ncep_rgau
250    # presently residing under orion:/tmp1/dmenem/cube
251    
252    cd MITgcm/verification/global_ocean.cs32x15/code
253    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
254    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* .
255    \cp SIZE.h_41 SIZE.h
256    \cp packages.conf_hr packages.conf
257    
258    cd ../build
259    \rm *
260    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
261  make depend  make depend
262  make  make -j
263    
264    cd ..
265    mkdir run
266    cd run
267    \rm *
268    \cp ../input/* .
269    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
270    qsub job_orion41
271    
272    
273    ##########################################################################
274    ##########################################################################
275    # 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc
276    # requires input files in sudirectories run_template and ncep_rgau
277    # presently residing under orion:/tmp1/dmenem/cube
278    
279    cd MITgcm/verification/global_ocean.cs32x15/code
280    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
281    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
282    \cp SIZE.h_50 SIZE.h
283    \cp packages.conf_hr packages.conf
284    
285    cd ../build
286    \rm *
287    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
288    make depend
289    make -j
290    
291  cd ..  cd ..
292  mkdir run  mkdir run
293  cd run  cd run
294  \cp ../inp_thsice/* .  \rm *
295  \cp ../input/* .  \cp ../input/* .
296  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
 \cp data_hr data  
 \cp data.pkg_hr data.pkg  
 \ln -sf ../../../../run_template/tile00* .  
 \ln -sf ../../../../run_template/LEV* .  
 \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .  
297  qsub job_orion  qsub job_orion

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.56

  ViewVC Help
Powered by ViewVC 1.1.22