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: November 21, 2003. |
Date last tested: December 6, 2003. |
3 |
|
|
4 |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
5 |
cvs login ( CVS password: cvsanon ) |
cvs login ( CVS password: cvsanon ) |
6 |
cvs co MITgcm_contrib/high_res_cube/code-mods |
|
7 |
cvs co MITgcm_contrib/high_res_cube/matlab-grid-converter |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice |
8 |
cvs co MITgcm_contrib/high_res_cube/README_ice |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods |
9 |
cvs co -r checkpoint52a_post MITgcm_code |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter |
10 |
cvs co MITgcm/verification/global_ocean.cs32x15 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input |
11 |
|
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results |
12 |
|
|
13 |
|
cvs co -r checkpoint52d_pre MITgcm_code |
14 |
|
cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15 |
15 |
|
|
16 |
cd MITgcm/verification/global_ocean.cs32x15/code |
cd MITgcm/verification/global_ocean.cs32x15/code |
17 |
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
18 |
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
19 |
\rm mdsio_readfield.F |
\rm mdsio_readfield.F |
20 |
|
|
21 |
cd .. |
cd .. |
22 |
mkdir build |
mkdir build |
23 |
cd build |
cd build |
24 |
../code/genmake2 -mods=../code |
../code/genmake2 -mods=../code |
25 |
make depend |
make depend |
26 |
make |
make |
27 |
|
|
28 |
cd .. |
cd .. |
29 |
mkdir run |
mkdir run |
30 |
cd run |
cd run |
31 |
|
cp ../inp_thsice/* . |
32 |
cp ../input/* . |
cp ../input/* . |
33 |
cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
34 |
cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
35 |
../build/mitgcmuv >& output |
../build/mitgcmuv >& output.txt |
36 |
|
|
37 |
|
comparison output is in: |
38 |
|
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
39 |
|
|
40 |
|
to use matlab to look at the output |
41 |
|
matlab |
42 |
|
for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'} |
43 |
|
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
44 |
|
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
45 |
|
end |