1 |
Instructions for setting up a cube-sphere integration with sea-ice. |
2 |
Date last tested: December 11, 2003. |
3 |
|
4 |
|
5 |
########################################################################## |
6 |
########################################################################## |
7 |
# 32*32*6*15, 1-cpu cube sphere |
8 |
|
9 |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
10 |
cvs login ( CVS password: cvsanon ) |
11 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice |
12 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods |
13 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter |
14 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input |
15 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results |
16 |
cvs co -r checkpoint52d_pre MITgcm_code |
17 |
cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15 |
18 |
|
19 |
cd MITgcm/verification/global_ocean.cs32x15/code |
20 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
21 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
22 |
\rm mdsio_readfield.F |
23 |
|
24 |
cd .. |
25 |
mkdir build |
26 |
cd build |
27 |
../code/genmake2 -mods=../code |
28 |
make depend |
29 |
make |
30 |
|
31 |
cd .. |
32 |
mkdir run |
33 |
cd run |
34 |
\cp ../inp_thsice/* . |
35 |
\cp ../input/* . |
36 |
\cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
37 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
38 |
../build/mitgcmuv >& output.txt |
39 |
|
40 |
comparison output is in: |
41 |
../../../../MITgcm_contrib/high_res_cube/results/output.txt |
42 |
|
43 |
to use matlab to look at the output |
44 |
matlab |
45 |
for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'} |
46 |
tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]); |
47 |
cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause |
48 |
end |
49 |
|
50 |
|
51 |
########################################################################## |
52 |
########################################################################## |
53 |
# 32*32*6*15, 2-cpu cube sphere on the altices with efc |
54 |
|
55 |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
56 |
cvs login ( CVS password: cvsanon ) |
57 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice |
58 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods |
59 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter |
60 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input |
61 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results |
62 |
cvs co -r checkpoint52d_pre MITgcm_code |
63 |
cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15 |
64 |
|
65 |
cd MITgcm/verification/global_ocean.cs32x15/code |
66 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
67 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* . |
68 |
\cp SIZE.h_mpi SIZE.h |
69 |
\cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h |
70 |
\rm mdsio_readfield.F |
71 |
|
72 |
cd .. |
73 |
mkdir build |
74 |
cd build |
75 |
../code/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
76 |
make depend |
77 |
make |
78 |
|
79 |
cd .. |
80 |
mkdir run |
81 |
cd run |
82 |
\cp ../inp_thsice/* . |
83 |
\cp ../input/* . |
84 |
\cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* . |
85 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
86 |
mpirun -np 2 ../build/mitgcmuv |
87 |
|
88 |
|
89 |
########################################################################## |
90 |
########################################################################## |
91 |
# 32*32*6*15, 2-cpu cube sphere on the altices with efc |
92 |
|
93 |
setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack |
94 |
cvs login ( CVS password: cvsanon ) |
95 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice |
96 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods |
97 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter |
98 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input |
99 |
cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results |
100 |
cvs co -r checkpoint52d_pre MITgcm_code |
101 |
cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15 |
102 |
|
103 |
cd MITgcm/verification/global_ocean.cs32x15/code |
104 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* . |
105 |
\cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* . |
106 |
\cp SIZE.h_54 SIZE.h |
107 |
\cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h |
108 |
\rm mdsio_readfield.F |
109 |
|
110 |
cd .. |
111 |
mkdir build |
112 |
cd build |
113 |
../code/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi |
114 |
make depend |
115 |
make |
116 |
|
117 |
cd .. |
118 |
mkdir run |
119 |
cd run |
120 |
\cp ../inp_thsice/* . |
121 |
\cp ../input/* . |
122 |
\cp ../../../../MITgcm_contrib/high_res_cube/input/* . |
123 |
\cp data_hr data |
124 |
\ln -sf ../../../../run_template/tile00* . |
125 |
\ln -sf ../../../../run_template/LEV* . |
126 |
\ln -sf ../../../../run_template/BATHY_18360x85_filled.bin . |
127 |
qsub job_orion |