1 |
Instructions for setting up a cube-sphere integration with sea-ice. |
Instructions for setting up a cube-sphere integration with sea-ice. |
2 |
Date last tested: February 10, 2004. |
Date last tested: March 9, 2004. |
3 |
This is the code used for cube3, the third 1992-2002 510x510x6 |
Code and input used for integrating cube5. |
|
cube-sphere integration. |
|
4 |
|
|
5 |
|
|
6 |
########################################################################## |
########################################################################## |
9 |
|
|
10 |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
11 |
cvs login ( CVS password: cvsanon ) |
cvs login ( CVS password: cvsanon ) |
12 |
cvs co -r hrcube_3 MITgcm_contrib/high_res_cube/README_ice |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/README_ice |
13 |
cvs co -r hrcube_3 MITgcm_contrib/high_res_cube/code-mods |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/code-mods |
14 |
cvs co -r hrcube_3 MITgcm_contrib/high_res_cube/matlab-grid-converter |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/input |
15 |
cvs co -r hrcube_3 MITgcm_contrib/high_res_cube/input |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/results |
16 |
cvs co -r hrcube_3 MITgcm_contrib/high_res_cube/results |
cvs co -r hrcube5 MITgcm_code |
17 |
cvs co -r hrcube_3 MITgcm_code |
cvs co -r hrcube5 MITgcm/verification/global_ocean.cs32x15 |
|
cvs co -r hrcube_3 MITgcm/verification/global_ocean.cs32x15 |
|
18 |
|
|
19 |
|
|
20 |
########################################################################## |
########################################################################## |
23 |
|
|
24 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
25 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
26 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
27 |
|
|
28 |
cd ../build |
cd ../build |
29 |
../../../tools/genmake2 -mods=../code |
../../../tools/genmake2 -mods=../code |
34 |
mkdir run |
mkdir run |
35 |
cd run |
cd run |
36 |
\cp ../input/* . |
\cp ../input/* . |
|
\cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
|
37 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
38 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
39 |
|
|
65 |
|
|
66 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
67 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
68 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
69 |
\cp SIZE.h_mpi SIZE.h |
\cp SIZE.h_mpi SIZE.h |
70 |
|
|
71 |
cd ../build |
cd ../build |
79 |
cd run |
cd run |
80 |
\rm * |
\rm * |
81 |
\cp ../input/* . |
\cp ../input/* . |
|
\cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
|
82 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
83 |
mpirun -np 2 ../build/mitgcmuv |
mpirun -np 2 ../build/mitgcmuv |
84 |
|
|
169 |
# matlab script for generating pChkptFreq |
# matlab script for generating pChkptFreq |
170 |
|
|
171 |
nTimeSteps=26352; |
nTimeSteps=26352; |
172 |
for niter0=216:26352:(26352*11) |
for niter0=216:26352:(26352*12) |
173 |
pChkptFreq=(niter0+nTimeSteps)*1200; |
pChkptFreq=(niter0+nTimeSteps)*1200; |
174 |
day=pChkptFreq/24/60/60; |
day=pChkptFreq/24/60/60; |
175 |
disp(['niter0=' int2str(niter0) ',day=' int2str(day) ', ' ... |
disp(['niter0=' int2str(niter0) ',day=' int2str(day) ', ' ... |
187 |
niter0 = 211032, day = 3297, 10-Jan-2001, pChkptFreq = 284860800 |
niter0 = 211032, day = 3297, 10-Jan-2001, pChkptFreq = 284860800 |
188 |
niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200 |
niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200 |
189 |
niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600 |
niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600 |
190 |
|
niter0 = 290088, day = 4395, 13-Jan-2004, pChkptFreq = 379728000 |