| 1 |
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 11, 2006: preparing for cube47, same as cube43 |
| 11 |
but with Arctic monthly river runoff climatology |
| 12 |
|
| 13 |
December 5, 2006: 216-CPU code for cube46 |
| 14 |
Changed diagnostics to accomodate JMCs latest and some |
| 15 |
changes to code-mods/CPP_EEOPTIONS.h and W2_OPTIONS.h |
| 16 |
to speed up code. |
| 17 |
|
| 18 |
November 7, 2006: 216-CPU code for cube43 |
| 19 |
Bug fixes in growth.F routine and new set of diagnostics |
| 20 |
|
| 21 |
October 15, 2006: 216-CPU code for cube40 |
| 22 |
|
| 23 |
September 28, 2006: 216-CPU code for cube38 |
| 24 |
|
| 25 |
September 4, 2006 |
| 26 |
Modified 32*32*6*15 experiments to use grid_cs32.* files from |
| 27 |
verification/tutorial_held_suarez_cs/input instead of |
| 28 |
tile* files from verification/global_ocean.cs32x15/input |
| 29 |
|
| 30 |
August 8, 2006: 216-CPU code and input used for cube37 |
| 31 |
using "June 10, 2006" MITgcm code. |
| 32 |
|
| 33 |
for online T/S profile diagnostics all that is needed is |
| 34 |
profiles_init_fixed |
| 35 |
profiles_inloop |
| 36 |
see pkg/ecco/ecco_cost_init_fixed.F |
| 37 |
pkg/ecco/cost_averagesfields.F |
| 38 |
|
| 39 |
########################################################################## |
| 40 |
########################################################################## |
| 41 |
# Get forcing files, etc. |
| 42 |
# Example below is for cube46 on /nobackup2a/menemenl |
| 43 |
|
| 44 |
cd /nobackup2a/menemenl |
| 45 |
mkdir cube47 |
| 46 |
cd cube47 |
| 47 |
ln -sf ../run_template . |
| 48 |
ln -sf ../ncep_rgau . |
| 49 |
|
| 50 |
|
| 51 |
########################################################################## |
| 52 |
########################################################################## |
| 53 |
# getting the code from anonymous CVS server |
| 54 |
|
| 55 |
bash or sh shell: |
| 56 |
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 57 |
$ cvs login |
| 58 |
( enter the CVS password: "cvsanon" ) |
| 59 |
|
| 60 |
tcsh or csh shell: |
| 61 |
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 62 |
$ cvs login |
| 63 |
( enter the CVS password: "cvsanon" ) |
| 64 |
|
| 65 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
| 66 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
| 67 |
cvs co MITgcm_contrib/high_res_cube/input |
| 68 |
cvs co MITgcm_contrib/high_res_cube/results |
| 69 |
cvs co MITgcm_code |
| 70 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
| 71 |
cvs co MITgcm/verification/tutorial_held_suarez_cs/input |
| 72 |
|
| 73 |
|
| 74 |
########################################################################## |
| 75 |
########################################################################## |
| 76 |
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
| 77 |
|
| 78 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 79 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 80 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
| 81 |
\cp SIZE.h_216 SIZE.h |
| 82 |
\cp packages.conf_hr packages.conf |
| 83 |
|
| 84 |
cd ../build |
| 85 |
\rm * |
| 86 |
../../../tools/genmake2 -mods=../code -of ../code/linux_ia64_ifort+mpi_altix_nas |
| 87 |
make depend |
| 88 |
make -j |
| 89 |
|
| 90 |
cd .. |
| 91 |
mkdir run |
| 92 |
cd run |
| 93 |
\rm * |
| 94 |
\cp ../input/* . |
| 95 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 96 |
ln -sf ../../../../run_template/* . |
| 97 |
\rm pickup* eedata.mth data.pkg data.seaice data.exf_clim data.exf data.mnc data pr* |
| 98 |
\rm bathy_Hmin50.bin *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
| 99 |
ln -sf ../../../../run_template/pickup.0000000216.cube38 pickup.0000000216 |
| 100 |
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube38 pickup_seaice.0000000216 |
| 101 |
\cp ../build/mitgcmuv . |
| 102 |
qsub job_altix |
| 103 |
|
| 104 |
|
| 105 |
########################################################################## |
| 106 |
########################################################################## |
| 107 |
# 32*32*6*15, 1-cpu cube sphere |
| 108 |
|
| 109 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 110 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 111 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
| 112 |
cd ../build |
| 113 |
\rm * |
| 114 |
../../../tools/genmake2 -mods=../code |
| 115 |
make depend |
| 116 |
make |
| 117 |
cd .. |
| 118 |
mkdir run |
| 119 |
cd run |
| 120 |
\rm * |
| 121 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
| 122 |
\cp ../input/* . |
| 123 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 124 |
../build/mitgcmuv >& output.txt |
| 125 |
|
| 126 |
comparison output is in: |
| 127 |
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
| 128 |
|
| 129 |
to use matlab to look at the output |
| 130 |
matlab |
| 131 |
|
| 132 |
for fld={'SIuice','SIvice','SIheff','SIarea','oceQsw', ... |
| 133 |
'surForcT','oceTAUX','oceTAUY','surForcS'} |
| 134 |
tmp=permute(readbin([fld{1} '.0000000072.data'],[32,6,32]),[1 3 2]); |
| 135 |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
| 136 |
end |
| 137 |
|
| 138 |
heff=permute(readbin(['SIheff.0000000072.data'],[32,6,32]),[1 3 2]); |
| 139 |
mask=0*heff; mask(find(heff>.001))=1; |
| 140 |
uice=mask.*permute(readbin(['SIuice.0000000072.data'],[32,6,32]),[1 3 2]); |
| 141 |
vice=mask.*permute(readbin(['SIvice.0000000072.data'],[32,6,32]),[1 3 2]); |
| 142 |
clf |
| 143 |
subplot(221), mypcolor(uice(:,:,3)'); colorbar, title('uice, tile 3') |
| 144 |
subplot(222), mypcolor(uice(:,:,6)'); colorbar, title('uice, tile 6') |
| 145 |
subplot(223), mypcolor(vice(:,:,3)'); colorbar, title('vice, tile 3') |
| 146 |
subplot(224), mypcolor(vice(:,:,6)'); colorbar, title('vice, tile 6') |
| 147 |
|
| 148 |
|
| 149 |
########################################################################## |
| 150 |
########################################################################## |
| 151 |
# 32*32*6*15, 17-tile, 1-cpu cube sphere experiment |
| 152 |
|
| 153 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 154 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 155 |
\cp ../code_alt/code.176t_8x4/* . |
| 156 |
cd ../build |
| 157 |
\rm * |
| 158 |
../../../tools/genmake2 -mods=../code |
| 159 |
make depend |
| 160 |
make |
| 161 |
cd .. |
| 162 |
mkdir run |
| 163 |
cd run |
| 164 |
\rm * |
| 165 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
| 166 |
\cp ../input/* . |
| 167 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 168 |
../build/mitgcmuv >& output.txt |
| 169 |
|
| 170 |
|
| 171 |
########################################################################## |
| 172 |
########################################################################## |
| 173 |
# 32*32*6*15, 2-cpu cube sphere on the altices with ifort |
| 174 |
|
| 175 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 176 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 177 |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
| 178 |
\cp SIZE.h_mpi SIZE.h |
| 179 |
|
| 180 |
cd ../build |
| 181 |
\rm * |
| 182 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
| 183 |
make depend |
| 184 |
make -j |
| 185 |
|
| 186 |
cd .. |
| 187 |
mkdir run |
| 188 |
cd run |
| 189 |
\rm * |
| 190 |
\cp ../../tutorial_held_suarez_cs/input/grid* . |
| 191 |
\cp ../input/* . |
| 192 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 193 |
mpirun -np 2 ../build/mitgcmuv |
| 194 |
|
| 195 |
|
| 196 |
########################################################################## |
| 197 |
########################################################################## |
| 198 |
# 510*510*6*50, 54-tile, 54-cpu cube sphere on the altices with efc |
| 199 |
# starting with pickup file from end of 1992 |
| 200 |
# requires input files in sudirectories run_template and ncep_rgau |
| 201 |
|
| 202 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 203 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 204 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s54t_170x170/* . |
| 205 |
\cp packages.conf_hr packages.conf |
| 206 |
|
| 207 |
cd ../build |
| 208 |
\rm * |
| 209 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
| 210 |
make depend |
| 211 |
make -j |
| 212 |
|
| 213 |
cd .. |
| 214 |
mkdir run |
| 215 |
cd run |
| 216 |
\rm * |
| 217 |
\cp ../input/* . |
| 218 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 219 |
qsub job_altix92_54t |
| 220 |
|
| 221 |
|
| 222 |
########################################################################## |
| 223 |
########################################################################## |
| 224 |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
| 225 |
# uses s1500t_17x51 configuration |
| 226 |
|
| 227 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 228 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 229 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
| 230 |
\cp SIZE.h_150 SIZE.h |
| 231 |
\cp packages.conf_hr packages.conf |
| 232 |
|
| 233 |
cd ../build |
| 234 |
\rm * |
| 235 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
| 236 |
make depend |
| 237 |
make -j |
| 238 |
|
| 239 |
cd .. |
| 240 |
mkdir run |
| 241 |
cd run |
| 242 |
\rm * |
| 243 |
\cp ../input/* . |
| 244 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 245 |
ln -sf ../../../../run_template/* . |
| 246 |
\rm pickup* |
| 247 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 248 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 249 |
\cp ../build/mitgcmuv mitgcmuv150 |
| 250 |
qsub job_altix150 |
| 251 |
|
| 252 |
|
| 253 |
########################################################################## |
| 254 |
########################################################################## |
| 255 |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
| 256 |
# uses s1500t_17x51 configuration |
| 257 |
# example for running on c17-c20 using arrayd |
| 258 |
|
| 259 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 260 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 261 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
| 262 |
\cp SIZE.h_375 SIZE.h |
| 263 |
\cp packages.conf_hr packages.conf |
| 264 |
|
| 265 |
cd ../build |
| 266 |
\rm * |
| 267 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
| 268 |
make depend |
| 269 |
make -j |
| 270 |
|
| 271 |
cd .. |
| 272 |
mkdir run |
| 273 |
cd run |
| 274 |
\rm * |
| 275 |
\cp ../input/* . |
| 276 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 277 |
ln -sf ../../../../run_template/* . |
| 278 |
\rm pickup* |
| 279 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 280 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 281 |
\cp ../build/mitgcmuv . |
| 282 |
job_c20_375cpu < /dev/null >&! output.run & |
| 283 |
|
| 284 |
|
| 285 |
########################################################################## |
| 286 |
########################################################################## |
| 287 |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
| 288 |
# uses s1500t_17x51 configuration |
| 289 |
# example for running on c17-c20 using arrayd |
| 290 |
|
| 291 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 292 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 293 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
| 294 |
\cp SIZE.h_375 SIZE.h |
| 295 |
\cp packages.conf_hr packages.conf |
| 296 |
|
| 297 |
cd ../build |
| 298 |
\rm * |
| 299 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
| 300 |
make depend |
| 301 |
make -j |
| 302 |
|
| 303 |
cd .. |
| 304 |
mkdir run |
| 305 |
cd run |
| 306 |
\rm * |
| 307 |
\cp ../input/* . |
| 308 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 309 |
ln -sf ../../../../run_template/* . |
| 310 |
\rm pickup* |
| 311 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 312 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 313 |
\cp ../build/mitgcmuv . |
| 314 |
job_c20_375cpu < /dev/null >&! output.run & |
| 315 |
|
| 316 |
|
| 317 |
########################################################################## |
| 318 |
########################################################################## |
| 319 |
# 510*510*6*50, 1500-tile, 500-cpu, excludes land |
| 320 |
# uses s1500t_17x51 configuration |
| 321 |
# example for running on c17-c20 using arrayd |
| 322 |
|
| 323 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 324 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 325 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
| 326 |
\cp SIZE.h_500 SIZE.h |
| 327 |
\cp packages.conf_hr packages.conf |
| 328 |
|
| 329 |
cd ../build |
| 330 |
\rm * |
| 331 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
| 332 |
make depend |
| 333 |
make -j |
| 334 |
|
| 335 |
cd .. |
| 336 |
mkdir run |
| 337 |
cd run |
| 338 |
\rm * |
| 339 |
\cp ../input/* . |
| 340 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 341 |
ln -sf ../../../../run_template/* . |
| 342 |
\rm pickup* |
| 343 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 344 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 345 |
\cp ../build/mitgcmuv . |
| 346 |
job_c19_500cpu < /dev/null >&! output.run & |
| 347 |
|
| 348 |
|
| 349 |
########################################################################## |
| 350 |
########################################################################## |
| 351 |
# 510*510*6*50, 216-cpu cube sphere on cosmos |
| 352 |
|
| 353 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 354 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 355 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
| 356 |
\cp SIZE.h_216 SIZE.h |
| 357 |
\cp packages.conf_hr packages.conf |
| 358 |
|
| 359 |
module unload latest_intel80 |
| 360 |
module unload mpich-gm-intel80 |
| 361 |
module load latest_intel81 |
| 362 |
module load mpich-gm-intel81 |
| 363 |
|
| 364 |
cd ../build |
| 365 |
\rm * |
| 366 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia32_ifort+mpi_cosmos |
| 367 |
make depend |
| 368 |
make -j |
| 369 |
|
| 370 |
cd .. |
| 371 |
mkdir run |
| 372 |
cd run |
| 373 |
\rm * |
| 374 |
\cp ../input/* . |
| 375 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 376 |
ln -sf ../../../../run_template/* . |
| 377 |
\rm pickup* |
| 378 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 379 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 380 |
\cp ../build/mitgcmuv . |
| 381 |
bsub < job_cosmos |
| 382 |
|
| 383 |
|
| 384 |
########################################################################## |
| 385 |
########################################################################## |
| 386 |
# 510*510*6*50, 216-tile, 54-cpu cube sphere on the altices with efc |
| 387 |
# requires input files in sudirectories run_template and ncep_rgau |
| 388 |
# presently residing under orion:/tmp1/dmenem/cube |
| 389 |
|
| 390 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 391 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 392 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
| 393 |
\cp SIZE.h_54 SIZE.h |
| 394 |
\cp packages.conf_hr packages.conf |
| 395 |
|
| 396 |
cd ../build |
| 397 |
\rm * |
| 398 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
| 399 |
make depend |
| 400 |
make -j |
| 401 |
|
| 402 |
cd .. |
| 403 |
mkdir run |
| 404 |
cd run |
| 405 |
\rm * |
| 406 |
\cp ../input/* . |
| 407 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 408 |
qsub job_orion |
| 409 |
|
| 410 |
|
| 411 |
########################################################################## |
| 412 |
########################################################################## |
| 413 |
# 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc |
| 414 |
# requires input files in sudirectories run_template and ncep_rgau |
| 415 |
# presently residing under orion:/tmp1/dmenem/cube |
| 416 |
|
| 417 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 418 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 419 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* . |
| 420 |
\cp SIZE.h_41 SIZE.h |
| 421 |
\cp packages.conf_hr packages.conf |
| 422 |
|
| 423 |
cd ../build |
| 424 |
\rm * |
| 425 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
| 426 |
make depend |
| 427 |
make -j |
| 428 |
|
| 429 |
cd .. |
| 430 |
mkdir run |
| 431 |
cd run |
| 432 |
\rm * |
| 433 |
\cp ../input/* . |
| 434 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 435 |
qsub job_orion41 |
| 436 |
|
| 437 |
|
| 438 |
########################################################################## |
| 439 |
########################################################################## |
| 440 |
# 510*510*6*50, 1500-tile, 50-cpu cube sphere on the altices with efc |
| 441 |
# requires input files in sudirectories run_template and ncep_rgau |
| 442 |
# presently residing under orion:/tmp1/dmenem/cube |
| 443 |
|
| 444 |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 445 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 446 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
| 447 |
\cp SIZE.h_50 SIZE.h |
| 448 |
\cp packages.conf_hr packages.conf |
| 449 |
|
| 450 |
cd ../build |
| 451 |
\rm * |
| 452 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
| 453 |
make depend |
| 454 |
make -j |
| 455 |
|
| 456 |
cd .. |
| 457 |
mkdir run |
| 458 |
cd run |
| 459 |
\rm * |
| 460 |
\cp ../input/* . |
| 461 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 462 |
qsub job_orion |