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 13, 2004. |
Date last tested: March 9, 2004. |
3 |
This is the code used for cube4, 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 hrcube4 MITgcm_contrib/high_res_cube/README_ice |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/README_ice |
13 |
cvs co -r hrcube4 MITgcm_contrib/high_res_cube/code-mods |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/code-mods |
14 |
cvs co -r hrcube4 MITgcm_contrib/high_res_cube/matlab-grid-converter |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/input |
15 |
cvs co -r hrcube4 MITgcm_contrib/high_res_cube/input |
cvs co -r hrcube5 MITgcm_contrib/high_res_cube/results |
16 |
cvs co -r hrcube4 MITgcm_contrib/high_res_cube/results |
cvs co -r hrcube5 MITgcm_code |
17 |
cvs co -r hrcube4 MITgcm_code |
cvs co -r hrcube5 MITgcm/verification/global_ocean.cs32x15 |
|
cvs co -r hrcube4 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 |
30 |
make depend |
make depend |
31 |
|
\rm getcon.F |
32 |
make |
make |
33 |
|
|
34 |
cd .. |
cd .. |
35 |
mkdir run |
mkdir run |
36 |
cd run |
cd run |
37 |
\cp ../input/* . |
\cp ../input/* . |
|
\cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
|
38 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
39 |
../build/mitgcmuv >& output.txt |
../build/mitgcmuv >& output.txt |
40 |
|
|
66 |
|
|
67 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
68 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
69 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
\cp ../../../utils/exch2/code-mods/s12t_16x32/* . |
70 |
\cp SIZE.h_mpi SIZE.h |
\cp SIZE.h_mpi SIZE.h |
71 |
|
|
72 |
cd ../build |
cd ../build |
73 |
\rm * |
\rm * |
74 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
75 |
make depend |
make depend |
76 |
|
\rm getcon.F |
77 |
make |
make |
78 |
|
|
79 |
cd .. |
cd .. |
81 |
cd run |
cd run |
82 |
\rm * |
\rm * |
83 |
\cp ../input/* . |
\cp ../input/* . |
|
\cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
|
84 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
85 |
mpirun -np 2 ../build/mitgcmuv |
mpirun -np 2 ../build/mitgcmuv |
86 |
|
|
101 |
\rm * |
\rm * |
102 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
103 |
make depend |
make depend |
104 |
|
\rm getcon.F |
105 |
make |
make |
106 |
|
|
107 |
cd .. |
cd .. |
129 |
\rm * |
\rm * |
130 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
131 |
make depend |
make depend |
132 |
|
\rm getcon.F |
133 |
make |
make |
134 |
|
|
135 |
cd .. |
cd .. |
157 |
\rm * |
\rm * |
158 |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix |
159 |
make depend |
make depend |
160 |
|
\rm getcon.F |
161 |
make |
make |
162 |
|
|
163 |
cd .. |
cd .. |
166 |
\rm * |
\rm * |
167 |
\cp ../input/* . |
\cp ../input/* . |
168 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
169 |
qsub -l ignore_ded=1 job_altix |
qsub job_altix |
170 |
|
|
171 |
|
|
172 |
########################################################################## |
########################################################################## |