/[MITgcm]/MITgcm_contrib/atnguyen/llc_270/aste_270x450x180/code_ad/tamc.h
ViewVC logotype

Annotation of /MITgcm_contrib/atnguyen/llc_270/aste_270x450x180/code_ad/tamc.h

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


Revision 1.3 - (hide annotations) (download)
Fri May 23 23:03:22 2014 UTC (11 years, 2 months ago) by atn
Branch: MAIN
Changes since 1.2: +9 -4 lines
File MIME type: text/plain
10-yr on ivy-bridge

1 atn 1.3 C $Header: /u/gcmpack/MITgcm_contrib/atnguyen/llc_270/aste_270x450x180/code_ad/tamc.h,v 1.2 2014/04/20 01:05:12 atn Exp $
2 atn 1.1 C $Name: $
3    
4     #include "PACKAGES_CONFIG.h"
5    
6     c ==================================================================
7     c HEADER TAMC
8     c ==================================================================
9     c
10     c o Header for the use of the Tangent Linear and Adjoint Model
11     c Compiler (TAMC).
12     c
13     c started: Christian Eckert eckert@mit.edu 04-Feb-1999
14     c
15     c changed: Patrick Heimbach heimbach@mit.edu 06-Jun-2000
16     c - New parameter nlevchk_0 for dimensionalising
17     c common blocks in the undef ALLOW_TAMC_CHECKPOINTING case
18     c - nhreads_chkpt was declared at the wrong place
19     c
20     c
21     c ==================================================================
22     c HEADER TAMC
23     c ==================================================================
24    
25    
26     c TAMC checkpointing parameters:
27     c ==============================
28     c
29     c The checkpointing parameters have to be consistent with other model
30     c parameters and variables. This has to be checked before the model is
31     c run.
32     c
33     c nyears_chkpt - Number of calendar years affected by the assimilation
34     c experiment; nyears_chkpt has to be at least equal to
35     c the result of cal_IntYears(mythid).
36     c nmonths_chkpt - Number of months per year; nmonth_chkpt has to be at
37     c least equal to nmonthyear.
38     c ndays_chkpt - Number of days per month; nday_chkpt has to be at least
39     c equal to nmaxdaymonth.
40     c nsteps_chkpt - Number of steps per day; nsteps_chkpt has to be at
41     c least equal to cal_nStepDay(mythid)
42     c ncheck_chkpt - Number of innermost checkpoints.
43     c
44     c ngeom_chkpt - Geometry factor.
45     c nthreads_chkpt - Number of threads to be used; nth_chkpt .eq. nTx*nTy
46    
47     integer nyears_chkpt
48     integer nmonths_chkpt
49     integer ndays_chkpt
50     integer ngeom_chkpt
51     integer ncheck_chkpt
52     integer nthreads_chkpt
53    
54     parameter (nyears_chkpt = 1 )
55     parameter (nmonths_chkpt = 12 )
56     parameter (ndays_chkpt = 31 )
57     parameter (ngeom_chkpt = nr*nsx*nsy )
58     parameter (ncheck_chkpt = 6 )
59     parameter ( nthreads_chkpt = 1 )
60    
61     #ifdef ALLOW_TAMC_CHECKPOINTING
62    
63     integer nchklev_1
64     integer nchklev_2
65     integer nchklev_3
66 atn 1.2 C==== 5 years ------------------------------------------
67     c change to this for 5-yr run: 2.4GB/node for neh
68     c parameter( nchklev_1 = 20 )
69     c parameter( nchklev_2 = 84 )
70     c parameter( nchklev_3 = 84 )
71     c change to this for 5-yr run: 2.7GB/node for ivybridge
72 atn 1.1 c parameter( nchklev_1 = 22 )
73     c parameter( nchklev_2 = 80 )
74     c parameter( nchklev_3 = 80 )
75 atn 1.2 c change to this for 5-yr run: 3.GB/node for ivybridge
76     C parameter( nchklev_1 = 24 )
77     C parameter( nchklev_2 = 77 )
78     C parameter( nchklev_3 = 77 )
79 atn 1.3 C==== 10 years ------------------------------------------
80     c change to this for 10-yr run: 3.GB/node for ivybridge
81     parameter( nchklev_1 = 24 )
82     parameter( nchklev_2 = 107 )
83     parameter( nchklev_3 = 107 )
84 atn 1.2 C==== 20 years ------------------------------------------
85     c change to this for 20-yr run: 2.4GB/node for neh
86     c parameter( nchklev_1 = 20 )
87     c parameter( nchklev_2 = 163 )
88     c parameter( nchklev_3 = 163 )
89     c change to this for 20-yr run: 2.7GB/node for ivybridge
90     c parameter( nchklev_1 = 22 )
91     c parameter( nchklev_2 = 155 )
92     c parameter( nchklev_3 = 155 )
93     c change to this for 20-yr run: 3.GB/node for ivybridge
94 atn 1.3 c parameter( nchklev_1 = 24 )
95     c parameter( nchklev_2 = 148 )
96     c parameter( nchklev_3 = 148 )
97 atn 1.1 c change to these values for very short test runs:
98     cph parameter( nchklev_1 = 24 )
99     cph parameter( nchklev_2 = 4 )
100     cph parameter( nchklev_3 = 3 )
101    
102     c-- Note always check for the correct sizes of the common blocks!
103    
104     #else /* ALLOW_TAMC_CHECKPOINTING undefined */
105    
106     integer nchklev_0
107     parameter( nchklev_0 = 48 )
108     integer nchklev_1
109     parameter( nchklev_1 = 5 )
110    
111     #endif /* ALLOW_TAMC_CHECKPOINTING */
112    
113     c TAMC keys:
114     c ==========
115     c
116     c The keys are used for storing and reading data of the reference
117     c trajectory.
118     c
119     c The convention used here is:
120     c ikey_<name>
121     c
122     c which means that this key is used in routine <name> for reading
123     c and writing data.
124    
125     common /tamc_keys_i/
126     & ikey_dynamics,
127     & ikey_yearly,
128     & ikey_daily_1,
129     & ikey_daily_2,
130     & iloop_daily
131    
132     integer ikey_dynamics
133     integer ikey_yearly
134     integer ikey_daily_1
135     integer ikey_daily_2
136     integer iloop_daily
137    
138     INTEGER isbyte
139     PARAMETER( isbyte = 4 )
140     INTEGER maximpl
141     PARAMETER( maximpl = 6 )
142     INTEGER maxpass
143     PARAMETER( maxpass = 6 )
144     INTEGER maxcube
145     PARAMETER( maxcube = 3 )
146    
147     INTEGER act0, act1, act2, act3, act4
148     INTEGER max0, max1, max2, max3
149     INTEGER iikey, kkey, passkey, igadkey,
150     & itdkey, idynkey, igmkey
151    
152     c ==================================================================
153     c END OF HEADER TAMC
154     c ==================================================================
155    

  ViewVC Help
Powered by ViewVC 1.1.22