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 updated: June 10, 2006 |
|
3 |
216-CPU code and input used for integrating cube37. |
================= |
4 |
|
UPDATES |
5 |
|
|
6 |
|
November 22, 2006: 216-CPU code for cube44 |
7 |
|
Changed diagnostics, yet again. |
8 |
|
|
9 |
|
November 7, 2006: 216-CPU code for cube43 |
10 |
|
Bug fixes in growth.F routine and new set of diagnostics |
11 |
|
|
12 |
|
October 15, 2006: 216-CPU code for cube40 |
13 |
|
|
14 |
|
September 28, 2006: 216-CPU code for cube38 |
15 |
|
|
16 |
|
September 4, 2006 |
17 |
|
Modified 32*32*6*15 experiments to use grid_cs32.* files from |
18 |
|
verification/tutorial_held_suarez_cs/input instead of |
19 |
|
tile* files from verification/global_ocean.cs32x15/input |
20 |
|
|
21 |
|
August 8, 2006: 216-CPU code and input used for cube37 |
22 |
|
using "June 10, 2006" MITgcm code. |
23 |
|
|
24 |
|
for online T/S profile diagnostics all that is needed is |
25 |
|
profiles_init_fixed |
26 |
|
profiles_inloop |
27 |
|
see pkg/ecco/ecco_cost_init_fixed.F |
28 |
|
pkg/ecco/cost_averagesfields.F |
29 |
|
|
30 |
|
|
31 |
########################################################################## |
########################################################################## |
32 |
########################################################################## |
########################################################################## |
33 |
# getting the code from anonymous CVS server |
# getting the code from anonymous CVS server |
34 |
|
# |
35 |
|
|
36 |
|
bash or sh shell: |
37 |
|
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
38 |
|
$ cvs login |
39 |
|
( enter the CVS password: "cvsanon" ) |
40 |
|
|
41 |
|
tcsh or csh shell: |
42 |
|
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
43 |
|
$ cvs login |
44 |
|
( enter the CVS password: "cvsanon" ) |
45 |
|
|
46 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
cvs co MITgcm_contrib/high_res_cube/README_ice |
47 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
cvs co MITgcm_contrib/high_res_cube/code-mods |
49 |
cvs co MITgcm_contrib/high_res_cube/results |
cvs co MITgcm_contrib/high_res_cube/results |
50 |
cvs co MITgcm_code |
cvs co MITgcm_code |
51 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
52 |
|
cvs co MITgcm/verification/tutorial_held_suarez_cs/input |
53 |
|
|
54 |
|
|
55 |
|
########################################################################## |
56 |
|
########################################################################## |
57 |
|
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
58 |
|
# requires input files in sudirectories run_template and ncep_rgau |
59 |
|
# these can be obained from lou:/u/menemenl/cube |
60 |
|
|
61 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
62 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
63 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
64 |
|
\cp SIZE.h_216 SIZE.h |
65 |
|
\cp packages.conf_hr packages.conf |
66 |
|
|
67 |
|
cd ../build |
68 |
|
\rm * |
69 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
70 |
|
make depend |
71 |
|
make -j |
72 |
|
|
73 |
|
cd .. |
74 |
|
mkdir run |
75 |
|
cd run |
76 |
|
\rm * |
77 |
|
\cp ../input/* . |
78 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
79 |
|
ln -sf ../../../../run_template/* . |
80 |
|
\rm pickup* eedata.mth data.pkg data.seaice data.exf_clim data.exf data.mnc data pr* |
81 |
|
\rm bathy_Hmin50.bin *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
82 |
|
ln -sf ../../../../run_template/pickup.0000000216.cube38 pickup.0000000216 |
83 |
|
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube38 pickup_seaice.0000000216 |
84 |
|
\cp ../build/mitgcmuv . |
85 |
|
qsub job_altix |
86 |
|
|
87 |
|
|
88 |
########################################################################## |
########################################################################## |
101 |
mkdir run |
mkdir run |
102 |
cd run |
cd run |
103 |
\rm * |
\rm * |
104 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
105 |
\cp ../input/* . |
\cp ../input/* . |
106 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
107 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
112 |
to use matlab to look at the output |
to use matlab to look at the output |
113 |
matlab |
matlab |
114 |
|
|
115 |
for fld={'VICEtave','UICEtave','HEFFtave','AREAtave','QSWtave', ... |
for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ... |
116 |
'QNETtave','FVtave','FUtave','EmPmRtave'} |
'surForcT','oceTAUX','oceTAUY','surForcS'} |
117 |
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
tmp=permute(readbin([fld{1} '.0000000072.data'],[32,6,32]),[1 3 2]); |
118 |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
119 |
end |
end |
120 |
|
|
121 |
heff=permute(readbin(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]); |
heff=permute(readbin(['SIheff.0000000072.data'],[32,6,32]),[1 3 2]); |
122 |
mask=0*heff; mask(find(heff>.001))=1; |
mask=0*heff; mask(find(heff>.001))=1; |
123 |
uice=mask.*permute(readbin(['UICEtave.0000000020.data'],[32,6,32]),[1 3 2]); |
uice=mask.*permute(readbin(['SIuice.0000000072.data'],[32,6,32]),[1 3 2]); |
124 |
vice=mask.*permute(readbin(['VICEtave.0000000020.data'],[32,6,32]),[1 3 2]); |
vice=mask.*permute(readbin(['SIvice.0000000072.data'],[32,6,32]),[1 3 2]); |
125 |
clf |
clf |
126 |
subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') |
subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') |
127 |
subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') |
subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') |
145 |
mkdir run |
mkdir run |
146 |
cd run |
cd run |
147 |
\rm * |
\rm * |
148 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
149 |
\cp ../input/* . |
\cp ../input/* . |
150 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
151 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
170 |
mkdir run |
mkdir run |
171 |
cd run |
cd run |
172 |
\rm * |
\rm * |
173 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
174 |
\cp ../input/* . |
\cp ../input/* . |
175 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
176 |
mpirun -np 2 ../build/mitgcmuv |
mpirun -np 2 ../build/mitgcmuv |
204 |
|
|
205 |
########################################################################## |
########################################################################## |
206 |
########################################################################## |
########################################################################## |
|
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
|
|
# requires input files in sudirectories run_template and ncep_rgau |
|
|
# these can be obained from lou:/u/menemenl/cube |
|
|
|
|
|
cd MITgcm/verification/global_ocean.cs32x15/code |
|
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
|
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
|
|
\cp SIZE.h_216 SIZE.h |
|
|
\cp packages.conf_hr packages.conf |
|
|
|
|
|
cd ../build |
|
|
\rm * |
|
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
|
|
make depend |
|
|
make -j |
|
|
|
|
|
cd .. |
|
|
mkdir run |
|
|
cd run |
|
|
\rm * |
|
|
\cp ../input/* . |
|
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
|
|
ln -sf ../../../../run_template/* . |
|
|
\rm pickup* data.pkg data.seaice data.exf_clim data.exf data |
|
|
\rm *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
|
|
ln -sf ../../../../run_template/pickup.0000000216.cube27 pickup.0000000216 |
|
|
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube27 pickup_seaice.0000000216 |
|
|
\cp ../build/mitgcmuv . |
|
|
qsub job_altix |
|
|
|
|
|
|
|
|
########################################################################## |
|
|
########################################################################## |
|
207 |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
208 |
# uses s1500t_17x51 configuration |
# uses s1500t_17x51 configuration |
209 |
|
|
233 |
qsub job_altix150 |
qsub job_altix150 |
234 |
|
|
235 |
|
|
|
|
|
|
|
|
236 |
########################################################################## |
########################################################################## |
237 |
########################################################################## |
########################################################################## |
238 |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
265 |
job_c20_375cpu < /dev/null >&! output.run & |
job_c20_375cpu < /dev/null >&! output.run & |
266 |
|
|
267 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
268 |
########################################################################## |
########################################################################## |
269 |
########################################################################## |
########################################################################## |
270 |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
329 |
job_c19_500cpu < /dev/null >&! output.run & |
job_c19_500cpu < /dev/null >&! output.run & |
330 |
|
|
331 |
|
|
|
|
|
|
|
|
|
|
|
332 |
########################################################################## |
########################################################################## |
333 |
########################################################################## |
########################################################################## |
334 |
# 510*510*6*50, 216-cpu cube sphere on cosmos |
# 510*510*6*50, 216-cpu cube sphere on cosmos |
364 |
bsub < job_cosmos |
bsub < job_cosmos |
365 |
|
|
366 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
367 |
########################################################################## |
########################################################################## |
368 |
########################################################################## |
########################################################################## |
369 |
# 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc |
# 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc |