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 |
|
Forcing fields and other input files needed for the CS510 |
4 |
|
configuration can be obtained from |
5 |
|
http://ecco2.org/products/model_setups/cs510.html |
6 |
|
|
7 |
|
================= |
8 |
|
UPDATES |
9 |
|
|
10 |
|
December 30, 2006: updates for cube49, the first |
11 |
|
"blend" integration. |
12 |
|
|
13 |
|
December 11, 2006: preparing for cube47, same as cube43 |
14 |
|
but with Arctic monthly river runoff climatology. |
15 |
|
|
16 |
|
December 5, 2006: 216-CPU code for cube46 |
17 |
|
Changed diagnostics to accomodate JMCs latest and some |
18 |
|
changes to code-mods/CPP_EEOPTIONS.h and W2_OPTIONS.h |
19 |
|
to speed up code. |
20 |
|
|
21 |
|
November 7, 2006: 216-CPU code for cube43 |
22 |
|
Bug fixes in growth.F routine and new set of diagnostics |
23 |
|
|
24 |
|
October 15, 2006: 216-CPU code for cube40 |
25 |
|
|
26 |
September 28, 2006: 216-CPU code for cube38 |
September 28, 2006: 216-CPU code for cube38 |
27 |
|
|
28 |
September 4, 2006 |
September 4, 2006 |
30 |
verification/tutorial_held_suarez_cs/input instead of |
verification/tutorial_held_suarez_cs/input instead of |
31 |
tile* files from verification/global_ocean.cs32x15/input |
tile* files from verification/global_ocean.cs32x15/input |
32 |
|
|
33 |
August 8, 2006 |
August 8, 2006: 216-CPU code and input used for cube37 |
|
216-CPU code and input used for integrating cube37 |
|
34 |
using "June 10, 2006" MITgcm code. |
using "June 10, 2006" MITgcm code. |
35 |
|
|
36 |
for online T/S profile diagnostics all that is needed is |
for online T/S profile diagnostics all that is needed is |
39 |
see pkg/ecco/ecco_cost_init_fixed.F |
see pkg/ecco/ecco_cost_init_fixed.F |
40 |
pkg/ecco/cost_averagesfields.F |
pkg/ecco/cost_averagesfields.F |
41 |
|
|
42 |
|
########################################################################## |
43 |
|
########################################################################## |
44 |
|
# Get forcing files, etc. |
45 |
|
# Example below is for cube46 on /nobackup2a/menemenl |
46 |
|
|
47 |
|
cd /nobackup2a/menemenl |
48 |
|
mkdir cube47 |
49 |
|
cd cube47 |
50 |
|
ln -sf ../run_template . |
51 |
|
ln -sf ../ncep_rgau . |
52 |
|
|
53 |
|
|
54 |
########################################################################## |
########################################################################## |
55 |
########################################################################## |
########################################################################## |
56 |
# getting the code from anonymous CVS server |
# getting the code from anonymous CVS server |
57 |
|
|
58 |
|
bash or sh shell: |
59 |
|
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
60 |
|
$ cvs login |
61 |
|
( enter the CVS password: "cvsanon" ) |
62 |
|
|
63 |
|
tcsh or csh shell: |
64 |
|
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
65 |
|
$ cvs login |
66 |
|
( enter the CVS password: "cvsanon" ) |
67 |
|
|
68 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
cvs co MITgcm_contrib/high_res_cube/README_ice |
69 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
cvs co MITgcm_contrib/high_res_cube/code-mods |
70 |
cvs co MITgcm_contrib/high_res_cube/input |
cvs co MITgcm_contrib/high_res_cube/input |
76 |
|
|
77 |
########################################################################## |
########################################################################## |
78 |
########################################################################## |
########################################################################## |
79 |
|
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
80 |
|
|
81 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
82 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
83 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
84 |
|
\cp SIZE.h_216 SIZE.h |
85 |
|
\cp packages.conf_hr packages.conf |
86 |
|
|
87 |
|
cd ../build |
88 |
|
\rm * |
89 |
|
../../../tools/genmake2 -mods=../code -of ../code/linux_ia64_ifort+mpi_altix_nas |
90 |
|
make depend |
91 |
|
make -j |
92 |
|
|
93 |
|
cd .. |
94 |
|
mkdir run |
95 |
|
cd run |
96 |
|
\rm * |
97 |
|
\cp ../input/* . |
98 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
99 |
|
ln -sf ../../../../run_template/* . |
100 |
|
\rm pickup* eedata.mth data.pkg data.seaice data.exf_clim data.exf data.mnc data pr* |
101 |
|
\rm bathy_Hmin50.bin *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
102 |
|
ln -sf ../../../../run_template/pickup.0000000216.cube49 pickup.0000000216 |
103 |
|
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube49 pickup_seaice.0000000216 |
104 |
|
\cp ../build/mitgcmuv . |
105 |
|
qsub job_altix |
106 |
|
|
107 |
|
|
108 |
|
########################################################################## |
109 |
|
########################################################################## |
110 |
# 32*32*6*15, 1-cpu cube sphere |
# 32*32*6*15, 1-cpu cube sphere |
111 |
|
|
112 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
132 |
to use matlab to look at the output |
to use matlab to look at the output |
133 |
matlab |
matlab |
134 |
|
|
135 |
for fld={'VICEtave','UICEtave','HEFFtave','AREAtave','QSWtave', ... |
for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ... |
136 |
'QNETtave','FVtave','FUtave','EmPmRtave'} |
'surForcT','oceTAUX','oceTAUY','surForcS'} |
137 |
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]); |
138 |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
139 |
end |
end |
140 |
|
|
141 |
heff=permute(readbin(['HEFFtave.0000000020.data'],[32,6,32]),[1 3 2]); |
heff=permute(readbin(['SIheff.0000000072.data'],[32,6,32]),[1 3 2]); |
142 |
mask=0*heff; mask(find(heff>.001))=1; |
mask=0*heff; mask(find(heff>.001))=1; |
143 |
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]); |
144 |
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]); |
145 |
clf |
clf |
146 |
subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') |
subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') |
147 |
subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') |
subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') |
150 |
|
|
151 |
|
|
152 |
########################################################################## |
########################################################################## |
|
########################################################################## |
|
|
# 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_ia\ |
|
|
64_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 bathy_Hmin50.bin |
|
|
\rm *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
|
|
ln -sf ../../../../run_template/pickup.0000000216.cube38 pickup.0000000216 |
|
|
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube38 |
|
|
pickup_seaice.\ |
|
|
0000000216 |
|
|
\cp ../build/mitgcmuv . |
|
|
qsub job_altix |
|
|
|
|
|
|
|
|
########################################################################## |
|
153 |
########################################################################## |
########################################################################## |
154 |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
155 |
|
|