--- MITgcm/model/inc/SIZE.h 1998/11/06 22:44:43 1.20 +++ MITgcm/model/inc/SIZE.h 2001/09/21 15:13:31 1.26 @@ -1,28 +1,44 @@ -C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/model/inc/SIZE.h,v 1.20 1998/11/06 22:44:43 cnh Exp $ +C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/model/inc/SIZE.h,v 1.26 2001/09/21 15:13:31 cnh Exp $ +C $Name: $ + + These lines are here to deliberately cause a compile-time error. + If you see these lines in your .F files or the compiler shows them + as an error then it means you have not placed your configuration + files in the appropriate place. + You need to place you own copy of SIZE.h in the include + path for the model. + C -C /==========================================================\ -C | SIZE.h Declare size of underlying computational grid. | -C |==========================================================| -C | The design here support a three-dimensional model grid | -C | with indices I,J and K. The three-dimensional domain | -C | is comprised of nPx*nSx blocks of size sNx along one axis| -C | nPy*nSy blocks of size sNy along another axis and one | -C | block of size Nz along the final axis. | -C | Blocks have overlap regions of size OLx and OLy along the| -C | dimensions that are subdivided. | -C \==========================================================/ +CBOP +C !ROUTINE: SIZE.h +C !INTERFACE: +C include SIZE.h +C !DESCRIPTION: \bv +C *==========================================================* +C | SIZE.h Declare size of underlying computational grid. +C *==========================================================* +C | The design here support a three-dimensional model grid +C | with indices I,J and K. The three-dimensional domain +C | is comprised of nPx*nSx blocks of size sNx along one axis +C | nPy*nSy blocks of size sNy along another axis and one +C | block of size Nz along the final axis. +C | Blocks have overlap regions of size OLx and OLy along the +C | dimensions that are subdivided. +C *==========================================================* +C \ev +CEOP C Voodoo numbers controlling data layout. -C sNx - No. X points in sub-grid. -C sNy - No. Y points in sub-grid. -C OLx - Overlap extent in X. -C OLy - Overlat extent in Y. -C nSx - No. sub-grids in X. -C nSy - No. sub-grids in Y. -C nPx - No. of processes to use in X. -C nPy - No. of processes to use in Y. -C Nx - No. points in X for the total domain. -C Ny - No. points in Y for the total domain. -C Nr - No. points in Z for full process domain. +C sNx :: No. X points in sub-grid. +C sNy :: No. Y points in sub-grid. +C OLx :: Overlap extent in X. +C OLy :: Overlat extent in Y. +C nSx :: No. sub-grids in X. +C nSy :: No. sub-grids in Y. +C nPx :: No. of processes to use in X. +C nPy :: No. of processes to use in Y. +C Nx :: No. points in X for the total domain. +C Ny :: No. points in Y for the total domain. +C Nr :: No. points in Z for full process domain. INTEGER sNx INTEGER sNy INTEGER OLx @@ -35,25 +51,17 @@ INTEGER Ny INTEGER Nr PARAMETER ( - & sNx = 90, - & sNy = 40, - & OLx = 3, - & OLy = 3, + & sNx = 20, + & sNy = 16, + & OLx = 4, + & OLy = 4, & nSx = 1, & nSy = 1, & nPx = 1, & nPy = 1, & Nx = sNx*nSx*nPx, & Ny = sNy*nSy*nPy, - & Nr = 20) - -C l - Runtime global problem size in X -C m - Runtime global problem size in Y -C n - Runtime global problem size in Z - COMMON /RUNSIZ/ l, m, n - INTEGER l - INTEGER m - INTEGER n + & Nr = 23) C MAX_OLX - Set to the maximum overlap region size of any array C MAX_OLY that will be exchanged. Controls the sizing of exch