--- MITgcm/verification/aim.5l_cs/code/EEPARAMS.h 2005/09/28 01:58:25 1.6 +++ MITgcm/verification/aim.5l_cs/code/EEPARAMS.h 2005/09/28 23:21:33 1.7 @@ -1,4 +1,4 @@ -C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/aim.5l_cs/code/Attic/EEPARAMS.h,v 1.6 2005/09/28 01:58:25 edhill dead $ +C $Header: /home/ubuntu/mnt/e9_copy/MITgcm/verification/aim.5l_cs/code/Attic/EEPARAMS.h,v 1.7 2005/09/28 23:21:33 edhill Exp $ C $Name: $ CBOP C !ROUTINE: EEPARAMS.h @@ -15,9 +15,12 @@ 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 "parameter" files +C ======== EESIZE.h ======================================== + +C MAX_LEN_MBUF - Default message buffer max. size +C MAX_LEN_FNAM - Default file name max. size +C MAX_LEN_PREC - Default rec len for reading "parameter" files + INTEGER MAX_LEN_MBUF PARAMETER ( MAX_LEN_MBUF = 512 ) INTEGER MAX_LEN_FNAM @@ -25,6 +28,45 @@ 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 = 128 ) + 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 ) + +C ======== EESIZE.h ======================================== + + + C SQUEEZE_RIGHT - Flag indicating right blank space removal C from text field. C SQUEEZE_LEFT - Flag indicating left blank space removal @@ -34,8 +76,8 @@ C PRINT_MAP_XY - Flag indicating to plot map as XY slices C PRINT_MAP_XZ - Flag indicating to plot map as XZ slices C PRINT_MAP_YZ - Flag indicating to plot map as YZ slices -C commentCharacter - Variable used in column 1 of parameter files to -C indicate comments. +C commentCharacter - Variable used in column 1 of parameter +C files to indicate comments. C INDEX_I - Variable used to select an index label C INDEX_J for formatted input parameters. C INDEX_K @@ -63,7 +105,6 @@ & INDEX_K = 3, & INDEX_NONE = 4 ) - C EXCH_IGNORE_CORNERS - Flag to select ignoring or C EXCH_UPDATE_CORNERS updating of corners during C an edge exchange. @@ -82,39 +123,6 @@ & REVERSE_SIMULATION = 1, & TANGENT_SIMULATION = 2 ) - -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 ) - -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 = 128 ) - INTEGER MAX_NO_BARRIERS - PARAMETER ( MAX_NO_BARRIERS = 1 ) - C-- COMMON /EEPARAMS_L/ Execution environment public logical variables. C eeBootError - Flag indicating error during multi-processing C eeEndError initialisation/termination.