1 |
# Instructions for setting up a 28-level CS510 integration with sea-ice. |
# Instructions for setting up 28-level CS510 integrations with sea-ice. |
2 |
|
# The example below is for a 3-year (2002-2004), 216-cpu integration |
3 |
# Get forcing files, etc. |
# on Columbia using cube81 forcing and model parameters. |
|
# Example below is for cube81 on /nobackup2a/menemenl |
|
|
cd /nobackup2a/menemenl |
|
|
mkdir cube81 |
|
|
cd cube81 |
|
|
ln -sf ../run_template . |
|
|
ln -sf ../cube78_forcing . |
|
|
ln -sf ../ncep_rgau/ . |
|
4 |
|
|
5 |
# get code from anonymous CVS server |
# get code from anonymous CVS server |
6 |
cvs co MITgcm_contrib/high_res_cube/README.cs510 |
cd /nobackup2a/menemenl/cs510/cs510_28lev |
7 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
cvs co MITgcm_contrib/high_res_cube/cs510_28lev |
8 |
cvs co MITgcm_contrib/high_res_cube/input |
cvs co MITgcm_code |
|
cvs co MITgcm_code |
|
9 |
|
|
10 |
# 510*510*6*50, 450-cpu cube sphere on altix with ifort |
# Build and compile code. |
11 |
cd MITgcm |
cd MITgcm |
12 |
mkdir build run |
mkdir build run |
13 |
cd build |
cd build |
14 |
\rm * |
\rm * |
15 |
\cp ../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../MITgcm_contrib/high_res_cube/cs510_28lev/code/* . |
16 |
\cp ../../MITgcm_contrib/high_res_cube/code-mods/s1350t_34x34/* . |
\cp ../../MITgcm_contrib/high_res_cube/cs510_28lev/code/s216t_85x85/* . |
17 |
\mv SIZE.h_450 SIZE.h |
\mv SIZE.h_216 SIZE.h |
18 |
../tools/genmake2 -of linux_ia64_ifort+mpi_altix_nas |
../tools/genmake2 -of linux_ia64_ifort+mpi_altix_nas |
19 |
make depend |
make depend |
20 |
make -j |
make -j |
|
cd ../run |
|
|
\rm * |
|
|
\cp ../../MITgcm_contrib/high_res_cube/input/* . |
|
|
ln -sf ../../run_template/* . |
|
|
\rm pickup* *192_94* *.m D*1 E* G*all.bin L* W*10.bin h*[6-7] PHC* |
|
|
\mv data.exf_hr data.exf |
|
|
\mv data_hr data |
|
|
ln -sf ../../run_template/pickup.0000000216.cube78 pickup.0000000216 |
|
|
ln -sf ../../run_template/pickup_seaice.0000000216.cube78 pickup_seaice.0000000216 |
|
|
ln -sf ../../run_template/pickup.0000000216.meta.cube78 pickup.0000000216.meta |
|
|
ln -sf ../../run_template/pickup_seaice.0000000216.meta.cube78 pickup_seaice.0000000216.meta |
|
|
\cp ../build/mitgcmuv . |
|
|
\mv job_altix cube81 |
|
|
qsub cube81 |
|
21 |
|
|
22 |
# generating initial pickup files for cube78 |
# Integrate model. |
23 |
data |
# In addition to columbia:/nobackup2a, input files are also available on |
24 |
# run for 4 days from time step 216 with 2-min time step |
# http://ecco2.jpl.nasa.gov/data1/cube/run_template/ |
25 |
endtime=345600., |
# http://ecco2.jpl.nasa.gov/data1/cube/run_template_28lev |
26 |
deltaT=120., |
# http://ecco2.jpl.nasa.gov/data1/data/blend_forcing/cube78_forcing/ |
27 |
pChkptFreq=345600., |
cd ../run |
28 |
monitorFreq=1., |
\rm * |
29 |
|
\cp ../../MITgcm_contrib/high_res_cube/cs510_28lev/input/* . |
30 |
|
\ln -sf /nobackup2a/menemenl/cs510/run_template/tile00* . |
31 |
|
\ln -sf /nobackup2a/menemenl/cs510/run_template_28lev . |
32 |
|
\ln -sf /nobackup2a/menemenl/forcing/cube78_forcing . |
33 |
|
\cp ../build/mitgcmuv . |
34 |
|
qsub job_altix |
35 |
|
|
36 |
cd ../../run_template |
# to generate initial pickup files run for 4 days with 2-min time steps |
37 |
mv pickup.0000000216.cube78 pickup.0000000216.cube78_raw |
niter0 = 0, |
38 |
mv pickup_seaice.0000000216.cube78 pickup_seaice.0000000216.cube78_raw |
endtime = 345600., |
39 |
cd ../cube78/MITgcm/run |
deltaT = 120., |
40 |
\mv pickup.0000002880.data ../../run_template/pickup.0000000216.cube78 |
pChkptFreq = 345600., |
41 |
\mv pickup_seaice.0000002880.data ../../run_template/pickup_seaice.0000000216.cube78 |
monitorFreq = 1., |
|
\mv pickup.0000002880.meta ../../run_template/pickup.0000000216.meta.cube78 |
|
|
\mv pickup_seaice.0000002880.meta ../../run_template/pickup_seaice.0000000216.meta.cube78 |
|
|
\rm *.meta *.data STD* cube78.o* |
|
|
\cp ../../MITgcm_contrib/high_res_cube/input/data_hr data |
|
|
ln -sf ../../run_template/pickup.0000000216.cube78 pickup.0000000216 |
|
|
ln -sf ../../run_template/pickup_seaice.0000000216.cube78 pickup_seaice.0000000216 |
|
|
ln -sf ../../run_template/pickup.0000000216.meta.cube78 pickup.0000000216.meta |
|
|
ln -sf ../../run_template/pickup_seaice.0000000216.meta.cube78 pickup_seaice.0000000216.meta |
|
|
qsub cube78 |
|