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 |
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 = 32 ) |
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 |