/[MITgcm]/MITgcm/verification/aim.5l_cs/code/EESIZE.h
ViewVC logotype

Contents of /MITgcm/verification/aim.5l_cs/code/EESIZE.h

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


Revision 1.2 - (show annotations) (download)
Wed Sep 28 23:21:33 2005 UTC (18 years, 6 months ago) by edhill
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
File MIME type: text/plain
FILE REMOVED
 o put EEPARAMS.h back the way JMC insists
   - and fix args to global_vec_sum.F

1 C $Header: /u/gcmpack/MITgcm/verification/aim.5l_cs/code/EESIZE.h,v 1.1 2005/09/28 01:58:25 edhill Exp $
2 C $Name: $
3
4 CBOP
5 C !ROUTINE: EESIZE.h
6 C !INTERFACE:
7 C include "EESIZE.h"
8 C
9 C !DESCRIPTION:
10 C *==========================================================*
11 C | Sizes for EEPARAMS.h. |
12 C *==========================================================*
13 CEOP
14
15 C MAX_LEN_MBUF - Default message buffer max. size
16 C MAX_LEN_FNAM - Default file name max. size
17 C MAX_LEN_PREC - Default record length for reading
18 C "parameter" files
19
20 INTEGER MAX_LEN_MBUF
21 PARAMETER ( MAX_LEN_MBUF = 512 )
22 INTEGER MAX_LEN_FNAM
23 PARAMETER ( MAX_LEN_FNAM = 512 )
24 INTEGER MAX_LEN_PREC
25 PARAMETER ( MAX_LEN_PREC = 200 )
26
27 C MAX_NO_THREADS - Maximum number of threads allowed.
28 C MAX_NO_PROCS - Maximum number of processes allowed.
29 C MAX_NO_BARRIERS - Maximum number of distinct thread "barriers"
30 INTEGER MAX_NO_THREADS
31 PARAMETER ( MAX_NO_THREADS = 1 )
32 INTEGER MAX_NO_PROCS
33 PARAMETER ( MAX_NO_PROCS = 128 )
34 INTEGER MAX_NO_BARRIERS
35 PARAMETER ( MAX_NO_BARRIERS = 1 )
36
37
38 C Particularly weird and obscure voodoo numbers
39 C lShare - This wants to be the length in
40 C [148]-byte words of the size of
41 C the address "window" that is snooped
42 C on an SMP bus. By separating elements in
43 C the global sum buffer we can avoid generating
44 C extraneous invalidate traffic between
45 C processors. The length of this window is usually
46 C a cache line i.e. small O(64 bytes).
47 C The buffer arrays are usually short arrays
48 C and are declared REAL ARRA(lShare[148],LBUFF).
49 C Setting lShare[148] to 1 is like making these arrays
50 C one dimensional.
51 INTEGER cacheLineSize
52 INTEGER lShare1
53 INTEGER lShare4
54 INTEGER lShare8
55 PARAMETER ( cacheLineSize = 256 )
56 PARAMETER ( lShare1 = cacheLineSize )
57 PARAMETER ( lShare4 = cacheLineSize/4 )
58 PARAMETER ( lShare8 = cacheLineSize/8 )
59
60 INTEGER MAX_VGS
61 PARAMETER ( MAX_VGS = 8192 )
62
63
64 CEH3 ;;; Local Variables: ***
65 CEH3 ;;; mode:fortran ***
66 CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22