/[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.2 by dimitri, Sun Nov 23 20:11:39 2003 UTC revision 1.9 by dimitri, Sun Dec 14 02:06:15 2003 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    
4    
5    ##########################################################################
6    ##########################################################################
7    # 32*32*6*15, 1-cpu cube sphere
8    
9  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack  setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
10  cvs login ( CVS password: cvsanon )  cvs login ( CVS password: cvsanon )
11  cvs co MITgcm_contrib/high_res_cube/code-mods  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
12  cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
13  cvs co MITgcm_contrib/high_res_cube/README_ice  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
14  cvs co -r checkpoint52a_post MITgcm_code  cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
15  cvs co MITgcm/verification/global_ocean.cs32x15  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  ../code/genmake2 -mods=../code
28  make depend  make depend
29  make  make
30    
31    cd ..
32    mkdir run
33    cd run
34    \cp ../inp_thsice/* .
35    \cp ../input/* .
36    \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
37    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
38    ../build/mitgcmuv >& output.txt
39    
40    comparison output is in:
41    ../../../../MITgcm_contrib/high_res_cube/results/output.txt
42    
43    to use matlab to look at the output
44    matlab
45    for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
46        tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);
47        cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
48    end
49    
50    
51    ##########################################################################
52    ##########################################################################
53    # 32*32*6*15, 2-cpu cube sphere on the altices with efc
54    
55    setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
56    cvs login ( CVS password: cvsanon )
57    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
58    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
59    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
60    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
61    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
62    cvs co -r checkpoint52d_pre MITgcm_code
63    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
64    
65    cd MITgcm/verification/global_ocean.cs32x15/code
66    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
67    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .
68    \cp SIZE.h_mpi SIZE.h
69    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
70    \rm mdsio_readfield.F
71    
72    cd ..
73    mkdir build
74    cd build
75    ../code/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
76    make depend
77    make
78    
79    cd ..
80    mkdir run
81    cd run
82    \cp ../inp_thsice/* .
83    \cp ../input/* .
84    \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
85    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
86    mpirun -np 2 ../build/mitgcmuv
87    
88    
89    ##########################################################################
90    ##########################################################################
91    # 510*510*6*50, 54-cpu cube sphere on the altices with efc
92    
93    setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
94    cvs login ( CVS password: cvsanon )
95    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
96    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
97    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
98    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
99    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
100    cvs co -r checkpoint52d_pre MITgcm_code
101    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
102    
103    cd MITgcm/verification/global_ocean.cs32x15/code
104    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
105    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
106    \cp SIZE.h_54 SIZE.h
107    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
108    \rm mdsio_readfield.F
109    
110    cd ..
111    mkdir build
112    cd build
113    ../code/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 ../inp_thsice/* .
121    \cp ../input/* .
122    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
123    \cp data_hr data
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 the altices 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    \rm mdsio_readfield.F
150    
151    cd ..
152    mkdir build
153    cd build
154    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
155    make depend
156    make
157    
158  cd ..  cd ..
159  mkdir run  mkdir run
160  cd run  cd run
161  cp ../input/* .  \cp ../inp_thsice/* .
162  cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  \cp ../input/* .
163  cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
164  ../build/mitgcmuv >& output  \cp data_hr data
165    \cp data.pkg_hr data.pkg
166    \ln -sf ../../../../run_template/tile00* .
167    \ln -sf ../../../../run_template/LEV* .
168    \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .
169    qsub job_orion

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

  ViewVC Help
Powered by ViewVC 1.1.22