1 |
C $Header$ |
C $Header$ |
2 |
|
C $Name$ |
3 |
|
|
4 |
|
These lines are here to deliberately cause a compile-time error. |
5 |
|
If you see these lines in your .F files or the compiler shows them |
6 |
|
as an error then it means you have not placed your configuration |
7 |
|
files in the appropriate place. |
8 |
|
You need to place you own copy of SIZE.h in the include |
9 |
|
path for the model. |
10 |
|
|
11 |
C |
C |
12 |
C /==========================================================\ |
C /==========================================================\ |
13 |
C | SIZE.h Declare size of underlying computational grid. | |
C | SIZE.h Declare size of underlying computational grid. | |
16 |
C | with indices I,J and K. The three-dimensional domain | |
C | with indices I,J and K. The three-dimensional domain | |
17 |
C | is comprised of nPx*nSx blocks of size sNx along one axis| |
C | is comprised of nPx*nSx blocks of size sNx along one axis| |
18 |
C | nPy*nSy blocks of size sNy along another axis and one | |
C | nPy*nSy blocks of size sNy along another axis and one | |
19 |
C | block of size Nr along the final axis. | |
C | block of size Nz along the final axis. | |
20 |
C | Blocks have overlap regions of size OLx and OLy along the| |
C | Blocks have overlap regions of size OLx and OLy along the| |
21 |
C | dimensions that are subdivided. | |
C | dimensions that are subdivided. | |
22 |
C \==========================================================/ |
C \==========================================================/ |
31 |
C nPy - No. of processes to use in Y. |
C nPy - No. of processes to use in Y. |
32 |
C Nx - No. points in X for the total domain. |
C Nx - No. points in X for the total domain. |
33 |
C Ny - No. points in Y for the total domain. |
C Ny - No. points in Y for the total domain. |
34 |
C Nr - No. points in R for full process domain. |
C Nr - No. points in Z for full process domain. |
35 |
INTEGER sNx |
INTEGER sNx |
36 |
INTEGER sNy |
INTEGER sNy |
37 |
INTEGER OLx |
INTEGER OLx |
44 |
INTEGER Ny |
INTEGER Ny |
45 |
INTEGER Nr |
INTEGER Nr |
46 |
PARAMETER ( |
PARAMETER ( |
47 |
& sNx = 90, |
& sNx = 20, |
48 |
& sNy = 20, |
& sNy = 16, |
49 |
& OLx = 3, |
& OLx = 4, |
50 |
& OLy = 3, |
& OLy = 4, |
51 |
& nSx = 1, |
& nSx = 1, |
52 |
& nSy = 1, |
& nSy = 1, |
53 |
& nPx = 1, |
& nPx = 1, |
54 |
& nPy = 2, |
& nPy = 1, |
55 |
& Nx = sNx*nSx*nPx, |
& Nx = sNx*nSx*nPx, |
56 |
& Ny = sNy*nSy*nPy, |
& Ny = sNy*nSy*nPy, |
57 |
& Nr = 20) |
& Nr = 23) |
58 |
|
|
59 |
|
C MAX_OLX - Set to the maximum overlap region size of any array |
60 |
|
C MAX_OLY that will be exchanged. Controls the sizing of exch |
61 |
|
C routine buufers. |
62 |
|
INTEGER MAX_OLX |
63 |
|
INTEGER MAX_OLY |
64 |
|
PARAMETER ( MAX_OLX = OLx, |
65 |
|
& MAX_OLY = OLy ) |
66 |
|
|
|
C l - Runtime global problem size in X |
|
|
C m - Runtime global problem size in Y |
|
|
C n - Runtime global problem size in R |
|
|
COMMON /RUNSIZ/ l, m, n |
|
|
INTEGER l |
|
|
INTEGER m |
|
|
INTEGER n |
|