/[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.38 by dimitri, Sun Jun 27 21:05:37 2004 UTC revision 1.55 by dimitri, Mon Feb 21 19:15:01 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 28, 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  ##########################################################################  ##########################################################################
# Line 11  cvs co MITgcm_contrib/high_res_cube/READ Line 11  cvs co MITgcm_contrib/high_res_cube/READ
11  cvs co MITgcm_contrib/high_res_cube/code-mods  cvs co MITgcm_contrib/high_res_cube/code-mods
12  cvs co MITgcm_contrib/high_res_cube/input  cvs co MITgcm_contrib/high_res_cube/input
13  cvs co MITgcm_contrib/high_res_cube/results  cvs co MITgcm_contrib/high_res_cube/results
 cvs co MITgcm_contrib/edge_problem  
14  cvs co MITgcm_code  cvs co MITgcm_code
15  cvs co MITgcm/verification/global_ocean.cs32x15  cvs co MITgcm/verification/global_ocean.cs32x15
16    cvs co MITgcm/verification/testreport
17    
18    
19  ##########################################################################  ##########################################################################
# Line 42  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  ##########################################################################  ##########################################################################
# Line 78  cd run Line 79  cd run
79  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
80  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
81    
 comparison output is in:  
 ../../../../MITgcm_contrib/high_res_cube/results/output.txt  
   
 to use matlab to look at the output  
 matlab  
   
 for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}  
     tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);  
     cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause  
 end  
   
 heff=permute(readbin(['HEFF.0000000020.data'],[32,6,32]),[1 3 2]);  
 mask=0*heff; mask(find(heff>.001))=1;  
 uice=mask.*permute(readbin(['UICE.0000000020.data'],[32,6,32]),[1 3 2]);  
 vice=mask.*permute(readbin(['VICE.0000000020.data'],[32,6,32]),[1 3 2]);  
 clf  
 subplot(221), mypcolor(uice(:,:,3)'), colorbar, title('uice, tile 3')  
 subplot(222), mypcolor(uice(:,:,6)'), colorbar, title('uice, tile 6')  
 subplot(223), mypcolor(vice(:,:,3)'), colorbar, title('vice, tile 3')  
 subplot(224), mypcolor(vice(:,:,6)'), colorbar, title('vice, tile 6')  
   
82    
83  ##########################################################################  ##########################################################################
84  ##########################################################################  ##########################################################################
# Line 111  cd MITgcm/verification/global_ocean.cs32 Line 91  cd MITgcm/verification/global_ocean.cs32
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  make  make -j
97    
98  cd ..  cd ..
99  mkdir run  mkdir run
# Line 126  mpirun -np 2 ../build/mitgcmuv Line 106  mpirun -np 2 ../build/mitgcmuv
106    
107  ##########################################################################  ##########################################################################
108  ##########################################################################  ##########################################################################
109  # 510*510*6*50, 216-tile, 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  # requires input files in sudirectories run_template and ncep_rgau
 # presently residing under orion:/tmp1/dmenem/cube  
112    
113  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
114  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
115  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s54t_170x170/* .
 \cp SIZE.h_54 SIZE.h  
116  \cp packages.conf_hr packages.conf  \cp packages.conf_hr packages.conf
117    
118  cd ../build  cd ../build
119  \rm *  \rm *
120  ../../../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
121  make depend  make depend
122  make  make -j
123    
124  cd ..  cd ..
125  mkdir run  mkdir run
# Line 148  cd run Line 127  cd run
127  \rm *  \rm *
128  \cp ../input/* .  \cp ../input/* .
129  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
130  qsub job_orion  qsub job_altix92_54t
131    
132    
133  ##########################################################################  ##########################################################################
134  ##########################################################################  ##########################################################################
135  # 510*510*6*50, 54-tile, 54-cpu cube sphere on the altices with efc  # 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics
 # starting with pickup file from end of 1992  
136  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
137  # presently residing under orion:/tmp1/dmenem/cube  # these can be obained from lou:/u/menemenl/cube
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/s54t_170x170/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
142    \cp SIZE.h_216 SIZE.h
143  \cp packages.conf_hr packages.conf  \cp packages.conf_hr packages.conf
144    
145  cd ../build  cd ../build
146  \rm *  \rm *
147  ../../../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
148  make depend  make depend
149  make  make -j
150    
151  cd ..  cd ..
152  mkdir run  mkdir run
# Line 175  cd run Line 154  cd run
154  \rm *  \rm *
155  \cp ../input/* .  \cp ../input/* .
156  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
157  qsub job_altix93_newIO  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_altix92
163    
164    
165    
166    
167    
168    
169    
170    
171    
172    
173    
174    
175    
176    
177    
178    
179    
180    
181    
182    
183    
184    
185    
186  ##########################################################################  ##########################################################################
187  ##########################################################################  ##########################################################################
188  # 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc  # 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc
189  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
190  # presently residing under orion:/tmp1/dmenem/cube  # presently residing under orion:/tmp1/dmenem/cube
191    
192  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
193  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
194  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
195  \cp SIZE.h_41 SIZE.h  \cp SIZE.h_54 SIZE.h
196  \cp packages.conf_hr packages.conf  \cp packages.conf_hr packages.conf
197    
198  cd ../build  cd ../build
199  \rm *  \rm *
200  ../../../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
201  make depend  make depend
202  make  make -j
203    
204  cd ..  cd ..
205  mkdir run  mkdir run
# Line 202  cd run Line 207  cd run
207  \rm *  \rm *
208  \cp ../input/* .  \cp ../input/* .
209  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
210  qsub job_orion41  qsub job_orion
211    
212    
213  ##########################################################################  ##########################################################################
214  ##########################################################################  ##########################################################################
215  # 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc  # 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc
216  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
217  # presently residing under orion:/tmp1/dmenem/cube  # presently residing under orion:/tmp1/dmenem/cube
218    
219  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
220  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
221  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* .
222  \cp SIZE.h_50 SIZE.h  \cp SIZE.h_41 SIZE.h
223  \cp packages.conf_hr packages.conf  \cp packages.conf_hr packages.conf
224    
225  cd ../build  cd ../build
226  \rm *  \rm *
227  ../../../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
228  make depend  make depend
229  make  make -j
230    
231  cd ..  cd ..
232  mkdir run  mkdir run
# Line 229  cd run Line 234  cd run
234  \rm *  \rm *
235  \cp ../input/* .  \cp ../input/* .
236  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
237  qsub job_orion  qsub job_orion41
238    
239    
240  ##########################################################################  ##########################################################################
241  ##########################################################################  ##########################################################################
242  # 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
243  # requires input files in sudirectories run_template and ncep_rgau  # requires input files in sudirectories run_template and ncep_rgau
244  # these can be obained from lou:/u/menemenl/cube  # presently residing under orion:/tmp1/dmenem/cube
245    
246  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
247  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
248  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* .
249  \cp SIZE.h_216 SIZE.h  \cp SIZE.h_50 SIZE.h
250  \cp packages.conf_hr packages.conf  \cp packages.conf_hr packages.conf
251    
252  cd ../build  cd ../build
253  \rm *  \rm *
254  ../../../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
255  make depend  make depend
256  make  make -j
257    
258  cd ..  cd ..
259  mkdir run  mkdir run
# Line 256  cd run Line 261  cd run
261  \rm *  \rm *
262  \cp ../input/* .  \cp ../input/* .
263  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
264  qsub job_altix  qsub job_orion
265    
266    
267  ##########################################################################  ##########################################################################
# Line 283  niter0 = 211032, day = 3297, 10-Jan-2001 Line 288  niter0 = 211032, day = 3297, 10-Jan-2001
288  niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200  niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200
289  niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600  niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600
290  niter0 = 290088, day = 4395, 13-Jan-2004, pChkptFreq = 379728000  niter0 = 290088, day = 4395, 13-Jan-2004, pChkptFreq = 379728000
291    
292    
293    
294    
295    
296    
297    #!/bin/csh
298    \cp data.pkg_hr data.pkg
299    \cp data.seaice_hr data.seaice
300    \cp data.exf_clim_hr data.exf_clim
301    
302    \cp data_hr92 data
303    ./modpickup
304    \cp data.exf_hr92 data.exf
305    /opt/sgi/mpt/1.11-85/bin/mpirun.real -v -a a2k c20 216 runon 221-436 mitgcmuv
306    mkdir out.1992
307    \mv STDOUT.0000 *.data pickup*.meta out.1992
308    \cp data* out.1992
309    \rm STD* *.meta
310    

Legend:
Removed from v.1.38  
changed lines
  Added in v.1.55

  ViewVC Help
Powered by ViewVC 1.1.22