78 |
diags=example_transports('v4'); |
diags=example_transports('v4'); |
79 |
example_transports_disp(diags); |
example_transports_disp(diags); |
80 |
|
|
81 |
|
---- for class #4 ---- |
82 |
|
|
83 |
|
1) open web browser, and download setup_these_exps.csh |
84 |
|
from http://mitgcm.org/viewvc/MITgcm/MITgcm_contrib/gael/verification/ |
85 |
|
|
86 |
|
note : |
87 |
|
for step 1, please be sure to use the download button |
88 |
|
of the browser rather than e.g. wget that can conflict |
89 |
|
with the behavior of the CVS web interface |
90 |
|
|
91 |
|
2) open terminal window, install MITgcm: |
92 |
|
|
93 |
|
mkdir iap-idma |
94 |
|
cd iap-idma |
95 |
|
csh |
96 |
|
setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
97 |
|
cvs login |
98 |
|
( enter the CVS password: "cvsanon" ) |
99 |
|
cvs co -P MITgcm_verif_basic |
100 |
|
|
101 |
|
3) install the ECCO v4 setups |
102 |
|
|
103 |
|
cd ~/iap-idma/MITgcm/verification |
104 |
|
mv ~/Downloads/setup_these_exps.csh . |
105 |
|
source ./setup_these_exps.csh |
106 |
|
mv global_oce_tmp_download/global_oce_* . |
107 |
|
rm -rf global_oce_tmp_download |
108 |
|
|
109 |
|
4) run the ECCO v4 mini benchmark |
110 |
|
|
111 |
|
./testreport -t global_oce_cs32 |
112 |
|
|
113 |
|
5) quick output plot |
114 |
|
|
115 |
|
cd ~/iap-idma |
116 |
|
matlab -nodesktop |
117 |
|
addpath gcmfaces |
118 |
|
gcmfaces_global |
119 |
|
|
120 |
|
cd ~/iap-idma/MITgcm/verification/global_oce_cs32/run |
121 |
|
grid_load('./',6,'compact'); |
122 |
|
THETA=rdmds2gcmfaces('T.0000000008'); |
123 |
|
figureL; qwckplot(THETA(:,:,1)); colorbar; |
124 |
|
|
125 |
|
note : |
126 |
|
the matlab software needed for item #5 is assumed to have been |
127 |
|
installed according to 'common to all matlab sessions' |
128 |
|
|
129 |
|
---- for class #5 ---- |
130 |
|
|
131 |
|
1,2) same as class #4 except with |
132 |
|
cvs co -P MITgcm |
133 |
|
|
134 |
|
3) run MITgcm benchmarks |
135 |
|
|
136 |
|
./testreport -t 'adjustment.128x64x1 advect_cs advect_xy' |
137 |
|
./testreport -t 'adjustment.cs-32x32x1 tutorial_held_suarez_cs tutorial_plume_on_slope' |
138 |
|
|
139 |
|
4) quick output plot for adjustment.128x64x1 |
140 |
|
|
141 |
|
cd ~/iap-idma |
142 |
|
matlab -nodesktop |
143 |
|
addpath gcmfaces |
144 |
|
gcmfaces_global |
145 |
|
|
146 |
|
cd ~/iap-idma/MITgcm/verification/adjustment.128x64x1/run |
147 |
|
mitgcm_plot_adju_128; |
148 |
|
|
149 |
|
5) repeat step #4 for different experiments: |
150 |
|
|
151 |
|
adjustment.128x64x1 mitgcm_plot_adju_128.m |
152 |
|
advect_cs mitgcm_plot_adv_cs.m |
153 |
|
advect_xy mitgcm_plot_adv_xy.m |
154 |
|
* adjustment.cs-32x32x1 mitgcm_plot_adju_cs32.m |
155 |
|
* tutorial_held_suarez_cs mitgcm_plot_held_suarez.m |
156 |
|
* tutorial_plume_on_slope mitgcm_plot_plume.m |
157 |
|
|
158 |
|
note : |
159 |
|
* in the cases of adjustment.cs-32x32x1, tutorial_held_suarez_cs, |
160 |
|
and tutorial_plume_on_slope the matlab programs expect that |
161 |
|
the experiment duration was increased (see iap-idma-exercises) |
162 |
|
|