/[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.3 by cnh, Sun Apr 26 23:41:54 1998 UTC revision 1.6 by adcroft, Wed Jun 21 19:37:13 2000 UTC
# Line 56  C     INDEX_NONE Line 56  C     INDEX_NONE
56       &            INDEX_K    = 3,       &            INDEX_K    = 3,
57       &            INDEX_NONE = 4 )       &            INDEX_NONE = 4 )
58    
59    
60    C     EXCH_IGNORE_CORNERS - Flag to select ignoring or
61    C     EXCH_UPDATE_CORNERS   updating of corners during
62    C                           an edge exchange.
63          INTEGER EXCH_IGNORE_CORNERS
64          INTEGER EXCH_UPDATE_CORNERS
65          PARAMETER ( EXCH_IGNORE_CORNERS = 0,
66         &            EXCH_UPDATE_CORNERS = 1 )
67    
68    C     FORWARD_SIMULATION
69    C     REVERSE_SIMULATION
70          INTEGER FORWARD_SIMULATION
71          INTEGER REVERSE_SIMULATION
72          PARAMETER ( FORWARD_SIMULATION = 0,
73         &            REVERSE_SIMULATION = 1 )
74    
75    
76  C     Particularly weird and obscure voodoo numbers  C     Particularly weird and obscure voodoo numbers
77  C     lShare  - This wants to be the length in  C     lShare  - This wants to be the length in
78  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 86  C               The buffer arrays are us
86  C               and are declared REAL ARRA(lShare[148],LBUFF).  C               and are declared REAL ARRA(lShare[148],LBUFF).
87  C               Setting lShare[148] to 1 is like making these arrays  C               Setting lShare[148] to 1 is like making these arrays
88  C               one dimensional.  C               one dimensional.
89          INTEGER cacheLineSize
90        INTEGER lShare1        INTEGER lShare1
91        INTEGER lShare4        INTEGER lShare4
92        INTEGER lShare8        INTEGER lShare8
93        PARAMETER ( lShare1 = 8 * 32 )        PARAMETER ( cacheLineSize = 256 )
94        PARAMETER ( lShare4 = 2 * 32 )        PARAMETER ( lShare1 =  cacheLineSize )
95        PARAMETER ( lShare8 = 1 * 32 )        PARAMETER ( lShare4 =  cacheLineSize/4 )
96          PARAMETER ( lShare8 =  cacheLineSize/8 )
97    
98  C     MAX_NO_THREADS  - Maximum number of threads allowed.  C     MAX_NO_THREADS  - Maximum number of threads allowed.
99  C     MAX_NO_PROCS    - Maximum number of processes allowed.  C     MAX_NO_PROCS    - Maximum number of processes allowed.
100  C     MAX_NO_BARRIERS - Maximum number of distinct thread "barriers"  C     MAX_NO_BARRIERS - Maximum number of distinct thread "barriers"
101        INTEGER MAX_NO_THREADS        INTEGER MAX_NO_THREADS
102        PARAMETER ( MAX_NO_THREADS =   16 )        PARAMETER ( MAX_NO_THREADS =    1 )
103        INTEGER MAX_NO_PROCS        INTEGER MAX_NO_PROCS
104        PARAMETER ( MAX_NO_PROCS   =  128 )        PARAMETER ( MAX_NO_PROCS   =  128 )
105        INTEGER MAX_NO_BARRIERS        INTEGER MAX_NO_BARRIERS
# Line 128  C     nTy         - No. of threads in Y Line 147  C     nTy         - No. of threads in Y
147  C                   This assumes a simple cartesian  C                   This assumes a simple cartesian
148  C                   gridding of the threads which is not required elsewhere  C                   gridding of the threads which is not required elsewhere
149  C                   but that makes it easier.  C                   but that makes it easier.
150    C     ioErrorCount - IO Error Counter. Set to zero initially and increased
151    C                    by one every time an IO error occurs.
152        COMMON /EEPARAMS_I/ errorMessageUnit, standardMessageUnit,        COMMON /EEPARAMS_I/ errorMessageUnit, standardMessageUnit,
153       & scrUnit1, scrUnit2, eeDataUnit, modelDataUnit,       & scrUnit1, scrUnit2, eeDataUnit, modelDataUnit,
154       & numberOfProcs, pidIO, myProcId,       & numberOfProcs, pidIO, myProcId,
155       & myPx, myPy, myXGlobalLo, myYGlobalLo, nThreads,       & myPx, myPy, myXGlobalLo, myYGlobalLo, nThreads,
156       & myBxLo, myBxHi, myByLo, myByHi,       & myBxLo, myBxHi, myByLo, myByHi,
157       & nTx, nTy       & nTx, nTy, ioErrorCount
158        INTEGER eeDataUnit        INTEGER eeDataUnit
159        INTEGER errorMessageUnit        INTEGER errorMessageUnit
160          INTEGER ioErrorCount(MAX_NO_THREADS)
161        INTEGER modelDataUnit        INTEGER modelDataUnit
162        INTEGER myBxLo(MAX_NO_THREADS)        INTEGER myBxLo(MAX_NO_THREADS)
163        INTEGER myBxHi(MAX_NO_THREADS)        INTEGER myBxHi(MAX_NO_THREADS)

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.22