17 |
|
|
18 |
C ======== EESIZE.h ======================================== |
C ======== EESIZE.h ======================================== |
19 |
|
|
20 |
C MAX_LEN_MBUF - Default message buffer max. size |
C MAX_LEN_MBUF :: Default message buffer max. size |
21 |
C MAX_LEN_FNAM - Default file name max. size |
C MAX_LEN_FNAM :: Default file name max. size |
22 |
C MAX_LEN_PREC - Default rec len for reading "parameter" files |
C MAX_LEN_PREC :: Default rec len for reading "parameter" files |
23 |
|
|
24 |
INTEGER MAX_LEN_MBUF |
INTEGER MAX_LEN_MBUF |
25 |
PARAMETER ( MAX_LEN_MBUF = 512 ) |
PARAMETER ( MAX_LEN_MBUF = 512 ) |
28 |
INTEGER MAX_LEN_PREC |
INTEGER MAX_LEN_PREC |
29 |
PARAMETER ( MAX_LEN_PREC = 200 ) |
PARAMETER ( MAX_LEN_PREC = 200 ) |
30 |
|
|
31 |
C MAX_NO_THREADS - Maximum number of threads allowed. |
C MAX_NO_THREADS :: Maximum number of threads allowed. |
32 |
C MAX_NO_PROCS - Maximum number of processes allowed. |
CC MAX_NO_PROCS :: Maximum number of processes allowed. |
33 |
C MAX_NO_BARRIERS - Maximum number of distinct thread "barriers" |
CC MAX_NO_BARRIERS :: Maximum number of distinct thread "barriers" |
34 |
INTEGER MAX_NO_THREADS |
INTEGER MAX_NO_THREADS |
35 |
PARAMETER ( MAX_NO_THREADS = 4 ) |
PARAMETER ( MAX_NO_THREADS = 4 ) |
36 |
INTEGER MAX_NO_PROCS |
c INTEGER MAX_NO_PROCS |
37 |
PARAMETER ( MAX_NO_PROCS = 70000 ) |
c PARAMETER ( MAX_NO_PROCS = 70000 ) |
38 |
INTEGER MAX_NO_BARRIERS |
c INTEGER MAX_NO_BARRIERS |
39 |
PARAMETER ( MAX_NO_BARRIERS = 1 ) |
c PARAMETER ( MAX_NO_BARRIERS = 1 ) |
40 |
|
|
41 |
C Particularly weird and obscure voodoo numbers |
C Particularly weird and obscure voodoo numbers |
42 |
C lShare - This wants to be the length in |
C lShare :: This wants to be the length in |
43 |
C [148]-byte words of the size of |
C [148]-byte words of the size of |
44 |
C the address "window" that is snooped |
C the address "window" that is snooped |
45 |
C on an SMP bus. By separating elements in |
C on an SMP bus. By separating elements in |
60 |
PARAMETER ( lShare4 = cacheLineSize/4 ) |
PARAMETER ( lShare4 = cacheLineSize/4 ) |
61 |
PARAMETER ( lShare8 = cacheLineSize/8 ) |
PARAMETER ( lShare8 = cacheLineSize/8 ) |
62 |
|
|
63 |
INTEGER MAX_VGS |
CC MAX_VGS :: Maximum buffer size for Global Vector Sum |
64 |
PARAMETER ( MAX_VGS = 8192 ) |
c INTEGER MAX_VGS |
65 |
|
c PARAMETER ( MAX_VGS = 8192 ) |
66 |
|
|
67 |
C ======== EESIZE.h ======================================== |
C ======== EESIZE.h ======================================== |
68 |
|
|
103 |
PARAMETER ( debLevD=4 ) |
PARAMETER ( debLevD=4 ) |
104 |
PARAMETER ( debLevE=5 ) |
PARAMETER ( debLevE=5 ) |
105 |
|
|
106 |
C SQUEEZE_RIGHT - Flag indicating right blank space removal |
C SQUEEZE_RIGHT :: Flag indicating right blank space removal |
107 |
C from text field. |
C from text field. |
108 |
C SQUEEZE_LEFT - Flag indicating left blank space removal |
C SQUEEZE_LEFT :: Flag indicating left blank space removal |
109 |
C from text field. |
C from text field. |
110 |
C SQUEEZE_BOTH - Flag indicating left and right blank |
C SQUEEZE_BOTH :: Flag indicating left and right blank |
111 |
C space removal from text field. |
C space removal from text field. |
112 |
C PRINT_MAP_XY - Flag indicating to plot map as XY slices |
C PRINT_MAP_XY :: Flag indicating to plot map as XY slices |
113 |
C PRINT_MAP_XZ - Flag indicating to plot map as XZ slices |
C PRINT_MAP_XZ :: Flag indicating to plot map as XZ slices |
114 |
C PRINT_MAP_YZ - Flag indicating to plot map as YZ slices |
C PRINT_MAP_YZ :: Flag indicating to plot map as YZ slices |
115 |
C commentCharacter - Variable used in column 1 of parameter |
C commentCharacter :: Variable used in column 1 of parameter |
116 |
C files to indicate comments. |
C files to indicate comments. |
117 |
C INDEX_I - Variable used to select an index label |
C INDEX_I :: Variable used to select an index label |
118 |
C INDEX_J for formatted input parameters. |
C INDEX_J for formatted input parameters. |
119 |
C INDEX_K |
C INDEX_K |
120 |
C INDEX_NONE |
C INDEX_NONE |
141 |
& INDEX_K = 3, |
& INDEX_K = 3, |
142 |
& INDEX_NONE = 4 ) |
& INDEX_NONE = 4 ) |
143 |
|
|
144 |
C EXCH_IGNORE_CORNERS - Flag to select ignoring or |
C EXCH_IGNORE_CORNERS :: Flag to select ignoring or |
145 |
C EXCH_UPDATE_CORNERS updating of corners during |
C EXCH_UPDATE_CORNERS updating of corners during an edge exchange. |
|
C an edge exchange. |
|
146 |
INTEGER EXCH_IGNORE_CORNERS |
INTEGER EXCH_IGNORE_CORNERS |
147 |
INTEGER EXCH_UPDATE_CORNERS |
INTEGER EXCH_UPDATE_CORNERS |
148 |
PARAMETER ( EXCH_IGNORE_CORNERS = 0, |
PARAMETER ( EXCH_IGNORE_CORNERS = 0, |
200 |
LOGICAL useSIGREG |
LOGICAL useSIGREG |
201 |
|
|
202 |
C-- COMMON /EPARAMS_I/ Execution environment public integer variables. |
C-- COMMON /EPARAMS_I/ Execution environment public integer variables. |
203 |
C errorMessageUnit - Fortran IO unit for error messages |
C errorMessageUnit :: Fortran IO unit for error messages |
204 |
C standardMessageUnit - Fortran IO unit for informational messages |
C standardMessageUnit :: Fortran IO unit for informational messages |
205 |
C maxLengthPrt1D :: maximum length for printing (to Std-Msg-Unit) 1-D array |
C maxLengthPrt1D :: maximum length for printing (to Std-Msg-Unit) 1-D array |
206 |
C scrUnit1 - Scratch file 1 unit number |
C scrUnit1 :: Scratch file 1 unit number |
207 |
C scrUnit2 - Scratch file 2 unit number |
C scrUnit2 :: Scratch file 2 unit number |
208 |
C eeDataUnit - Unit # for reading "execution environment" parameter file. |
C eeDataUnit :: Unit # for reading "execution environment" parameter file |
209 |
C modelDataUnit - Unit number for reading "model" parameter file. |
C modelDataUnit :: Unit number for reading "model" parameter file. |
210 |
C numberOfProcs - Number of processes computing in parallel |
C numberOfProcs :: Number of processes computing in parallel |
211 |
C pidIO - Id of process to use for I/O. |
C pidIO :: Id of process to use for I/O. |
212 |
C myBxLo, myBxHi - Extents of domain in blocks in X and Y |
C myBxLo, myBxHi :: Extents of domain in blocks in X and Y |
213 |
C myByLo, myByHi that each threads is responsble for. |
C myByLo, myByHi :: that each threads is responsble for. |
214 |
C myProcId - My own "process" id. |
C myProcId :: My own "process" id. |
215 |
C myPx - My X coord on the proc. grid. |
C myPx :: My X coord on the proc. grid. |
216 |
C myPy - My Y coord on the proc. grid. |
C myPy :: My Y coord on the proc. grid. |
217 |
C myXGlobalLo - My bottom-left (south-west) x-index |
C myXGlobalLo :: My bottom-left (south-west) x-index global domain. |
218 |
C global domain. The x-coordinate of this |
C The x-coordinate of this point in for example m or |
219 |
C point in for example m or degrees is *not* |
C degrees is *not* specified here. A model needs to |
220 |
C specified here. A model needs to provide a |
C provide a mechanism for deducing that information |
221 |
C mechanism for deducing that information if it |
C if it is needed. |
222 |
C is needed. |
C myYGlobalLo :: My bottom-left (south-west) y-index in global domain. |
223 |
C myYGlobalLo - My bottom-left (south-west) y-index in |
C The y-coordinate of this point in for example m or |
224 |
C global domain. The y-coordinate of this |
C degrees is *not* specified here. A model needs to |
225 |
C point in for example m or degrees is *not* |
C provide a mechanism for deducing that information |
226 |
C specified here. A model needs to provide a |
C if it is needed. |
227 |
C mechanism for deducing that information if it |
C nThreads :: No. of threads |
228 |
C is needed. |
C nTx, nTy :: No. of threads in X and in Y |
229 |
C nThreads - No. of threads |
C This assumes a simple cartesian gridding of the threads |
230 |
C nTx - No. of threads in X |
C which is not required elsewhere but that makes it easier |
231 |
C nTy - No. of threads in Y |
C ioErrorCount :: IO Error Counter. Set to zero initially and increased |
232 |
C This assumes a simple cartesian |
C by one every time an IO error occurs. |
|
C gridding of the threads which is not required elsewhere |
|
|
C but that makes it easier. |
|
|
C ioErrorCount - IO Error Counter. Set to zero initially and increased |
|
|
C by one every time an IO error occurs. |
|
233 |
COMMON /EEPARAMS_I/ |
COMMON /EEPARAMS_I/ |
234 |
& errorMessageUnit, standardMessageUnit, maxLengthPrt1D, |
& errorMessageUnit, standardMessageUnit, maxLengthPrt1D, |
235 |
& scrUnit1, scrUnit2, eeDataUnit, modelDataUnit, |
& scrUnit1, scrUnit2, eeDataUnit, modelDataUnit, |