1 |
gforget |
1.22 |
C $Header: /u/gcmpack/MITgcm/pkg/ecco/ecco_summary.F,v 1.21 2015/06/18 16:57:57 gforget Exp $ |
2 |
jmc |
1.6 |
C $Name: $ |
3 |
heimbach |
1.2 |
|
4 |
jmc |
1.12 |
#include "ECCO_OPTIONS.h" |
5 |
heimbach |
1.2 |
|
6 |
jmc |
1.20 |
SUBROUTINE ECCO_SUMMARY( mythid ) |
7 |
heimbach |
1.2 |
|
8 |
|
|
c ================================================================== |
9 |
gforget |
1.15 |
c SUBROUTINE ecco_summary |
10 |
heimbach |
1.2 |
c ================================================================== |
11 |
|
|
c |
12 |
|
|
c o Summarize the setup of the ECCO release. |
13 |
|
|
c |
14 |
gforget |
1.19 |
#ifdef ECCO_CTRL_DEPRECATED |
15 |
heimbach |
1.2 |
c started: Christian Eckert eckert@mit.edu 29-Feb-1999 |
16 |
|
|
c |
17 |
|
|
c - Introduced to create a package for the MITgcmUV. |
18 |
|
|
c |
19 |
|
|
c changed: Christian Eckert eckert@mit.edu |
20 |
gforget |
1.15 |
#endif |
21 |
heimbach |
1.2 |
c |
22 |
|
|
c ================================================================== |
23 |
gforget |
1.15 |
c SUBROUTINE ecco_summary |
24 |
heimbach |
1.2 |
c ================================================================== |
25 |
|
|
|
26 |
|
|
implicit none |
27 |
|
|
|
28 |
|
|
c == global variables == |
29 |
|
|
#include "EEPARAMS.h" |
30 |
gforget |
1.14 |
#include "SIZE.h" |
31 |
heimbach |
1.2 |
#include "ecco.h" |
32 |
|
|
|
33 |
gforget |
1.15 |
#ifdef ALLOW_CTRL |
34 |
|
|
# include "optim.h" |
35 |
heimbach |
1.2 |
#endif |
36 |
|
|
|
37 |
|
|
c == routine arguments == |
38 |
|
|
c integer mythid - thread number for this instance of the routine. |
39 |
|
|
integer mythid |
40 |
|
|
|
41 |
|
|
c == local variables == |
42 |
|
|
character*(max_len_mbuf) msgbuf |
43 |
gforget |
1.15 |
#ifdef ALLOW_GENCOST_CONTRIBUTION |
44 |
gforget |
1.17 |
integer k, k2, il, msgunit |
45 |
gforget |
1.15 |
#endif |
46 |
heimbach |
1.2 |
|
47 |
|
|
c == external == |
48 |
gforget |
1.15 |
integer ilnblnk |
49 |
|
|
external ilnblnk |
50 |
|
|
|
51 |
heimbach |
1.2 |
c == end of interface == |
52 |
|
|
|
53 |
|
|
write(msgbuf,'(a)') |
54 |
|
|
&' ' |
55 |
|
|
call print_message( msgbuf, standardmessageunit, |
56 |
|
|
& SQUEEZE_RIGHT , mythid) |
57 |
|
|
write(msgbuf,'(a)') |
58 |
|
|
&'// =======================================================' |
59 |
|
|
call print_message( msgbuf, standardmessageunit, |
60 |
|
|
& SQUEEZE_RIGHT , mythid) |
61 |
|
|
write(msgbuf,'(a)') |
62 |
|
|
&'// ECCO configuration >>> START <<<' |
63 |
|
|
call print_message( msgbuf, standardmessageunit, |
64 |
|
|
& SQUEEZE_RIGHT , mythid) |
65 |
|
|
write(msgbuf,'(a)') |
66 |
|
|
&'// =======================================================' |
67 |
|
|
call print_message( msgbuf, standardmessageunit, |
68 |
|
|
& SQUEEZE_RIGHT , mythid) |
69 |
gforget |
1.15 |
|
70 |
gforget |
1.19 |
#ifdef ECCO_CTRL_DEPRECATED |
71 |
heimbach |
1.2 |
write(msgbuf,'(a)') |
72 |
|
|
&' ' |
73 |
|
|
call print_message( msgbuf, standardmessageunit, |
74 |
|
|
& SQUEEZE_RIGHT , mythid) |
75 |
|
|
write(msgbuf,'(a,a)') |
76 |
|
|
&'ECCO version: ',eccoversion |
77 |
|
|
call print_message( msgbuf, standardmessageunit, |
78 |
|
|
& SQUEEZE_RIGHT , mythid) |
79 |
|
|
write(msgbuf,'(a)') |
80 |
|
|
&' ' |
81 |
|
|
call print_message( msgbuf, standardmessageunit, |
82 |
|
|
& SQUEEZE_RIGHT , mythid) |
83 |
|
|
write(msgbuf,'(a)') |
84 |
|
|
&'Packages used: ' |
85 |
|
|
call print_message( msgbuf, standardmessageunit, |
86 |
|
|
& SQUEEZE_RIGHT , mythid) |
87 |
|
|
write(msgbuf,'(a,a)') |
88 |
|
|
&'Calendar version: ',eccoUsesCalVersion |
89 |
|
|
call print_message( msgbuf, standardmessageunit, |
90 |
|
|
& SQUEEZE_RIGHT , mythid) |
91 |
|
|
write(msgbuf,'(a,a)') |
92 |
|
|
&'External Forcing version: ',eccoUsesExfVersion |
93 |
|
|
call print_message( msgbuf, standardmessageunit, |
94 |
|
|
& SQUEEZE_RIGHT , mythid) |
95 |
|
|
write(msgbuf,'(a,a)') |
96 |
|
|
&'Adjoint support version: ',eccoUsesAdsuppVersion |
97 |
|
|
call print_message( msgbuf, standardmessageunit, |
98 |
|
|
& SQUEEZE_RIGHT , mythid) |
99 |
|
|
write(msgbuf,'(a,a)') |
100 |
|
|
&'Optimization version: ',eccoUsesOptimVersion |
101 |
|
|
call print_message( msgbuf, standardmessageunit, |
102 |
|
|
& SQUEEZE_RIGHT , mythid) |
103 |
|
|
write(msgbuf,'(a)') |
104 |
|
|
&' ' |
105 |
|
|
call print_message( msgbuf, standardmessageunit, |
106 |
|
|
& SQUEEZE_RIGHT , mythid) |
107 |
|
|
|
108 |
|
|
c-- For each CPP option state if it is enabled or disabled. |
109 |
|
|
c-- ======================================================= |
110 |
|
|
|
111 |
|
|
#ifdef ALLOW_ECCO_FORWARD_RUN |
112 |
|
|
write(msgbuf,'(a)') |
113 |
jmc |
1.20 |
&'// ALLOW_ECCO_FORWARD_RUN: defined' |
114 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
115 |
|
|
& SQUEEZE_RIGHT , mythid) |
116 |
|
|
#else |
117 |
|
|
write(msgbuf,'(a)') |
118 |
jmc |
1.20 |
&'// ALLOW_ECCO_FORWARD_RUN: NOT defined' |
119 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
120 |
|
|
& SQUEEZE_RIGHT , mythid) |
121 |
|
|
#endif |
122 |
|
|
|
123 |
|
|
#ifdef ALLOW_ECCO_DIAGNOSTIC_RUN |
124 |
|
|
write(msgbuf,'(a)') |
125 |
jmc |
1.20 |
&'// ALLOW_ECCO_DIAGNOSTIC_RUN: defined' |
126 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
127 |
|
|
& SQUEEZE_RIGHT , mythid) |
128 |
|
|
#else |
129 |
|
|
write(msgbuf,'(a)') |
130 |
jmc |
1.20 |
&'// ALLOW_ECCO_DIAGNOSTIC_RUN: NOT defined' |
131 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
132 |
|
|
& SQUEEZE_RIGHT , mythid) |
133 |
|
|
#endif |
134 |
|
|
|
135 |
|
|
#ifdef ALLOW_ADJOINT_RUN |
136 |
|
|
write(msgbuf,'(a)') |
137 |
jmc |
1.20 |
&'// ALLOW_ADJOINT_RUN: defined' |
138 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
139 |
|
|
& SQUEEZE_RIGHT , mythid) |
140 |
|
|
#else |
141 |
|
|
write(msgbuf,'(a)') |
142 |
jmc |
1.20 |
&'// ALLOW_ADJOINT_RUN: NOT defined' |
143 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
144 |
|
|
& SQUEEZE_RIGHT , mythid) |
145 |
|
|
#endif |
146 |
|
|
|
147 |
|
|
#ifdef ALLOW_GRADIENT_CHECK |
148 |
|
|
write(msgbuf,'(a)') |
149 |
jmc |
1.20 |
&'// ALLOW_GRADIENT_CHECK: defined' |
150 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
151 |
|
|
& SQUEEZE_RIGHT , mythid) |
152 |
|
|
#else |
153 |
|
|
write(msgbuf,'(a)') |
154 |
jmc |
1.20 |
&'// ALLOW_GRADIENT_CHECK: NOT defined' |
155 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
156 |
|
|
& SQUEEZE_RIGHT , mythid) |
157 |
|
|
#endif |
158 |
|
|
|
159 |
|
|
#ifdef ALLOW_ECCO_OPTIMIZATION |
160 |
|
|
write(msgbuf,'(a)') |
161 |
jmc |
1.20 |
&'// ALLOW_ECCO_OPTIMIZATION: defined' |
162 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
163 |
|
|
& SQUEEZE_RIGHT , mythid) |
164 |
|
|
#else |
165 |
|
|
write(msgbuf,'(a)') |
166 |
jmc |
1.20 |
&'// ALLOW_ECCO_OPTIMIZATION: NOT defined' |
167 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
168 |
|
|
& SQUEEZE_RIGHT , mythid) |
169 |
|
|
#endif |
170 |
|
|
|
171 |
|
|
#ifdef ALLOW_NO_DYNAMICS |
172 |
|
|
c-- Just do a "dry" run ( useful for testing ). |
173 |
|
|
write(msgbuf,'(a)') |
174 |
|
|
&'// ALLOW_NO_DYNAMICS: defined' |
175 |
|
|
call print_message( msgbuf, standardmessageunit, |
176 |
|
|
& SQUEEZE_RIGHT , mythid) |
177 |
|
|
#else |
178 |
|
|
write(msgbuf,'(a)') |
179 |
|
|
&'// ALLOW_NO_DYNAMICS: NOT defined' |
180 |
|
|
call print_message( msgbuf, standardmessageunit, |
181 |
|
|
& SQUEEZE_RIGHT , mythid) |
182 |
|
|
#endif |
183 |
|
|
|
184 |
|
|
#ifdef ALLOW_YMDS_TREE |
185 |
|
|
c-- Use the Yearly-Monthly-Daily-Stepping call tree. |
186 |
|
|
write(msgbuf,'(a)') |
187 |
|
|
&'// ALLOW_YMDS_TREE: defined' |
188 |
|
|
call print_message( msgbuf, standardmessageunit, |
189 |
|
|
& SQUEEZE_RIGHT , mythid) |
190 |
|
|
#else |
191 |
|
|
write(msgbuf,'(a)') |
192 |
|
|
&'// ALLOW_YMDS_TREE: NOT defined' |
193 |
|
|
call print_message( msgbuf, standardmessageunit, |
194 |
|
|
& SQUEEZE_RIGHT , mythid) |
195 |
|
|
#endif |
196 |
|
|
|
197 |
|
|
#ifdef ALLOW_STEPPING_CALL |
198 |
|
|
c-- Do not call stepping. |
199 |
|
|
write(msgbuf,'(a)') |
200 |
|
|
&'// ALLOW_STEPPING_CALL: defined' |
201 |
|
|
call print_message( msgbuf, standardmessageunit, |
202 |
|
|
& SQUEEZE_RIGHT , mythid) |
203 |
|
|
#else |
204 |
|
|
write(msgbuf,'(a)') |
205 |
|
|
&'// ALLOW_STEPPING_CALL: NOT defined' |
206 |
|
|
call print_message( msgbuf, standardmessageunit, |
207 |
|
|
& SQUEEZE_RIGHT , mythid) |
208 |
|
|
#endif |
209 |
|
|
|
210 |
|
|
#ifdef ALLOW_NONDIMENSIONAL_CONTROL_IO |
211 |
|
|
c-- Use non-dimensional vector of controls as input. |
212 |
|
|
write(msgbuf,'(a)') |
213 |
|
|
&'// ALLOW_NONDIMENSIONAL_CONTROL_IO: defined' |
214 |
|
|
call print_message( msgbuf, standardmessageunit, |
215 |
|
|
& SQUEEZE_RIGHT , mythid) |
216 |
|
|
#else |
217 |
|
|
write(msgbuf,'(a)') |
218 |
|
|
&'// ALLOW_NONDIMENSIONAL_CONTROL_IO: NOT defined' |
219 |
|
|
call print_message( msgbuf, standardmessageunit, |
220 |
|
|
& SQUEEZE_RIGHT , mythid) |
221 |
|
|
#endif |
222 |
|
|
|
223 |
|
|
#ifdef ALLOW_EGM96_ERROR_COV |
224 |
|
|
c-- Read the EGM error covariance from file. |
225 |
|
|
write(msgbuf,'(a)') |
226 |
|
|
&'// ALLOW_EGM96_ERROR_COV: defined' |
227 |
|
|
call print_message( msgbuf, standardmessageunit, |
228 |
|
|
& SQUEEZE_RIGHT , mythid) |
229 |
|
|
#else |
230 |
|
|
write(msgbuf,'(a)') |
231 |
|
|
&'// ALLOW_EGM96_ERROR_COV: NOT defined' |
232 |
|
|
call print_message( msgbuf, standardmessageunit, |
233 |
|
|
& SQUEEZE_RIGHT , mythid) |
234 |
|
|
#endif |
235 |
|
|
|
236 |
|
|
#ifdef ALLOW_READ_EGM_DATA |
237 |
|
|
c-- Read the EGM data from file. |
238 |
|
|
write(msgbuf,'(a)') |
239 |
|
|
&'// ALLOW_READ_EGM_DATA: defined' |
240 |
|
|
call print_message( msgbuf, standardmessageunit, |
241 |
|
|
& SQUEEZE_RIGHT , mythid) |
242 |
|
|
#else |
243 |
|
|
write(msgbuf,'(a)') |
244 |
|
|
&'// ALLOW_READ_EGM_DATA: NOT defined' |
245 |
|
|
call print_message( msgbuf, standardmessageunit, |
246 |
|
|
& SQUEEZE_RIGHT , mythid) |
247 |
|
|
#endif |
248 |
|
|
|
249 |
gforget |
1.8 |
#if (defined (ALLOW_SCAT_COST_CONTRIBUTION) || \ |
250 |
|
|
defined (ALLOW_DAILYSCAT_COST_CONTRIBUTION) ) |
251 |
heimbach |
1.2 |
c-- Use NSCAT data for getting the weights. |
252 |
|
|
write(msgbuf,'(a)') |
253 |
jmc |
1.20 |
&'// ALLOW_SCAT_COST_CONTRIBUTION: defined' |
254 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
255 |
|
|
& SQUEEZE_RIGHT , mythid) |
256 |
|
|
#else |
257 |
|
|
write(msgbuf,'(a)') |
258 |
jmc |
1.20 |
&'// ALLOW_SCAT_COST_CONTRIBUTION: NOT defined' |
259 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
260 |
|
|
& SQUEEZE_RIGHT , mythid) |
261 |
|
|
#endif |
262 |
|
|
|
263 |
|
|
#ifdef ALLOW_HFLUX_COST_CONTRIBUTION |
264 |
|
|
c-- Include code to use the heat flux contribution. |
265 |
|
|
write(msgbuf,'(a)') |
266 |
|
|
&'// ALLOW_HFLUX_COST_CONTRIBUTION: defined' |
267 |
|
|
call print_message( msgbuf, standardmessageunit, |
268 |
|
|
& SQUEEZE_RIGHT , mythid) |
269 |
|
|
#else |
270 |
|
|
write(msgbuf,'(a)') |
271 |
|
|
&'// ALLOW_HFLUX_COST_CONTRIBUTION: NOT defined' |
272 |
|
|
call print_message( msgbuf, standardmessageunit, |
273 |
|
|
& SQUEEZE_RIGHT , mythid) |
274 |
|
|
#endif |
275 |
|
|
|
276 |
jmc |
1.6 |
#ifdef ALLOW_SFLUX_COST_CONTRIBUTION |
277 |
heimbach |
1.2 |
c-- Include code to use the salt flux contribution. |
278 |
|
|
write(msgbuf,'(a)') |
279 |
|
|
&'// ALLOW_SFLUX_COST_CONTRIBUTION: defined' |
280 |
|
|
call print_message( msgbuf, standardmessageunit, |
281 |
|
|
& SQUEEZE_RIGHT , mythid) |
282 |
|
|
#else |
283 |
|
|
write(msgbuf,'(a)') |
284 |
|
|
&'// ALLOW_SFLUX_COST_CONTRIBUTION: NOT defined' |
285 |
|
|
call print_message( msgbuf, standardmessageunit, |
286 |
|
|
& SQUEEZE_RIGHT , mythid) |
287 |
|
|
#endif |
288 |
|
|
|
289 |
|
|
#ifdef ALLOW_USTRESS_COST_CONTRIBUTION |
290 |
|
|
c-- Include code to use the zonal wind stress contribution. |
291 |
|
|
write(msgbuf,'(a)') |
292 |
|
|
&'// ALLOW_USTRESS_COST_CONTRIBUTION: defined' |
293 |
|
|
call print_message( msgbuf, standardmessageunit, |
294 |
|
|
& SQUEEZE_RIGHT , mythid) |
295 |
|
|
#else |
296 |
|
|
write(msgbuf,'(a)') |
297 |
|
|
&'// ALLOW_USTRESS_COST_CONTRIBUTION: NOT defined' |
298 |
|
|
call print_message( msgbuf, standardmessageunit, |
299 |
|
|
& SQUEEZE_RIGHT , mythid) |
300 |
|
|
#endif |
301 |
|
|
|
302 |
|
|
#ifdef ALLOW_VSTRESS_COST_CONTRIBUTION |
303 |
|
|
c-- Include code to use the meridional wind stress contribution. |
304 |
|
|
write(msgbuf,'(a)') |
305 |
|
|
&'// ALLOW_VSTRESS_COST_CONTRIBUTION: defined' |
306 |
|
|
call print_message( msgbuf, standardmessageunit, |
307 |
|
|
& SQUEEZE_RIGHT , mythid) |
308 |
|
|
#else |
309 |
|
|
write(msgbuf,'(a)') |
310 |
|
|
&'// ALLOW_VSTRESS_COST_CONTRIBUTION: NOT defined' |
311 |
|
|
call print_message( msgbuf, standardmessageunit, |
312 |
|
|
& SQUEEZE_RIGHT , mythid) |
313 |
|
|
#endif |
314 |
|
|
|
315 |
atn |
1.13 |
#ifdef ALLOW_SIGMAR_COST_CONTRIBUTION |
316 |
|
|
c-- Enable testing of the 3d sigmaR field contribution |
317 |
|
|
c-- to the cost function. |
318 |
|
|
write(msgbuf,'(a)') |
319 |
jmc |
1.20 |
&'// ALLOW_SIGMAR_COST_CONTRIBUTION: defined' |
320 |
atn |
1.13 |
call print_message( msgbuf, standardmessageunit, |
321 |
|
|
& SQUEEZE_RIGHT , mythid) |
322 |
|
|
#else |
323 |
|
|
write(msgbuf,'(a)') |
324 |
jmc |
1.20 |
&'// ALLOW_SIGMAR_COST_CONTRIBUTION: NOT defined' |
325 |
atn |
1.13 |
call print_message( msgbuf, standardmessageunit, |
326 |
|
|
& SQUEEZE_RIGHT , mythid) |
327 |
|
|
#endif |
328 |
|
|
|
329 |
heimbach |
1.2 |
#ifdef ALLOW_THETA_COST_CONTRIBUTION |
330 |
|
|
c-- Enable testing of the 3d temperature field contribution |
331 |
|
|
c-- to the cost function. |
332 |
|
|
write(msgbuf,'(a)') |
333 |
|
|
&'// ALLOW_THETA_COST_CONTRIBUTION: defined' |
334 |
|
|
call print_message( msgbuf, standardmessageunit, |
335 |
|
|
& SQUEEZE_RIGHT , mythid) |
336 |
|
|
#else |
337 |
|
|
write(msgbuf,'(a)') |
338 |
|
|
&'// ALLOW_THETA_COST_CONTRIBUTION: NOT defined' |
339 |
|
|
call print_message( msgbuf, standardmessageunit, |
340 |
|
|
& SQUEEZE_RIGHT , mythid) |
341 |
|
|
#endif |
342 |
|
|
|
343 |
|
|
#ifdef ALLOW_SST_COST_CONTRIBUTION |
344 |
|
|
c-- Enable testing of the sea surface temperature contribution |
345 |
|
|
c-- to the cost function. |
346 |
|
|
write(msgbuf,'(a)') |
347 |
|
|
&'// ALLOW_SST_COST_CONTRIBUTION: defined' |
348 |
|
|
call print_message( msgbuf, standardmessageunit, |
349 |
|
|
& SQUEEZE_RIGHT , mythid) |
350 |
|
|
#else |
351 |
|
|
write(msgbuf,'(a)') |
352 |
|
|
&'// ALLOW_SST_COST_CONTRIBUTION: NOT defined' |
353 |
|
|
call print_message( msgbuf, standardmessageunit, |
354 |
|
|
& SQUEEZE_RIGHT , mythid) |
355 |
|
|
#endif |
356 |
|
|
|
357 |
|
|
#ifdef ALLOW_SALT_COST_CONTRIBUTION |
358 |
|
|
c-- Enable testing of the 3d salinity field contribution |
359 |
|
|
c-- to the cost function. |
360 |
|
|
write(msgbuf,'(a)') |
361 |
|
|
&'// ALLOW_SALT_COST_CONTRIBUTION: defined' |
362 |
|
|
call print_message( msgbuf, standardmessageunit, |
363 |
|
|
& SQUEEZE_RIGHT , mythid) |
364 |
|
|
#else |
365 |
|
|
write(msgbuf,'(a)') |
366 |
|
|
&'// ALLOW_SALT_COST_CONTRIBUTION: NOT defined' |
367 |
|
|
call print_message( msgbuf, standardmessageunit, |
368 |
|
|
& SQUEEZE_RIGHT , mythid) |
369 |
|
|
#endif |
370 |
|
|
|
371 |
|
|
#ifdef ALLOW_SSH_COST_CONTRIBUTION |
372 |
|
|
c-- Enable testing of the sea surface height contribution |
373 |
|
|
c-- to the cost function. |
374 |
|
|
write(msgbuf,'(a)') |
375 |
|
|
&'// ALLOW_SSH_COST_CONTRIBUTION: defined' |
376 |
|
|
call print_message( msgbuf, standardmessageunit, |
377 |
|
|
& SQUEEZE_RIGHT , mythid) |
378 |
|
|
#else |
379 |
|
|
write(msgbuf,'(a)') |
380 |
|
|
&'// ALLOW_SSH_COST_CONTRIBUTION: NOT defined' |
381 |
|
|
call print_message( msgbuf, standardmessageunit, |
382 |
|
|
& SQUEEZE_RIGHT , mythid) |
383 |
|
|
#endif |
384 |
|
|
|
385 |
|
|
#ifdef APPLY_HFLUX_COST_CONTRIBUTION |
386 |
|
|
c-- Enable testing of the heat flux contribution to the |
387 |
|
|
c-- cost function. |
388 |
|
|
write(msgbuf,'(a)') |
389 |
jmc |
1.20 |
&'// APPLY_HFLUX_COST_CONTRIBUTION: defined' |
390 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
391 |
|
|
& SQUEEZE_RIGHT , mythid) |
392 |
|
|
#else |
393 |
|
|
write(msgbuf,'(a)') |
394 |
jmc |
1.20 |
&'// APPLY_HFLUX_COST_CONTRIBUTION: NOT defined' |
395 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
396 |
|
|
& SQUEEZE_RIGHT , mythid) |
397 |
|
|
#endif |
398 |
|
|
|
399 |
|
|
#ifdef APPLY_SFLUX_COST_CONTRIBUTION |
400 |
|
|
c-- Enable testing of the salt flux contribution to the |
401 |
|
|
c-- cost function. |
402 |
|
|
write(msgbuf,'(a)') |
403 |
jmc |
1.20 |
&'// APPLY_SFLUX_COST_CONTRIBUTION: defined' |
404 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
405 |
|
|
& SQUEEZE_RIGHT , mythid) |
406 |
|
|
#else |
407 |
|
|
write(msgbuf,'(a)') |
408 |
jmc |
1.20 |
&'// APPLY_SFLUX_COST_CONTRIBUTION: NOT defined' |
409 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
410 |
|
|
& SQUEEZE_RIGHT , mythid) |
411 |
|
|
#endif |
412 |
|
|
|
413 |
|
|
#ifdef APPLY_USTRESS_COST_CONTRIBUTION |
414 |
|
|
c-- Enable testing of the zonal wind stress contribution |
415 |
|
|
c-- to the cost function. |
416 |
|
|
write(msgbuf,'(a)') |
417 |
jmc |
1.20 |
&'// APPLY_USTRESS_COST_CONTRIBUTION: defined' |
418 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
419 |
|
|
& SQUEEZE_RIGHT , mythid) |
420 |
|
|
#else |
421 |
|
|
write(msgbuf,'(a)') |
422 |
jmc |
1.20 |
&'// APPLY_USTRESS_COST_CONTRIBUTION: NOT defined' |
423 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
424 |
|
|
& SQUEEZE_RIGHT , mythid) |
425 |
|
|
#endif |
426 |
|
|
|
427 |
|
|
#ifdef APPLY_VSTRESS_COST_CONTRIBUTION |
428 |
|
|
c-- Enable testing of the meridional wind stress contribution |
429 |
|
|
c-- to the cost function. |
430 |
|
|
write(msgbuf,'(a)') |
431 |
jmc |
1.20 |
&'// APPLY_VSTRESS_COST_CONTRIBUTION: defined' |
432 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
433 |
|
|
& SQUEEZE_RIGHT , mythid) |
434 |
|
|
#else |
435 |
|
|
write(msgbuf,'(a)') |
436 |
jmc |
1.20 |
&'// APPLY_VSTRESS_COST_CONTRIBUTION: NOT defined' |
437 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
438 |
|
|
& SQUEEZE_RIGHT , mythid) |
439 |
|
|
#endif |
440 |
|
|
|
441 |
|
|
#ifdef APPLY_THETA_COST_CONTRIBUTION |
442 |
|
|
c-- Enable testing of the initial state temperature contribution |
443 |
|
|
c-- to the cost function. |
444 |
|
|
write(msgbuf,'(a)') |
445 |
jmc |
1.20 |
&'// APPLY_THETA_COST_CONTRIBUTION: defined' |
446 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
447 |
|
|
& SQUEEZE_RIGHT , mythid) |
448 |
|
|
#else |
449 |
|
|
write(msgbuf,'(a)') |
450 |
jmc |
1.20 |
&'// APPLY_THETA_COST_CONTRIBUTION: NOT defined' |
451 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
452 |
|
|
& SQUEEZE_RIGHT , mythid) |
453 |
|
|
#endif |
454 |
|
|
|
455 |
|
|
#ifdef APPLY_SALT_COST_CONTRIBUTION |
456 |
|
|
c-- Enable testing of the initial state salinity contribution |
457 |
|
|
c-- to the cost function. |
458 |
|
|
write(msgbuf,'(a)') |
459 |
jmc |
1.20 |
&'// APPLY_SALT_COST_CONTRIBUTION: defined' |
460 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
461 |
|
|
& SQUEEZE_RIGHT , mythid) |
462 |
|
|
#else |
463 |
|
|
write(msgbuf,'(a)') |
464 |
jmc |
1.20 |
&'// APPLY_SALT_COST_CONTRIBUTION: NOT defined' |
465 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
466 |
|
|
& SQUEEZE_RIGHT , mythid) |
467 |
|
|
#endif |
468 |
|
|
|
469 |
|
|
#ifdef APPLY_SST_COST_CONTRIBUTION |
470 |
|
|
c-- Enable testing of the sea surface temperature contribution |
471 |
|
|
c-- to the cost function. |
472 |
|
|
write(msgbuf,'(a)') |
473 |
jmc |
1.20 |
&'// APPLY_SST_COST_CONTRIBUTION: defined' |
474 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
475 |
|
|
& SQUEEZE_RIGHT , mythid) |
476 |
|
|
#else |
477 |
|
|
write(msgbuf,'(a)') |
478 |
jmc |
1.20 |
&'// APPLY_SST_COST_CONTRIBUTION: NOT defined' |
479 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
480 |
|
|
& SQUEEZE_RIGHT , mythid) |
481 |
|
|
#endif |
482 |
|
|
|
483 |
|
|
#ifdef APPLY_SSH_COST_CONTRIBUTION |
484 |
|
|
c-- Enable testing of the sea surface height contribution |
485 |
|
|
c-- to the cost function. |
486 |
|
|
write(msgbuf,'(a)') |
487 |
jmc |
1.20 |
&'// APPLY_SSH_COST_CONTRIBUTION: defined' |
488 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
489 |
|
|
& SQUEEZE_RIGHT , mythid) |
490 |
|
|
#else |
491 |
|
|
write(msgbuf,'(a)') |
492 |
jmc |
1.20 |
&'// APPLY_SSH_COST_CONTRIBUTION: NOT defined' |
493 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
494 |
|
|
& SQUEEZE_RIGHT , mythid) |
495 |
|
|
#endif |
496 |
|
|
|
497 |
|
|
#ifdef ALLOW_SPH_PROJECTION |
498 |
|
|
c-- Use projection onto spherical harmonics for the evaluation of |
499 |
|
|
c-- the cost function contribution of the mean sea surface elevation. |
500 |
|
|
write(msgbuf,'(a)') |
501 |
|
|
&'// ALLOW_SPH_PROJECTION: defined' |
502 |
|
|
call print_message( msgbuf, standardmessageunit, |
503 |
|
|
& SQUEEZE_RIGHT , mythid) |
504 |
|
|
#else |
505 |
|
|
write(msgbuf,'(a)') |
506 |
|
|
&'// ALLOW_SPH_PROJECTION: NOT defined' |
507 |
|
|
call print_message( msgbuf, standardmessageunit, |
508 |
|
|
& SQUEEZE_RIGHT , mythid) |
509 |
|
|
#endif |
510 |
|
|
|
511 |
|
|
#ifdef ALLOW_THETA0_CONTROL |
512 |
|
|
c-- Initial state temperature used as part of the control vector. |
513 |
|
|
write(msgbuf,'(a)') |
514 |
|
|
&'// ALLOW_THETA0_CONTROL: defined' |
515 |
|
|
call print_message( msgbuf, standardmessageunit, |
516 |
|
|
& SQUEEZE_RIGHT , mythid) |
517 |
|
|
#else |
518 |
|
|
write(msgbuf,'(a)') |
519 |
|
|
&'// ALLOW_THETA0_CONTROL: NOT defined' |
520 |
|
|
call print_message( msgbuf, standardmessageunit, |
521 |
|
|
& SQUEEZE_RIGHT , mythid) |
522 |
|
|
#endif |
523 |
|
|
|
524 |
|
|
#ifdef ALLOW_SALT0_CONTROL |
525 |
|
|
c-- Initial state salinity used as part of the control vector. |
526 |
|
|
write(msgbuf,'(a)') |
527 |
|
|
&'// ALLOW_SALT0_CONTROL: defined' |
528 |
|
|
call print_message( msgbuf, standardmessageunit, |
529 |
|
|
& SQUEEZE_RIGHT , mythid) |
530 |
|
|
#else |
531 |
|
|
write(msgbuf,'(a)') |
532 |
|
|
&'// ALLOW_SALT0_CONTROL: NOT defined' |
533 |
|
|
call print_message( msgbuf, standardmessageunit, |
534 |
|
|
& SQUEEZE_RIGHT , mythid) |
535 |
|
|
#endif |
536 |
|
|
|
537 |
heimbach |
1.7 |
#ifdef ALLOW_ETAN0_CONTROL |
538 |
|
|
c-- Initial state sealevel used as part of the control vector. |
539 |
|
|
write(msgbuf,'(a)') |
540 |
jmc |
1.20 |
&'// ALLOW_ETAN0_CONTROL: defined' |
541 |
heimbach |
1.7 |
call print_message( msgbuf, standardmessageunit, |
542 |
|
|
& SQUEEZE_RIGHT , mythid) |
543 |
|
|
#else |
544 |
|
|
write(msgbuf,'(a)') |
545 |
jmc |
1.20 |
&'// ALLOW_ETAN0_CONTROL: NOT defined' |
546 |
heimbach |
1.7 |
call print_message( msgbuf, standardmessageunit, |
547 |
|
|
& SQUEEZE_RIGHT , mythid) |
548 |
|
|
#endif |
549 |
|
|
#ifdef ALLOW_UVEL0_CONTROL |
550 |
|
|
c-- Initial state velocity used as part of the control vector. |
551 |
|
|
write(msgbuf,'(a)') |
552 |
jmc |
1.20 |
&'// ALLOW_UVEL0_CONTROL: defined' |
553 |
heimbach |
1.7 |
call print_message( msgbuf, standardmessageunit, |
554 |
|
|
& SQUEEZE_RIGHT , mythid) |
555 |
|
|
#else |
556 |
|
|
write(msgbuf,'(a)') |
557 |
jmc |
1.20 |
&'// ALLOW_UVEL0_CONTROL: NOT defined' |
558 |
heimbach |
1.7 |
call print_message( msgbuf, standardmessageunit, |
559 |
|
|
& SQUEEZE_RIGHT , mythid) |
560 |
|
|
#endif |
561 |
|
|
#ifdef ALLOW_VVEL0_CONTROL |
562 |
|
|
c-- Initial state velocity used as part of the control vector. |
563 |
|
|
write(msgbuf,'(a)') |
564 |
jmc |
1.20 |
&'// ALLOW_VVEL0_CONTROL: defined' |
565 |
heimbach |
1.7 |
call print_message( msgbuf, standardmessageunit, |
566 |
|
|
& SQUEEZE_RIGHT , mythid) |
567 |
|
|
#else |
568 |
|
|
write(msgbuf,'(a)') |
569 |
jmc |
1.20 |
&'// ALLOW_VVEL0_CONTROL: NOT defined' |
570 |
heimbach |
1.7 |
call print_message( msgbuf, standardmessageunit, |
571 |
|
|
& SQUEEZE_RIGHT , mythid) |
572 |
|
|
#endif |
573 |
|
|
|
574 |
heimbach |
1.2 |
#ifdef ALLOW_HFLUX_CONTROL |
575 |
|
|
c-- Surface heat flux used as part of the control vector. |
576 |
|
|
write(msgbuf,'(a)') |
577 |
|
|
&'// ALLOW_HFLUX_CONTROL: defined' |
578 |
|
|
call print_message( msgbuf, standardmessageunit, |
579 |
|
|
& SQUEEZE_RIGHT , mythid) |
580 |
|
|
#else |
581 |
|
|
write(msgbuf,'(a)') |
582 |
|
|
&'// ALLOW_HFLUX_CONTROL: NOT defined' |
583 |
|
|
call print_message( msgbuf, standardmessageunit, |
584 |
|
|
& SQUEEZE_RIGHT , mythid) |
585 |
|
|
#endif |
586 |
|
|
|
587 |
|
|
#ifdef ALLOW_SFLUX_CONTROL |
588 |
|
|
c-- Short wave radiative flux used as part of the control vector. |
589 |
|
|
write(msgbuf,'(a)') |
590 |
|
|
&'// ALLOW_SFLUX_CONTROL: defined' |
591 |
|
|
call print_message( msgbuf, standardmessageunit, |
592 |
|
|
& SQUEEZE_RIGHT , mythid) |
593 |
|
|
#else |
594 |
|
|
write(msgbuf,'(a)') |
595 |
|
|
&'// ALLOW_SFLUX_CONTROL: NOT defined' |
596 |
|
|
call print_message( msgbuf, standardmessageunit, |
597 |
|
|
& SQUEEZE_RIGHT , mythid) |
598 |
|
|
#endif |
599 |
|
|
|
600 |
|
|
#ifdef ALLOW_USTRESS_CONTROL |
601 |
|
|
c-- Zonal wind stress used as part of the control vector. |
602 |
|
|
write(msgbuf,'(a)') |
603 |
|
|
&'// ALLOW_USTRESS_CONTROL: defined' |
604 |
|
|
call print_message( msgbuf, standardmessageunit, |
605 |
|
|
& SQUEEZE_RIGHT , mythid) |
606 |
|
|
#else |
607 |
|
|
write(msgbuf,'(a)') |
608 |
|
|
&'// ALLOW_USTRESS_CONTROL: NOT defined' |
609 |
|
|
call print_message( msgbuf, standardmessageunit, |
610 |
|
|
& SQUEEZE_RIGHT , mythid) |
611 |
|
|
#endif |
612 |
|
|
|
613 |
|
|
#ifdef ALLOW_VSTRESS_CONTROL |
614 |
|
|
c-- Meridional wind stress used as part of the control vector. |
615 |
|
|
write(msgbuf,'(a)') |
616 |
|
|
&'// ALLOW_VSTRESS_CONTROL: defined' |
617 |
|
|
call print_message( msgbuf, standardmessageunit, |
618 |
|
|
& SQUEEZE_RIGHT , mythid) |
619 |
|
|
#else |
620 |
|
|
write(msgbuf,'(a)') |
621 |
|
|
&'// ALLOW_VSTRESS_CONTROL: NOT defined' |
622 |
|
|
call print_message( msgbuf, standardmessageunit, |
623 |
|
|
& SQUEEZE_RIGHT , mythid) |
624 |
|
|
#endif |
625 |
|
|
|
626 |
|
|
#ifdef ALLOW_SWFLUX_CONTROL |
627 |
|
|
c-- Short wave radiative flux used as part of the control vector. |
628 |
|
|
write(msgbuf,'(a)') |
629 |
|
|
&'// ALLOW_SWFLUX_CONTROL: defined' |
630 |
|
|
call print_message( msgbuf, standardmessageunit, |
631 |
|
|
& SQUEEZE_RIGHT , mythid) |
632 |
|
|
#else |
633 |
|
|
write(msgbuf,'(a)') |
634 |
|
|
&'// ALLOW_SWFLUX_CONTROL: NOT defined' |
635 |
|
|
call print_message( msgbuf, standardmessageunit, |
636 |
|
|
& SQUEEZE_RIGHT , mythid) |
637 |
|
|
#endif |
638 |
|
|
|
639 |
heimbach |
1.3 |
#ifdef ALLOW_SWDOWN_CONTROL |
640 |
|
|
c-- Short wave radiative flux used as part of the control vector. |
641 |
heimbach |
1.2 |
write(msgbuf,'(a)') |
642 |
heimbach |
1.3 |
&'// ALLOW_SWDOWN_CONTROL: defined' |
643 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
644 |
|
|
& SQUEEZE_RIGHT , mythid) |
645 |
|
|
#else |
646 |
|
|
write(msgbuf,'(a)') |
647 |
heimbach |
1.3 |
&'// ALLOW_SWDOWN_CONTROL: NOT defined' |
648 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
649 |
|
|
& SQUEEZE_RIGHT , mythid) |
650 |
|
|
#endif |
651 |
|
|
|
652 |
|
|
#ifdef ALLOW_ATEMP_CONTROL |
653 |
|
|
c-- Atmospheric Temperature used as part of the control vector. |
654 |
|
|
write(msgbuf,'(a)') |
655 |
|
|
&'// ALLOW_ATEMP_CONTROL: defined' |
656 |
|
|
call print_message( msgbuf, standardmessageunit, |
657 |
|
|
& SQUEEZE_RIGHT , mythid) |
658 |
|
|
#else |
659 |
|
|
write(msgbuf,'(a)') |
660 |
|
|
&'// ALLOW_ATEMP_CONTROL: NOT defined' |
661 |
|
|
call print_message( msgbuf, standardmessageunit, |
662 |
|
|
& SQUEEZE_RIGHT , mythid) |
663 |
|
|
#endif |
664 |
|
|
|
665 |
|
|
#ifdef ALLOW_AQH_CONTROL |
666 |
|
|
c-- Specific humidity used as part of the control vector. |
667 |
|
|
write(msgbuf,'(a)') |
668 |
|
|
&'// ALLOW_AQH_CONTROL: defined' |
669 |
|
|
call print_message( msgbuf, standardmessageunit, |
670 |
|
|
& SQUEEZE_RIGHT , mythid) |
671 |
|
|
#else |
672 |
|
|
write(msgbuf,'(a)') |
673 |
|
|
&'// ALLOW_AQH_CONTROL: NOT defined' |
674 |
|
|
call print_message( msgbuf, standardmessageunit, |
675 |
|
|
& SQUEEZE_RIGHT , mythid) |
676 |
|
|
#endif |
677 |
|
|
|
678 |
|
|
#ifdef ALLOW_UWIND_CONTROL |
679 |
|
|
c-- Zonal winds used as part of the control vector. |
680 |
|
|
write(msgbuf,'(a)') |
681 |
|
|
&'// ALLOW_UWIND_CONTROL: defined' |
682 |
|
|
call print_message( msgbuf, standardmessageunit, |
683 |
|
|
& SQUEEZE_RIGHT , mythid) |
684 |
|
|
#else |
685 |
|
|
write(msgbuf,'(a)') |
686 |
|
|
&'// ALLOW_UWIND_CONTROL: NOT defined' |
687 |
|
|
call print_message( msgbuf, standardmessageunit, |
688 |
|
|
& SQUEEZE_RIGHT , mythid) |
689 |
|
|
#endif |
690 |
|
|
|
691 |
|
|
#ifdef ALLOW_VWIND_CONTROL |
692 |
|
|
c-- Meridional winds used as part of the control vector. |
693 |
|
|
write(msgbuf,'(a)') |
694 |
|
|
&'// ALLOW_VWIND_CONTROL: defined' |
695 |
|
|
call print_message( msgbuf, standardmessageunit, |
696 |
|
|
& SQUEEZE_RIGHT , mythid) |
697 |
|
|
#else |
698 |
|
|
write(msgbuf,'(a)') |
699 |
|
|
&'// ALLOW_VWIND_CONTROL: NOT defined' |
700 |
|
|
call print_message( msgbuf, standardmessageunit, |
701 |
|
|
& SQUEEZE_RIGHT , mythid) |
702 |
|
|
#endif |
703 |
|
|
|
704 |
|
|
#ifdef ALLOW_PRECIP_CONTROL |
705 |
|
|
c-- Precipitation used as part of the control vector. |
706 |
|
|
write(msgbuf,'(a)') |
707 |
|
|
&'// ALLOW_PRECIP_CONTROL: defined' |
708 |
|
|
call print_message( msgbuf, standardmessageunit, |
709 |
|
|
& SQUEEZE_RIGHT , mythid) |
710 |
|
|
#else |
711 |
|
|
write(msgbuf,'(a)') |
712 |
|
|
&'// ALLOW_PRECIP_CONTROL: NOT defined' |
713 |
|
|
call print_message( msgbuf, standardmessageunit, |
714 |
|
|
& SQUEEZE_RIGHT , mythid) |
715 |
|
|
#endif |
716 |
|
|
|
717 |
|
|
#ifdef ALLOW_AUTODIFF_TAMC |
718 |
|
|
c-- Enable automatic differentiation of the ECCO code. |
719 |
|
|
write(msgbuf,'(a)') |
720 |
jmc |
1.20 |
&'// ALLOW_AUTODIFF_TAMC: defined' |
721 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
722 |
|
|
& SQUEEZE_RIGHT , mythid) |
723 |
|
|
#else |
724 |
|
|
write(msgbuf,'(a)') |
725 |
jmc |
1.20 |
&'// ALLOW_AUTODIFF_TAMC: NOT defined' |
726 |
heimbach |
1.2 |
call print_message( msgbuf, standardmessageunit, |
727 |
|
|
& SQUEEZE_RIGHT , mythid) |
728 |
|
|
#endif |
729 |
|
|
|
730 |
jmc |
1.6 |
#ifdef ALLOW_TAMC_CHECKPOINTING |
731 |
heimbach |
1.2 |
c-- Checkpointing as handled by TAMC. |
732 |
|
|
write(msgbuf,'(a)') |
733 |
|
|
&'// ALLOW_TAMC_CHECKPOINTING: defined' |
734 |
|
|
call print_message( msgbuf, standardmessageunit, |
735 |
|
|
& SQUEEZE_RIGHT , mythid) |
736 |
|
|
#else |
737 |
|
|
write(msgbuf,'(a)') |
738 |
|
|
&'// ALLOW_TAMC_CHECKPOINTING: NOT defined' |
739 |
|
|
call print_message( msgbuf, standardmessageunit, |
740 |
|
|
& SQUEEZE_RIGHT , mythid) |
741 |
|
|
#endif |
742 |
|
|
|
743 |
|
|
c-- General summary. |
744 |
jmc |
1.20 |
c write(msgbuf,'(a)') |
745 |
|
|
c &' ' |
746 |
|
|
c call print_message( msgbuf, standardmessageunit, |
747 |
|
|
c & SQUEEZE_RIGHT , mythid) |
748 |
|
|
c write(msgbuf,'(a,2x,a10)') |
749 |
|
|
c &' Experiment name:',expId |
750 |
|
|
c call print_message( msgbuf, standardmessageunit, |
751 |
|
|
c & SQUEEZE_RIGHT , mythid) |
752 |
heimbach |
1.2 |
|
753 |
|
|
#ifdef ALLOW_AUTODIFF_TAMC |
754 |
|
|
c-- Generation of adjoint code. |
755 |
|
|
write(msgbuf,'(a)') |
756 |
|
|
&' ' |
757 |
|
|
call print_message( msgbuf, standardmessageunit, |
758 |
|
|
& SQUEEZE_RIGHT , mythid) |
759 |
|
|
write(msgbuf,'(a)') |
760 |
|
|
&' Generation of adjoint code for the ECCO setup is enabled' |
761 |
|
|
call print_message( msgbuf, standardmessageunit, |
762 |
|
|
& SQUEEZE_RIGHT , mythid) |
763 |
|
|
write(msgbuf,'(a)') |
764 |
|
|
#else |
765 |
|
|
c-- Generation of adjoint code not enabled. |
766 |
|
|
write(msgbuf,'(a)') |
767 |
|
|
&' ' |
768 |
|
|
call print_message( msgbuf, standardmessageunit, |
769 |
|
|
& SQUEEZE_RIGHT , mythid) |
770 |
|
|
write(msgbuf,'(a)') |
771 |
|
|
&' Generation of adjoint code for the ECCO setup is not enabled' |
772 |
|
|
call print_message( msgbuf, standardmessageunit, |
773 |
|
|
& SQUEEZE_RIGHT , mythid) |
774 |
|
|
#endif |
775 |
gforget |
1.19 |
#endif /* ECCO_CTRL_DEPRECATED */ |
776 |
gforget |
1.15 |
|
777 |
|
|
#ifdef ALLOW_GENCOST_CONTRIBUTION |
778 |
|
|
msgunit=standardmessageunit |
779 |
|
|
c-- |
780 |
|
|
write(msgbuf,'(a)') ' ' |
781 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
782 |
|
|
c-- |
783 |
|
|
do k = 1, NGENCOST |
784 |
|
|
if (using_gencost(k)) then |
785 |
|
|
c |
786 |
|
|
il = ilnblnk(gencost_name(k)) |
787 |
|
|
write(msgbuf,'(a,i2,a,a)') 'gencost(',k, |
788 |
|
|
& ') = ',gencost_name(k)(1:il) |
789 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
790 |
|
|
write(msgbuf,'(a)') '-------------' |
791 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
792 |
|
|
c |
793 |
|
|
if ( gencost_datafile(k) .ne. ' ' ) then |
794 |
|
|
il = ilnblnk(gencost_datafile(k)) |
795 |
|
|
write(msgbuf,'(a,a)') ' data file = ',gencost_datafile(k)(1:il) |
796 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
797 |
gforget |
1.21 |
if (gencost_nrec(k).GT.1) then |
798 |
|
|
write(msgbuf,'(a)') ' starts and ends at : ' |
799 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
800 |
|
|
CALL CAL_PRINTDATE(gencost_startdate(1,k),mythid) |
801 |
|
|
CALL CAL_PRINTDATE(gencost_enddate(1,k),mythid) |
802 |
|
|
write(msgbuf,'(a,i5)') ' number of records = ', |
803 |
|
|
& gencost_nrec(k) |
804 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
805 |
|
|
endif |
806 |
|
|
if (gencost_nrecperiod(k).NE.gencost_nrec(k)) then |
807 |
|
|
write(msgbuf,'(a,i5)') ' with repeat period = ', |
808 |
|
|
& gencost_nrecperiod(k) |
809 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
810 |
|
|
endif |
811 |
gforget |
1.15 |
endif |
812 |
|
|
c |
813 |
|
|
il = ilnblnk(gencost_barfile(k)) |
814 |
|
|
write(msgbuf,'(a,a)') ' model file = ',gencost_barfile(k)(1:il) |
815 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
816 |
|
|
il = ilnblnk(gencost_errfile(k)) |
817 |
|
|
write(msgbuf,'(a,a)') ' error file = ',gencost_errfile(k)(1:il) |
818 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
819 |
gforget |
1.21 |
if (gencost_scalefile(k).NE.' ') then |
820 |
gforget |
1.15 |
il = ilnblnk(gencost_scalefile(k)) |
821 |
|
|
write(msgbuf,'(a,a)') ' scale file = ', |
822 |
|
|
& gencost_scalefile(k)(1:il) |
823 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
824 |
gforget |
1.21 |
endif |
825 |
gforget |
1.17 |
do k2 = 1, NGENPPROC |
826 |
|
|
if (gencost_preproc(k2,k).NE.' ') then |
827 |
|
|
il = ilnblnk(gencost_preproc(k2,k)) |
828 |
|
|
write(msgbuf,'(a,a)') ' preprocess = ', |
829 |
|
|
& gencost_preproc(k2,k)(1:il) |
830 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
831 |
|
|
endif |
832 |
|
|
if (gencost_posproc(k2,k).NE.' ') then |
833 |
|
|
il = ilnblnk(gencost_posproc(k2,k)) |
834 |
|
|
write(msgbuf,'(a,a)') ' posprocess = ', |
835 |
|
|
& gencost_posproc(k2,k)(1:il) |
836 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
837 |
|
|
endif |
838 |
|
|
enddo |
839 |
gforget |
1.15 |
c |
840 |
gforget |
1.22 |
write(msgbuf,'(a,i2)') ' gencost_flag = ',gencost_flag(k) |
841 |
gforget |
1.21 |
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
842 |
|
|
write(msgbuf,'(a,i2)') ' gencost_outputlevel = ', |
843 |
|
|
& gencost_outputlevel(k) |
844 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
845 |
|
|
c |
846 |
|
|
if (gencost_is3d(k)) then |
847 |
|
|
write(msgbuf,'(a,i2)') ' gencost_pointer3d = ', |
848 |
|
|
& gencost_pointer3d(k) |
849 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
850 |
|
|
endif |
851 |
|
|
if (gencost_timevaryweight(k)) then |
852 |
|
|
write(msgbuf,'(a,L2)') ' time varia. weight = ', |
853 |
|
|
& gencost_timevaryweight(k) |
854 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
855 |
|
|
endif |
856 |
|
|
if (gencost_barskip(k)) then |
857 |
|
|
write(msgbuf,'(a,L2)') ' skip barfile write = ', |
858 |
|
|
& gencost_barskip(k) |
859 |
gforget |
1.15 |
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
860 |
gforget |
1.21 |
endif |
861 |
gforget |
1.15 |
|
862 |
|
|
write(msgbuf,'(a)') ' ' |
863 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
864 |
|
|
c |
865 |
|
|
endif |
866 |
|
|
enddo |
867 |
|
|
c-- |
868 |
|
|
write(msgbuf,'(a)') ' ' |
869 |
|
|
call print_message( msgbuf, msgunit, SQUEEZE_RIGHT , mythid) |
870 |
|
|
#endif /* ALLOW_GENCOST_CONTRIBUTION */ |
871 |
heimbach |
1.2 |
|
872 |
|
|
write(msgbuf,'(a)') |
873 |
|
|
&' ' |
874 |
|
|
call print_message( msgbuf, standardmessageunit, |
875 |
|
|
& SQUEEZE_RIGHT , mythid) |
876 |
|
|
write(msgbuf,'(a)') |
877 |
|
|
&'// =======================================================' |
878 |
|
|
call print_message( msgbuf, standardmessageunit, |
879 |
|
|
& SQUEEZE_RIGHT , mythid) |
880 |
|
|
write(msgbuf,'(a)') |
881 |
|
|
&'// ECCO configuration >>> END <<<' |
882 |
|
|
call print_message( msgbuf, standardmessageunit, |
883 |
|
|
& SQUEEZE_RIGHT , mythid) |
884 |
|
|
write(msgbuf,'(a)') |
885 |
|
|
&'// =======================================================' |
886 |
|
|
call print_message( msgbuf, standardmessageunit, |
887 |
|
|
& SQUEEZE_RIGHT , mythid) |
888 |
|
|
write(msgbuf,'(a)') |
889 |
|
|
&' ' |
890 |
|
|
call print_message( msgbuf, standardmessageunit, |
891 |
|
|
& SQUEEZE_RIGHT , mythid) |
892 |
|
|
|
893 |
jmc |
1.20 |
RETURN |
894 |
|
|
END |