/[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.1 by dimitri, Sun Nov 23 17:16:24 2003 UTC revision 1.10 by dimitri, Sun Dec 14 02:59:06 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  cd ../build  
24    cd ..
25    mkdir build
26    cd build
27  ../../../tools/genmake2 -mods=../code  ../../../tools/genmake2 -mods=../code
28  make depend  make depend
29  make  make
30    
31    cd ..
32    mkdir run
33    cd run
34    \cp ../input/* .
35    \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
36    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
37    ../build/mitgcmuv >& output.txt
38    
39    comparison output is in:
40    ../../../../MITgcm_contrib/high_res_cube/results/output.txt
41    
42    to use matlab to look at the output
43    matlab
44    for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
45        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
47    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    \rm mdsio_readfield.F
107    
108    cd ..
109    mkdir build
110    cd build
111    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
112    make depend
113    make
114    
115    cd ..
116    mkdir run
117    cd run
118    \cp ../input/* .
119    \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
120    \cp data_hr data
121    \ln -sf ../../../../run_template/tile00* .
122    \ln -sf ../../../../run_template/LEV* .
123    \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .
124    qsub job_orion
125    
126    
127    ##########################################################################
128    ##########################################################################
129    # 510*510*6*50, 216-cpu cube sphere on the altices with efc
130    
131    setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
132    cvs login ( CVS password: cvsanon )
133    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
134    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
135    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
136    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
137    cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
138    cvs co -r checkpoint52d_pre MITgcm_code
139    cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
140    
141    cd MITgcm/verification/global_ocean.cs32x15/code
142    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
143    \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
144    \cp SIZE.h_216 SIZE.h
145    \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
146    \rm mdsio_readfield.F
147    
148    cd ..
149    mkdir build
150    cd build
151    ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
152    make depend
153    make
154    
155  cd ..  cd ..
156  mkdir run  mkdir run
157  cd run  cd run
158  cp ../input/* .  \cp ../input/* .
159  cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .  \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
160  cp ../../../../MITgcm_contrib/high_res_cube/input/* .  \cp data_hr data
161  ../build/mitgcmuv >& output  \cp data.pkg_hr data.pkg
162    \ln -sf ../../../../run_template/tile00* .
163    \ln -sf ../../../../run_template/LEV* .
164    \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .
165    qsub job_orion

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.22