/[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.4 by dimitri, Mon Nov 24 06:32:44 2003 UTC revision 1.13 by dimitri, Sat Jan 10 00:50:25 2004 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: November 21, 2003.  Date last tested: December 11, 2003.
3    
 setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  
 cvs login ( CVS password: cvsanon )  
4    
5  cvs co MITgcm_contrib/high_res_cube/README_ice  ##########################################################################
6  cvs co MITgcm_contrib/high_res_cube/code-mods  ##########################################################################
7  cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter  # 32*32*6*15, 1-cpu cube sphere
 cvs co MITgcm_contrib/high_res_cube/input  
 cvs co MITgcm_contrib/high_res_cube/results  
8    
9  cvs co -r checkpoint52b_post MITgcm_code  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
10  cvs co -r checkpoint52b_post MITgcm/verification/global_ocean.cs32x15  cvs login ( CVS password: cvsanon )
11    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
12    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
13    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
14    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
15    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
16    cvs co -r checkpoint52d_pre MITgcm_code
17    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
18    
19  cd MITgcm/verification/global_ocean.cs32x15/code  cd MITgcm/verification/global_ocean.cs32x15/code
20  cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
21  cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .  \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .
22  \rm mdsio_readfield.F  \rm mdsio_readfield.F
23    
24  cd ..  cd ..
25  mkdir build  mkdir build
26  cd build  cd build
27  ../code/genmake2 -mods=../code  ../../../tools/genmake2 -mods=../code
28  make depend  make depend
29  make  make
30    
31  cd ..  cd ..
32  mkdir run  mkdir run
33  cd run  cd run
34  cp ../inp_thsice/* .  \cp ../input/* .
35  cp ../input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
36  cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
 cp ../../../../MITgcm_contrib/high_res_cube/input/* .  
37  ../build/mitgcmuv >& output.txt  ../build/mitgcmuv >& output.txt
38    
39  comparison output is in:  comparison output is in:
40  ../../../../MITgcm_contrib/high_res_cube/results/output.txt  ../../../../MITgcm_contrib/high_res_cube/results/output.txt
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'}  for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
 for fld={'Eta','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}  
45      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]);
46      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause      cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
47  end  end
48    
49    
50    ##########################################################################
51    ##########################################################################
52    # 32*32*6*15, 2-cpu cube sphere on the altices with efc
53    
54    setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
55    cvs login ( CVS password: cvsanon )
56    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
57    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
58    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
59    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
60    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
61    cvs co -r checkpoint52d_pre MITgcm_code
62    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
63    
64    cd MITgcm/verification/global_ocean.cs32x15/code
65    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
66    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .
67    \cp SIZE.h_mpi SIZE.h
68    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
69    \rm mdsio_readfield.F
70    
71    cd ..
72    mkdir build
73    cd build
74    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
75    make depend
76    make
77    
78    cd ..
79    mkdir run
80    cd run
81    \cp ../input/* .
82    \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
83    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
84    mpirun -np 2 ../build/mitgcmuv
85    
86    
87    ##########################################################################
88    ##########################################################################
89    # 510*510*6*50, 54-cpu cube sphere on the altices with efc
90    
91    setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
92    cvs login ( CVS password: cvsanon )
93    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
94    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
95    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
96    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
97    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
98    cvs co -r checkpoint52d_pre MITgcm_code
99    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
100    
101    cd MITgcm/verification/global_ocean.cs32x15/code
102    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
103    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
104    \cp SIZE.h_54 SIZE.h
105    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
106    \cp packages.conf_hr packages.conf
107    \cp mom_vi_hdissip.F_hr mom_vi_hdissip.F
108    \rm mdsio_readfield.F
109    
110    cd ..
111    mkdir build
112    cd build
113    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
114    make depend
115    make
116    
117    cd ..
118    mkdir run
119    cd run
120    \cp ../input/* .
121    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
122    \cp data_hr data
123    \cp data.pkg_hr data.pkg
124    \ln -sf ../../../../run_template/tile00* .
125    \ln -sf ../../../../run_template/LEV* .
126    \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .
127    qsub job_orion
128    
129    
130    ##########################################################################
131    ##########################################################################
132    # 510*510*6*50, 216-cpu cube sphere on altix with efc
133    
134    setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
135    cvs login ( CVS password: cvsanon )
136    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
137    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
138    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
139    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
140    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
141    cvs co -r checkpoint52d_pre MITgcm_code
142    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
143    
144    cd MITgcm/verification/global_ocean.cs32x15/code
145    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
146    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
147    \cp SIZE.h_216 SIZE.h
148    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
149    \cp packages.conf_hr packages.conf
150    \cp mom_vi_hdissip.F_hr mom_vi_hdissip.F
151    \rm mdsio_readfield.F
152    
153    cd ..
154    mkdir build
155    cd build
156    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
157    make depend
158    make
159    
160    cd ..
161    mkdir run
162    cd run
163    qsub job_altix

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.22