/[MITgcm]/MITgcm/verification/natl_box/code/SIZE.h_mpi
ViewVC logotype

Annotation of /MITgcm/verification/natl_box/code/SIZE.h_mpi

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.3 - (hide annotations) (download)
Sun Feb 13 00:31:30 2011 UTC (13 years, 1 month ago) by jmc
Branch: MAIN
CVS Tags: checkpoint64y, checkpoint64x, checkpoint64z, checkpoint64q, checkpoint64p, checkpoint64s, checkpoint64r, checkpoint64u, checkpoint64t, checkpoint64w, checkpoint64v, checkpoint64i, checkpoint64h, checkpoint64k, checkpoint64j, checkpoint64m, checkpoint64l, checkpoint64o, checkpoint64n, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint65, checkpoint63, checkpoint66g, checkpoint66f, checkpoint66e, checkpoint66d, checkpoint66c, checkpoint66b, checkpoint66a, checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, checkpoint66j, checkpoint66i, checkpoint66h, checkpoint65z, checkpoint65x, checkpoint65y, checkpoint65r, checkpoint65s, checkpoint65p, checkpoint65q, checkpoint65v, checkpoint65w, checkpoint65t, checkpoint65u, checkpoint65j, checkpoint65k, checkpoint65h, checkpoint65i, checkpoint65n, checkpoint65o, checkpoint65l, checkpoint65m, checkpoint65b, checkpoint65c, checkpoint65a, checkpoint65f, checkpoint65g, checkpoint65d, checkpoint65e, checkpoint62s, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x, HEAD
Changes since 1.2: +3 -3 lines
allow to run on more processors when using "testreport -MPI"

1 jmc 1.3 C $Header: /u/gcmpack/MITgcm/verification/natl_box/code/SIZE.h_mpi,v 1.2 2009/06/29 21:27:53 jmc Exp $
2 edhill 1.1 C $Name: $
3 jmc 1.2
4 edhill 1.1 C
5 jmc 1.2 CBOP
6     C !ROUTINE: SIZE.h
7     C !INTERFACE:
8     C include SIZE.h
9     C !DESCRIPTION: \bv
10     C *==========================================================*
11     C | SIZE.h Declare size of underlying computational grid.
12     C *==========================================================*
13     C | The design here support a three-dimensional model grid
14     C | with indices I,J and K. The three-dimensional domain
15     C | is comprised of nPx*nSx blocks of size sNx along one axis
16     C | nPy*nSy blocks of size sNy along another axis and one
17     C | block of size Nz along the final axis.
18     C | Blocks have overlap regions of size OLx and OLy along the
19     C | dimensions that are subdivided.
20     C *==========================================================*
21     C \ev
22     CEOP
23 edhill 1.1 C Voodoo numbers controlling data layout.
24 jmc 1.2 C sNx :: No. X points in sub-grid.
25     C sNy :: No. Y points in sub-grid.
26     C OLx :: Overlap extent in X.
27     C OLy :: Overlat extent in Y.
28     C nSx :: No. sub-grids in X.
29     C nSy :: No. sub-grids in Y.
30     C nPx :: No. of processes to use in X.
31     C nPy :: No. of processes to use in Y.
32     C Nx :: No. points in X for the total domain.
33     C Ny :: No. points in Y for the total domain.
34     C Nr :: No. points in Z for full process domain.
35 edhill 1.1 INTEGER sNx
36     INTEGER sNy
37     INTEGER OLx
38     INTEGER OLy
39     INTEGER nSx
40     INTEGER nSy
41     INTEGER nPx
42     INTEGER nPy
43     INTEGER Nx
44     INTEGER Ny
45     INTEGER Nr
46     PARAMETER (
47     & sNx = 10,
48 jmc 1.2 & sNy = 8,
49 edhill 1.1 & OLx = 4,
50     & OLy = 4,
51 jmc 1.3 & nSx = 1,
52 edhill 1.1 & nSy = 1,
53 jmc 1.3 & nPx = 2,
54 jmc 1.2 & nPy = 2,
55 edhill 1.1 & Nx = sNx*nSx*nPx,
56     & Ny = sNy*nSy*nPy,
57     & Nr = 23)
58    
59 jmc 1.2 C MAX_OLX :: Set to the maximum overlap region size of any array
60 edhill 1.1 C MAX_OLY that will be exchanged. Controls the sizing of exch
61 jmc 1.2 C routine buffers.
62 edhill 1.1 INTEGER MAX_OLX
63     INTEGER MAX_OLY
64     PARAMETER ( MAX_OLX = OLx,
65     & MAX_OLY = OLy )
66    

  ViewVC Help
Powered by ViewVC 1.1.22