/[MITgcm]/MITgcm/eesupp/inc/EEPARAMS.h
ViewVC logotype

Diff of /MITgcm/eesupp/inc/EEPARAMS.h

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

revision 1.4 by cnh, Thu May 21 18:30:45 1998 UTC revision 1.10 by cnh, Fri Sep 21 03:54:35 2001 UTC
# Line 1  Line 1 
1  C $Header$  C $Header$
2    C $Name$
3    CBOP
4    C     !ROUTINE: EEPARAMS.h
5    C     !INTERFACE:
6    C     include "EEPARAMS.h"
7  C  C
8  C     /==========================================================\  C     !DESCRIPTION:
9    C     *==========================================================*
10  C     | EEPARAMS.h                                               |  C     | EEPARAMS.h                                               |
11  C     |==========================================================|  C     *==========================================================*
12  C     | Parameters for "execution environemnt". These are used   |  C     | Parameters for "execution environemnt". These are used   |
13  C     | by both the particular numerical model and the "execution|  C     | by both the particular numerical model and the "execution|
14  C     | environment" support routines.                           |  C     | environment" support routines.                           |
15  C     \==========================================================/  C     *==========================================================*
16    CEOP
17    
18  C     MAX_LEN_MBUF         - Default message buffer max. size  C     MAX_LEN_MBUF         - Default message buffer max. size
19  C     MAX_LEN_FNAM         - Default file name max. size  C     MAX_LEN_FNAM         - Default file name max. size
# Line 56  C     INDEX_NONE Line 63  C     INDEX_NONE
63       &            INDEX_K    = 3,       &            INDEX_K    = 3,
64       &            INDEX_NONE = 4 )       &            INDEX_NONE = 4 )
65    
66    
67    C     EXCH_IGNORE_CORNERS - Flag to select ignoring or
68    C     EXCH_UPDATE_CORNERS   updating of corners during
69    C                           an edge exchange.
70          INTEGER EXCH_IGNORE_CORNERS
71          INTEGER EXCH_UPDATE_CORNERS
72          PARAMETER ( EXCH_IGNORE_CORNERS = 0,
73         &            EXCH_UPDATE_CORNERS = 1 )
74    
75    C     FORWARD_SIMULATION
76    C     REVERSE_SIMULATION
77          INTEGER FORWARD_SIMULATION
78          INTEGER REVERSE_SIMULATION
79          PARAMETER ( FORWARD_SIMULATION = 0,
80         &            REVERSE_SIMULATION = 1 )
81    
82    
83  C     Particularly weird and obscure voodoo numbers  C     Particularly weird and obscure voodoo numbers
84  C     lShare  - This wants to be the length in  C     lShare  - This wants to be the length in
85  C               [148]-byte words of the size of  C               [148]-byte words of the size of
# Line 69  C               The buffer arrays are us Line 93  C               The buffer arrays are us
93  C               and are declared REAL ARRA(lShare[148],LBUFF).  C               and are declared REAL ARRA(lShare[148],LBUFF).
94  C               Setting lShare[148] to 1 is like making these arrays  C               Setting lShare[148] to 1 is like making these arrays
95  C               one dimensional.  C               one dimensional.
96          INTEGER cacheLineSize
97        INTEGER lShare1        INTEGER lShare1
98        INTEGER lShare4        INTEGER lShare4
99        INTEGER lShare8        INTEGER lShare8
100        PARAMETER ( lShare1 = 8 * 32 )        PARAMETER ( cacheLineSize = 256 )
101        PARAMETER ( lShare4 = 2 * 32 )        PARAMETER ( lShare1 =  cacheLineSize )
102        PARAMETER ( lShare8 = 1 * 32 )        PARAMETER ( lShare4 =  cacheLineSize/4 )
103          PARAMETER ( lShare8 =  cacheLineSize/8 )
104    
105  C     MAX_NO_THREADS  - Maximum number of threads allowed.  C     MAX_NO_THREADS  - Maximum number of threads allowed.
106  C     MAX_NO_PROCS    - Maximum number of processes allowed.  C     MAX_NO_PROCS    - Maximum number of processes allowed.
107  C     MAX_NO_BARRIERS - Maximum number of distinct thread "barriers"  C     MAX_NO_BARRIERS - Maximum number of distinct thread "barriers"
108        INTEGER MAX_NO_THREADS        INTEGER MAX_NO_THREADS
109        PARAMETER ( MAX_NO_THREADS =   16 )        PARAMETER ( MAX_NO_THREADS =   32 )
110        INTEGER MAX_NO_PROCS        INTEGER MAX_NO_PROCS
111        PARAMETER ( MAX_NO_PROCS   =  128 )        PARAMETER ( MAX_NO_PROCS   =  128 )
112        INTEGER MAX_NO_BARRIERS        INTEGER MAX_NO_BARRIERS
# Line 91  C     eeBootError - Flag indicating erro Line 117  C     eeBootError - Flag indicating erro
117  C     eeEndError    initialisation/termination.  C     eeEndError    initialisation/termination.
118  C     fatalError  - Flag used to indicate that the model is ended with  C     fatalError  - Flag used to indicate that the model is ended with
119  C                   an error  C                   an error
120        COMMON /EEPARAMS_L/ eeBootError, fatalError, eeEndError        COMMON /EEPARAMS_L/ eeBootError, fatalError, eeEndError,
121         &  useCubedSphereExchange
122        LOGICAL eeBootError        LOGICAL eeBootError
123        LOGICAL eeEndError        LOGICAL eeEndError
124        LOGICAL fatalError        LOGICAL fatalError
125          LOGICAL useCubedSphereExchange
126    
127  C--   COMMON /EPARAMS_I/ Execution environment public integer variables.  C--   COMMON /EPARAMS_I/ Execution environment public integer variables.
128  C     errorMessageUnit    - Fortran IO unit for error messages  C     errorMessageUnit    - Fortran IO unit for error messages

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.10

  ViewVC Help
Powered by ViewVC 1.1.22