| 1 |
daInstructions 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: February 17, 2005 |
|
| 3 |
Code and input used for integrating cube22. |
================= |
| 4 |
|
UPDATES |
| 5 |
|
|
| 6 |
|
November 1, 2006: 216-CPU code for cube43 |
| 7 |
|
Martin's growth.F routine and Patrick's pkg/seaice diagnostics |
| 8 |
|
|
| 9 |
|
October 15, 2006: 216-CPU code for cube40 |
| 10 |
|
|
| 11 |
|
September 28, 2006: 216-CPU code for cube38 |
| 12 |
|
|
| 13 |
|
September 4, 2006 |
| 14 |
|
Modified 32*32*6*15 experiments to use grid_cs32.* files from |
| 15 |
|
verification/tutorial_held_suarez_cs/input instead of |
| 16 |
|
tile* files from verification/global_ocean.cs32x15/input |
| 17 |
|
|
| 18 |
|
August 8, 2006: 216-CPU code and input used for cube37 |
| 19 |
|
using "June 10, 2006" MITgcm code. |
| 20 |
|
|
| 21 |
|
for online T/S profile diagnostics all that is needed is |
| 22 |
|
profiles_init_fixed |
| 23 |
|
profiles_inloop |
| 24 |
|
see pkg/ecco/ecco_cost_init_fixed.F |
| 25 |
|
pkg/ecco/cost_averagesfields.F |
| 26 |
|
|
| 27 |
|
|
| 28 |
########################################################################## |
########################################################################## |
| 29 |
########################################################################## |
########################################################################## |
| 30 |
# getting the code from anonymous CVS server |
# getting the code from anonymous CVS server |
| 31 |
|
# |
| 32 |
|
|
| 33 |
|
bash or sh shell: |
| 34 |
|
$ export CVSROOT=':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 35 |
|
$ cvs login |
| 36 |
|
( enter the CVS password: "cvsanon" ) |
| 37 |
|
|
| 38 |
|
tcsh or csh shell: |
| 39 |
|
$ setenv CVSROOT ':pserver:cvsanon@mitgcm.org:/u/gcmpack' |
| 40 |
|
$ cvs login |
| 41 |
|
( enter the CVS password: "cvsanon" ) |
| 42 |
|
|
| 43 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
cvs co MITgcm_contrib/high_res_cube/README_ice |
| 44 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
cvs co MITgcm_contrib/high_res_cube/code-mods |
| 46 |
cvs co MITgcm_contrib/high_res_cube/results |
cvs co MITgcm_contrib/high_res_cube/results |
| 47 |
cvs co MITgcm_code |
cvs co MITgcm_code |
| 48 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
| 49 |
cvs co MITgcm/verification/testreport |
cvs co MITgcm/verification/tutorial_held_suarez_cs/input |
| 50 |
|
|
| 51 |
|
|
| 52 |
|
########################################################################## |
| 53 |
|
########################################################################## |
| 54 |
|
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
| 55 |
|
# requires input files in sudirectories run_template and ncep_rgau |
| 56 |
|
# these can be obained from lou:/u/menemenl/cube |
| 57 |
|
|
| 58 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
| 59 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 60 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
| 61 |
|
\cp SIZE.h_216 SIZE.h |
| 62 |
|
\cp packages.conf_hr packages.conf |
| 63 |
|
|
| 64 |
|
cd ../build |
| 65 |
|
\rm * |
| 66 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_ifort+mpi_altix_nas |
| 67 |
|
make depend |
| 68 |
|
make -j |
| 69 |
|
|
| 70 |
|
cd .. |
| 71 |
|
mkdir run |
| 72 |
|
cd run |
| 73 |
|
\rm * |
| 74 |
|
\cp ../input/* . |
| 75 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 76 |
|
ln -sf ../../../../run_template/* . |
| 77 |
|
\rm pickup* eedata.mth data.pkg data.seaice data.exf_clim data.exf data.mnc data pr* |
| 78 |
|
\rm bathy_Hmin50.bin *192_94* *cs32* *.m lev* tren* job_c* job_altix150 job_altix92_54t |
| 79 |
|
ln -sf ../../../../run_template/pickup.0000000216.cube38 pickup.0000000216 |
| 80 |
|
ln -sf ../../../../run_template/pickup_seaice.0000000216.cube38 pickup_seaice.0000000216 |
| 81 |
|
\cp ../build/mitgcmuv . |
| 82 |
|
qsub job_altix |
| 83 |
|
|
| 84 |
|
|
| 85 |
########################################################################## |
########################################################################## |
| 98 |
mkdir run |
mkdir run |
| 99 |
cd run |
cd run |
| 100 |
\rm * |
\rm * |
| 101 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
| 102 |
\cp ../input/* . |
\cp ../input/* . |
| 103 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 104 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
| 142 |
mkdir run |
mkdir run |
| 143 |
cd run |
cd run |
| 144 |
\rm * |
\rm * |
| 145 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
| 146 |
\cp ../input/* . |
\cp ../input/* . |
| 147 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 148 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
| 167 |
mkdir run |
mkdir run |
| 168 |
cd run |
cd run |
| 169 |
\rm * |
\rm * |
| 170 |
|
\cp ../../tutorial_held_suarez_cs/input/grid* . |
| 171 |
\cp ../input/* . |
\cp ../input/* . |
| 172 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 173 |
mpirun -np 2 ../build/mitgcmuv |
mpirun -np 2 ../build/mitgcmuv |
| 201 |
|
|
| 202 |
########################################################################## |
########################################################################## |
| 203 |
########################################################################## |
########################################################################## |
| 204 |
# 510*510*6*50, 216-cpu cube sphere on altix with ifort and pkg/diagnostics |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
| 205 |
# requires input files in sudirectories run_template and ncep_rgau |
# uses s1500t_17x51 configuration |
|
# these can be obained from lou:/u/menemenl/cube |
|
| 206 |
|
|
| 207 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 208 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 209 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
| 210 |
\cp SIZE.h_216 SIZE.h |
\cp SIZE.h_150 SIZE.h |
| 211 |
\cp packages.conf_hr packages.conf |
\cp packages.conf_hr packages.conf |
| 212 |
|
|
| 213 |
cd ../build |
cd ../build |
| 224 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 225 |
ln -sf ../../../../run_template/* . |
ln -sf ../../../../run_template/* . |
| 226 |
\rm pickup* |
\rm pickup* |
| 227 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 228 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 229 |
\cp ../build/mitgcmuv . |
\cp ../build/mitgcmuv mitgcmuv150 |
| 230 |
qsub job_altix |
qsub job_altix150 |
| 231 |
|
|
| 232 |
|
|
| 233 |
########################################################################## |
########################################################################## |
| 234 |
########################################################################## |
########################################################################## |
| 235 |
# 510*510*6*50, 1500-tile, 150-cpu, excludes land |
# 510*510*6*50, 1500-tile, 375-cpu, excludes land |
| 236 |
# uses s1500t_17x51 configuration |
# uses s1500t_17x51 configuration |
| 237 |
|
# example for running on c17-c20 using arrayd |
| 238 |
|
|
| 239 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
| 240 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 241 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s1500t_17x51/* . |
| 242 |
\cp SIZE.h_150 SIZE.h |
\cp SIZE.h_375 SIZE.h |
| 243 |
\cp packages.conf_hr packages.conf |
\cp packages.conf_hr packages.conf |
| 244 |
|
|
| 245 |
cd ../build |
cd ../build |
| 256 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 257 |
ln -sf ../../../../run_template/* . |
ln -sf ../../../../run_template/* . |
| 258 |
\rm pickup* |
\rm pickup* |
| 259 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 260 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 261 |
\cp ../build/mitgcmuv mitgcmuv150 |
\cp ../build/mitgcmuv . |
| 262 |
qsub job_altix150 |
job_c20_375cpu < /dev/null >&! output.run & |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 263 |
|
|
| 264 |
|
|
| 265 |
########################################################################## |
########################################################################## |
| 288 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 289 |
ln -sf ../../../../run_template/* . |
ln -sf ../../../../run_template/* . |
| 290 |
\rm pickup* |
\rm pickup* |
| 291 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 292 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 293 |
\cp ../build/mitgcmuv . |
\cp ../build/mitgcmuv . |
| 294 |
job_c20_375cpu < /dev/null >&! output.run & |
job_c20_375cpu < /dev/null >&! output.run & |
| 295 |
|
|
| 320 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 321 |
ln -sf ../../../../run_template/* . |
ln -sf ../../../../run_template/* . |
| 322 |
\rm pickup* |
\rm pickup* |
| 323 |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216.data |
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 324 |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216.data |
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 325 |
\cp ../build/mitgcmuv . |
\cp ../build/mitgcmuv . |
| 326 |
job_c19_500cpu < /dev/null >&! output.run & |
job_c19_500cpu < /dev/null >&! output.run & |
| 327 |
|
|
| 328 |
|
|
| 329 |
|
########################################################################## |
| 330 |
|
########################################################################## |
| 331 |
|
# 510*510*6*50, 216-cpu cube sphere on cosmos |
| 332 |
|
|
| 333 |
|
cd MITgcm/verification/global_ocean.cs32x15/code |
| 334 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
| 335 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
| 336 |
|
\cp SIZE.h_216 SIZE.h |
| 337 |
|
\cp packages.conf_hr packages.conf |
| 338 |
|
|
| 339 |
|
module unload latest_intel80 |
| 340 |
|
module unload mpich-gm-intel80 |
| 341 |
|
module load latest_intel81 |
| 342 |
|
module load mpich-gm-intel81 |
| 343 |
|
|
| 344 |
|
cd ../build |
| 345 |
|
\rm * |
| 346 |
|
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia32_ifort+mpi_cosmos |
| 347 |
|
make depend |
| 348 |
|
make -j |
| 349 |
|
|
| 350 |
|
cd .. |
| 351 |
|
mkdir run |
| 352 |
|
cd run |
| 353 |
|
\rm * |
| 354 |
|
\cp ../input/* . |
| 355 |
|
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
| 356 |
|
ln -sf ../../../../run_template/* . |
| 357 |
|
\rm pickup* |
| 358 |
|
ln -sf ../../../../run_template/pickup.0000316440.cube19 pickup.0000000216 |
| 359 |
|
ln -sf ../../../../run_template/pickup_seaice.0000316440.cube19 pickup_seaice.0000000216 |
| 360 |
|
\cp ../build/mitgcmuv . |
| 361 |
|
bsub < job_cosmos |
|
|
|
|
|
|
|
|
|
|
|
|
| 362 |
|
|
| 363 |
|
|
| 364 |
########################################################################## |
########################################################################## |