/[MITgcm]/MITgcm_contrib/eh3_spgr/hs94.cs-32x32x5/code_v2/EESIZE.h
ViewVC logotype

Annotation of /MITgcm_contrib/eh3_spgr/hs94.cs-32x32x5/code_v2/EESIZE.h

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


Revision 1.1 - (hide annotations) (download)
Fri Sep 23 20:52:00 2005 UTC (21 years, 1 month ago) by edhill
Branch: MAIN
File MIME type: text/plain
 o initial working version

1 edhill 1.1 C $Header: $
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 = 32 )
32     INTEGER MAX_NO_PROCS
33     PARAMETER ( MAX_NO_PROCS = 2048 )
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     CEH3 ;;; Local Variables: ***
61     CEH3 ;;; mode:fortran ***
62     CEH3 ;;; End: ***

  ViewVC Help
Powered by ViewVC 1.1.22