/[MITgcm]/MITgcm_contrib/high_res_cube/README_ice
ViewVC logotype

Contents of /MITgcm_contrib/high_res_cube/README_ice

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.11 - (show annotations) (download)
Sun Dec 14 05:16:46 2003 UTC (21 years, 7 months ago) by dimitri
Branch: MAIN
Changes since 1.10: +2 -1 lines
MITgcm_contrib/high_res_cube changes

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 packages.conf
23
24 cd ..
25 mkdir build
26 cd build
27 ../../../tools/genmake2 -mods=../code
28 make depend
29 make
30
31 cd ..
32 mkdir run
33 cd run
34 \cp ../input/* .
35 \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
36 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
37 ../build/mitgcmuv >& output.txt
38
39 comparison output is in:
40 ../../../../MITgcm_contrib/high_res_cube/results/output.txt
41
42 to use matlab to look at the output
43 matlab
44 for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
45 tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);
46 cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
47 end
48
49
50 ##########################################################################
51 ##########################################################################
52 # 32*32*6*15, 2-cpu cube sphere on the altices with efc
53
54 setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
55 cvs login ( CVS password: cvsanon )
56 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
57 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
58 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
59 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
60 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
61 cvs co -r checkpoint52d_pre MITgcm_code
62 cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
63
64 cd MITgcm/verification/global_ocean.cs32x15/code
65 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
66 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s12t_16x32/* .
67 \cp SIZE.h_mpi SIZE.h
68 \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
69 \rm mdsio_readfield.F
70
71 cd ..
72 mkdir build
73 cd build
74 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
75 make depend
76 make
77
78 cd ..
79 mkdir run
80 cd run
81 \cp ../input/* .
82 \cp ../../../../MITgcm_contrib/high_res_cube/matlab-grid-converter/tile00* .
83 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
84 mpirun -np 2 ../build/mitgcmuv
85
86
87 ##########################################################################
88 ##########################################################################
89 # 510*510*6*50, 54-cpu cube sphere on the altices with efc
90
91 setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
92 cvs login ( CVS password: cvsanon )
93 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
94 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
95 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
96 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
97 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
98 cvs co -r checkpoint52d_pre MITgcm_code
99 cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
100
101 cd MITgcm/verification/global_ocean.cs32x15/code
102 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
103 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
104 \cp SIZE.h_54 SIZE.h
105 \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
106 \cp packages.conf_hr packages.conf
107 \rm mdsio_readfield.F
108
109 cd ..
110 mkdir build
111 cd build
112 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
113 make depend
114 make
115
116 cd ..
117 mkdir run
118 cd run
119 \cp ../input/* .
120 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
121 \cp data_hr data
122 \ln -sf ../../../../run_template/tile00* .
123 \ln -sf ../../../../run_template/LEV* .
124 \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .
125 qsub job_orion
126
127
128 ##########################################################################
129 ##########################################################################
130 # 510*510*6*50, 216-cpu cube sphere on the altices with efc
131
132 setenv CVSROOT :pserver:cvsanon@mitgcm.org:/u/u0/gcmpack
133 cvs login ( CVS password: cvsanon )
134 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/README_ice
135 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/code-mods
136 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/matlab-grid-converter
137 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/input
138 cvs co -r checkpoint52d_pre MITgcm_contrib/high_res_cube/results
139 cvs co -r checkpoint52d_pre MITgcm_code
140 cvs co -r checkpoint52d_pre MITgcm/verification/global_ocean.cs32x15
141
142 cd MITgcm/verification/global_ocean.cs32x15/code
143 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
144 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
145 \cp SIZE.h_216 SIZE.h
146 \cp CPP_EEOPTIONS.h_mpi CPP_EEOPTIONS.h
147 \rm mdsio_readfield.F
148
149 cd ..
150 mkdir build
151 cd build
152 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
153 make depend
154 make
155
156 cd ..
157 mkdir run
158 cd run
159 \cp ../input/* .
160 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
161 \cp data_hr data
162 \cp data.pkg_hr data.pkg
163 \ln -sf ../../../../run_template/tile00* .
164 \ln -sf ../../../../run_template/LEV* .
165 \ln -sf ../../../../run_template/BATHY_18360x85_filled.bin .
166 qsub job_orion

  ViewVC Help
Powered by ViewVC 1.1.22