Back to home page

MITgcm

 
 

    


File indexing completed on 2018-07-03 05:09:19 UTC

view on githubraw file Latest commit 03318334 on 2018-06-27 04:27:30 UTC
76edd074b1 Alis*0001   These lines are here to deliberately cause a compile-time error.
                0002   If you see these lines in your .F files or the compiler shows them
                0003   as an error then it means you have not placed your configuration
a8a6c7885b Jean*0004   files in the appropriate place.
76edd074b1 Alis*0005   You need to place you own copy of SIZE.h in the include
fd439401c4 Bayl*0006   path for the model, and comment out these lines.
76edd074b1 Alis*0007 
ac0f2a1690 Chri*0008 CBOP
                0009 C    !ROUTINE: SIZE.h
                0010 C    !INTERFACE:
                0011 C    include SIZE.h
                0012 C    !DESCRIPTION: \bv
                0013 C     *==========================================================*
0b442d3d06 Jean*0014 C     | SIZE.h Declare size of underlying computational grid.
ac0f2a1690 Chri*0015 C     *==========================================================*
e6e308892a Ed D*0016 C     | The design here supports a three-dimensional model grid
0b442d3d06 Jean*0017 C     | with indices I,J and K. The three-dimensional domain
8a5fe66f17 Jean*0018 C     | is comprised of nPx*nSx blocks (or tiles) of size sNx
03318334e8 Jean*0019 C     | along the first (left-most index) axis, nPy*nSy blocks
                0020 C     | of size sNy along the second axis and one block of size
                0021 C     | Nr along the vertical (third) axis.
8a5fe66f17 Jean*0022 C     | Blocks/tiles have overlap regions of size OLx and OLy
                0023 C     | along the dimensions that are subdivided.
ac0f2a1690 Chri*0024 C     *==========================================================*
                0025 C     \ev
0b442d3d06 Jean*0026 C
                0027 C     Voodoo numbers controlling data layout:
                0028 C     sNx :: Number of X points in tile.
                0029 C     sNy :: Number of Y points in tile.
                0030 C     OLx :: Tile overlap extent in X.
                0031 C     OLy :: Tile overlap extent in Y.
8ee658579c Jean*0032 C     nSx :: Number of tiles per process in X.
                0033 C     nSy :: Number of tiles per process in Y.
0b442d3d06 Jean*0034 C     nPx :: Number of processes to use in X.
                0035 C     nPy :: Number of processes to use in Y.
                0036 C     Nx  :: Number of points in X for the full domain.
                0037 C     Ny  :: Number of points in Y for the full domain.
                0038 C     Nr  :: Number of points in vertical direction.
ac0f2a1690 Chri*0039 CEOP
924557e60a Chri*0040       INTEGER sNx
                0041       INTEGER sNy
                0042       INTEGER OLx
                0043       INTEGER OLy
                0044       INTEGER nSx
                0045       INTEGER nSy
                0046       INTEGER nPx
                0047       INTEGER nPy
                0048       INTEGER Nx
                0049       INTEGER Ny
056a024bcc Chri*0050       INTEGER Nr
924557e60a Chri*0051       PARAMETER (
8ee658579c Jean*0052      &           sNx =  30,
                0053      &           sNy =  15,
                0054      &           OLx =   2,
                0055      &           OLy =   2,
                0056      &           nSx =   2,
                0057      &           nSy =   4,
924557e60a Chri*0058      &           nPx =   1,
910f05e765 Chri*0059      &           nPy =   1,
924557e60a Chri*0060      &           Nx  = sNx*nSx*nPx,
                0061      &           Ny  = sNy*nSy*nPy,
8ee658579c Jean*0062      &           Nr  =   4)
924557e60a Chri*0063 
a8a6c7885b Jean*0064 C     MAX_OLX :: Set to the maximum overlap region size of any array
c206b07c1d Chri*0065 C     MAX_OLY    that will be exchanged. Controls the sizing of exch
a8a6c7885b Jean*0066 C                routine buffers.
a85d6ab24e Chri*0067       INTEGER MAX_OLX
                0068       INTEGER MAX_OLY
                0069       PARAMETER ( MAX_OLX = OLx,
                0070      &            MAX_OLY = OLy )
                0071