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'} |
45 |
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
tmp=permute(readbin([fld{1} '.0000001368.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 |
|
\rm mdsio_readfield.F |
108 |
|
|
109 |
|
cd .. |
110 |
|
mkdir build |
111 |
|
cd build |
112 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
113 |
|
make depend |
114 |
|
make |
115 |
|
|
116 |
|
cd .. |
117 |
|
mkdir run |
118 |
|
cd run |
119 |
|
\cp ../input/* . |
120 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
121 |
|
\cp data_hr data |
122 |
|
\cp data.pkg_hr data.pkg |
123 |
|
\ln -sf ../../../../run_template/tile00* . |
124 |
|
\ln -sf ../../../../run_template/LEV* . |
125 |
|
\ln -sf ../../../../run_template/BATHY_18360x85_filled.bin . |
126 |
|
qsub job_orion |
127 |
|
|
128 |
|
|
129 |
|
########################################################################## |
130 |
|
########################################################################## |
131 |
|
# 510*510*6*50, 216-cpu cube sphere on the altices with efc |
132 |
|
|
133 |
|
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
134 |
|
cvs login ( CVS password: cvsanon ) |
135 |
|
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice |
136 |
|
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods |
137 |
|
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter |
138 |
|
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input |
139 |
|
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results |
140 |
|
cvs co -r checkpoint52d_pre MITgcm_code |
141 |
|
cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15 |
142 |
|
|
143 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
144 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
145 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
146 |
|
\cp SIZE.h_216 SIZE.h |
147 |
|
\cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h |
148 |
|
\cp packages.conf_hr packages.conf |
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 .. |
159 |
|
mkdir run |
160 |
|
cd run |
161 |
|
\cp ../input/* . |
162 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
163 |
|
\cp data_hr data |
164 |
|
\cp data.pkg_hr data.pkg |
165 |
|
\ln -sf ../../../../run_template/tile00* . |
166 |
|
\ln -sf ../../../../run_template/LEV* . |
167 |
|
\ln -sf ../../../../run_template/BATHY_18360x85_filled.bin . |
168 |
|
qsub job_altix |