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