/[MITgcm]/MITgcm_contrib/jpl_global_tele/README
ViewVC logotype

Contents of /MITgcm_contrib/jpl_global_tele/README

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


Revision 1.2 - (show annotations) (download)
Wed Oct 13 22:15:15 2004 UTC (19 years, 6 months ago) by dimitri
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +34 -5 lines
Added MITgcm_contrib/jpl_global_tele

1 Instructions for setting up JPL global-telescoping grid integration.
2
3
4 ##########################################################################
5 # getting the code from anonymous CVS server
6
7 mitcvs co MITgcm_contrib/jpl_global_tele
8 mitcvs co MITgcm_code
9 mitcvs co MITgcm/verification/global_ocean.90x40x15
10 mitcvs co MITgcm/verification/testreport
11
12
13 ##########################################################################
14 # building code on alhena
15
16 cd MITgcm/bin
17 \rm *
18 \cp ../../MITgcm_contrib/jpl_global_tele/code/* .
19 ../tools/genmake2 -of=../tools/build_options/irix64_ip27_f77+mpi
20 make depend
21 make
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46 ##########################################################################
47 ##########################################################################
48 # testing global_ocean.90x40x15
49
50 cd MITgcm/verification
51 testreport
52
53
54 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
55 \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
56
57 cd ../build
58 ../../../tools/genmake2 -mods=../code
59 make depend
60 \rm getcon.F
61 make
62
63 cd ..
64 mkdir run
65 cd run
66 \cp ../input/* .
67 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
68 ../build/mitgcmuv >& output.txt
69
70 comparison output is in:
71 ../../../../MITgcm_contrib/high_res_cube/results/output.txt
72
73 to use matlab to look at the output
74 matlab
75
76 for fld={'Eta','VICE','UICE','HEFF','AREA','Qsw','Qnet','FV','FU','EmPmR'}
77 tmp=permute(readbin([fld{1} '.0000000020.data'],[32,6,32]),[1 3 2]);
78 cx=[min(tmp(:)) max(tmp(:))]; clf, plot_cube, title(fld{1}), pause
79 end
80
81 heff=permute(readbin(['HEFF.0000000020.data'],[32,6,32]),[1 3 2]);
82 mask=0*heff; mask(find(heff>.001))=1;
83 uice=mask.*permute(readbin(['UICE.0000000020.data'],[32,6,32]),[1 3 2]);
84 vice=mask.*permute(readbin(['VICE.0000000020.data'],[32,6,32]),[1 3 2]);
85 clf
86 subplot(221), mypcolor(uice(:,:,3)'), colorbar, title('uice, tile 3')
87 subplot(222), mypcolor(uice(:,:,6)'), colorbar, title('uice, tile 6')
88 subplot(223), mypcolor(vice(:,:,3)'), colorbar, title('vice, tile 3')
89 subplot(224), mypcolor(vice(:,:,6)'), colorbar, title('vice, tile 6')
90
91
92 ##########################################################################
93 ##########################################################################
94 # 32*32*6*15, 2-cpu cube sphere on the altices with efc
95
96 cd MITgcm/verification/global_ocean.cs32x15/code
97 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
98 \cp ../../../utils/exch2/code-mods/s12t_16x32/* .
99 \cp SIZE.h_mpi SIZE.h
100
101 cd ../build
102 \rm *
103 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
104 make depend
105 \rm getcon.F
106 make
107
108 cd ..
109 mkdir run
110 cd run
111 \rm *
112 \cp ../input/* .
113 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
114 mpirun -np 2 ../build/mitgcmuv
115
116
117 ##########################################################################
118 ##########################################################################
119 # 510*510*6*50, 54-cpu cube sphere on the altices with efc
120 # requires input files in sudirectories run_template and ncep_rgau
121 # presently residing under orion:/tmp1/dmenem/cube
122
123 cd MITgcm/verification/global_ocean.cs32x15/code
124 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
125 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
126 \cp SIZE.h_54 SIZE.h
127 \cp packages.conf_hr packages.conf
128
129 cd ../build
130 \rm *
131 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
132 make depend
133 \rm getcon.F
134 make
135
136 cd ..
137 mkdir run
138 cd run
139 \rm *
140 \cp ../input/* .
141 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
142 qsub job_orion
143
144
145 ##########################################################################
146 ##########################################################################
147 # 510*510*6*50, 205-tile, 41-cpu cube sphere on the altices with efc
148 # requires input files in sudirectories run_template and ncep_rgau
149 # presently residing under orion:/tmp1/dmenem/cube
150
151 cd MITgcm/verification/global_ocean.cs32x15/code
152 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
153 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s205t_85x85/* .
154 \cp SIZE.h_41 SIZE.h
155 \cp packages.conf_hr packages.conf
156
157 cd ../build
158 \rm *
159 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi
160 make depend
161 \rm getcon.F
162 make
163
164 cd ..
165 mkdir run
166 cd run
167 \rm *
168 \cp ../input/* .
169 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
170 qsub job_orion41
171
172
173 ##########################################################################
174 ##########################################################################
175 # 510*510*6*50, 216-cpu cube sphere on altix with efc
176 # requires input files in sudirectories run_template and ncep_rgau
177 # these can be obained from lou:/u/menemenl/cube
178
179 cd MITgcm/verification/global_ocean.cs32x15/code
180 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/* .
181 \cp ../../../../MITgcm_contrib/high_res_cube/code-mods/s216t_85x85/* .
182 \cp SIZE.h_216 SIZE.h
183 \cp packages.conf_hr packages.conf
184
185 cd ../build
186 \rm *
187 ../../../tools/genmake2 -mods=../code -of ../../../tools/build_options/linux_ia64_efc+mpi_altix
188 make depend
189 \rm getcon.F
190 make
191
192 cd ..
193 mkdir run
194 cd run
195 \rm *
196 \cp ../input/* .
197 \cp ../../../../MITgcm_contrib/high_res_cube/input/* .
198 qsub job_altix
199
200
201 ##########################################################################
202 ##########################################################################
203 # matlab script for generating pChkptFreq
204
205 nTimeSteps=26352;
206 for niter0=216:26352:(26352*11)
207 pChkptFreq=(niter0+nTimeSteps)*1200;
208 day=pChkptFreq/24/60/60;
209 disp(['niter0=' int2str(niter0) ',day=' int2str(day) ', ' ...
210 datestr(datenum(1992,1,1)+day) ', pChkptFreq=' int2str(pChkptFreq)])
211 end
212
213 niter0 = 216 , day = 369 , 04-Jan-1993, pChkptFreq = 31881600
214 niter0 = 26568 , day = 735 , 05-Jan-1994, pChkptFreq = 63504000
215 niter0 = 52920 , day = 1101, 06-Jan-1995, pChkptFreq = 95126400
216 niter0 = 79272 , day = 1467, 07-Jan-1996, pChkptFreq = 126748800
217 niter0 = 105624, day = 1833, 07-Jan-1997, pChkptFreq = 158371200
218 niter0 = 131976, day = 2199, 08-Jan-1998, pChkptFreq = 189993600
219 niter0 = 158328, day = 2565, 09-Jan-1999, pChkptFreq = 221616000
220 niter0 = 184680, day = 2931, 10-Jan-2000, pChkptFreq = 253238400
221 niter0 = 211032, day = 3297, 10-Jan-2001, pChkptFreq = 284860800
222 niter0 = 237384, day = 3663, 11-Jan-2002, pChkptFreq = 316483200
223 niter0 = 263736, day = 4029, 12-Jan-2003, pChkptFreq = 348105600

  ViewVC Help
Powered by ViewVC 1.1.22