C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/aim.5l_Equatorial_Channel/code/Attic/EESIZE.h,v 1.2 2005/09/28 23:21:33 edhill dead $ C $Name: $ CBOP C !ROUTINE: EESIZE.h C !INTERFACE: C include "EESIZE.h" C C !DESCRIPTION: C *==========================================================* C | Sizes for EEPARAMS.h. | C *==========================================================* CEOP C MAX_LEN_MBUF - Default message buffer max. size C MAX_LEN_FNAM - Default file name max. size C MAX_LEN_PREC - Default record length for reading C "parameter" files INTEGER MAX_LEN_MBUF PARAMETER ( MAX_LEN_MBUF = 512 ) INTEGER MAX_LEN_FNAM PARAMETER ( MAX_LEN_FNAM = 512 ) INTEGER MAX_LEN_PREC PARAMETER ( MAX_LEN_PREC = 200 ) C MAX_NO_THREADS - Maximum number of threads allowed. C MAX_NO_PROCS - Maximum number of processes allowed. C MAX_NO_BARRIERS - Maximum number of distinct thread "barriers" INTEGER MAX_NO_THREADS PARAMETER ( MAX_NO_THREADS = 1 ) INTEGER MAX_NO_PROCS PARAMETER ( MAX_NO_PROCS = 1024 ) INTEGER MAX_NO_BARRIERS PARAMETER ( MAX_NO_BARRIERS = 1 ) C Particularly weird and obscure voodoo numbers C lShare - This wants to be the length in C [148]-byte words of the size of C the address "window" that is snooped C on an SMP bus. By separating elements in C the global sum buffer we can avoid generating C extraneous invalidate traffic between C processors. The length of this window is usually C a cache line i.e. small O(64 bytes). C The buffer arrays are usually short arrays C and are declared REAL ARRA(lShare[148],LBUFF). C Setting lShare[148] to 1 is like making these arrays C one dimensional. INTEGER cacheLineSize INTEGER lShare1 INTEGER lShare4 INTEGER lShare8 PARAMETER ( cacheLineSize = 256 ) PARAMETER ( lShare1 = cacheLineSize ) PARAMETER ( lShare4 = cacheLineSize/4 ) PARAMETER ( lShare8 = cacheLineSize/8 ) INTEGER MAX_VGS PARAMETER ( MAX_VGS = 8192 ) CEH3 ;;; Local Variables: *** CEH3 ;;; mode:fortran *** CEH3 ;;; End: ***