(file) Return to config.local.sutemplate CVS log (file) (dir) Up to [Development] / JSOC

  1 arta  1.1 __DEFS__
  2 arta  1.3 # Directory, off of JSOC for now, that specifies where localization directory is
  3           # This doesn't need to be parsed by customizedefs.pl, since this perl script
  4           # will obtain the localization directory via a cmd-line argument. 
  5           LOCALIZATIONDIR "localization"
  6           
  7 arta  1.1 # the host name of the default database server you will be accessing; you
  8           #   should include the internet domain (e.g. host.subnet.net) if the server is
  9           #   not on your subnet; but if it is on your subnet it may be better not to
 10           #   the default value is only really appropriate if you are running in a
 11           #   single-user environment, such as a laptop; whether it is the default
 12           #   or a named host depends on how the postgres database named above and
 13           #   its dependent _sums have been configured in their pg_hba.conf files:
 14           #   localhost for METHOD "trust", a named host for METHOD "ident sameuser"
 15           SERVER "hmidb"
 16           
 17           # a 15-bit numerical site identifier; values < 16384 (0x4000) are for
 18           #   publicly exporting sites, and must be registered to assure uniqueness
 19           # the default value is for a private unregistered site, and may not provide
 20           #   access to publicly exporting sites
 21           DRMS_LOCAL_SITE_CODE 0x0000
 22           
 23           USER NULL
 24           
 25           PASSWD NULL
 26           
 27           # the name of the NetDRMS database; the SUMS database will be assumed to
 28 arta  1.1 #   have the same name with "_sums" appended
 29           DBNAME "jsoc"
 30           
 31           # the user name of the postgres administrative account; normally "postgres"
 32           #   if you have followed the PostgreSQL installation suggestions
 33           POSTGRES_ADMIN	"postgres"
 34           
 35           # the user name of the SUMS administrator account - a special account is
 36           #   recommended for multi-user systems, but not required
 37           SUMS_MANAGER	"production"
 38           
 39           SUMS_MANAGER_UID "388"
 40           
 41           # the group name for users permitted to add data to DRMS/SUMS; not
 42           #   currently used in code, but should match the group ownership of
 43           #   the SUMS root directories /SUM*
 44           SUMS_GROUP	"SOI"
 45           
 46           # the base directory for SUMS logs and configuration files; used by
 47           #   base/sums/apps/sum_svc.c and sum_rm.c
 48           SUMLOG_BASEDIR	"/usr/local/logs/SUM"
 49 arta  1.1 
 50           # the directory in which the binary of sum_chmown, a root setuid program,
 51           #   is installed; must be mounted locally on the machine on which the
 52           #   SUMS partition are mounted; used by base/sums/apps/sum_svc_proc.c
 53           SUMBIN_BASEDIR	"/usr/local/bin"
 54           
 55           # the host name of the default SUMS server you will be using; this is the
 56           #   the machine that the SUMS storage units are mounted on, not necessarily
 57           #   the machine serving the Postgres SUMS database
 58           SUMSERVER	"j1"
 59           
 60           # whether a tape archive service is available for SUMS or not; set to a
 61           #   non-zero value if it is
 62           SUMS_TAPE_AVAILABLE (1)
 63           
 64 arta  1.3 # If AUTOSELCOMP is 1, then the configure script will automatically select
 65           # the 'best' compiler for use with the make system (choosing icc over gcc).
 66           # Set this to 0 to permit manual selection via the JSOC_COMPILER and JSOC_FCOMPILER
 67           # environment variables, or via editing of make_basic.mk
 68           AUTOSELCOMP 1
 69           
 70 arta  1.4 SUMS_DEBUG 1
 71           
 72 arta  1.1 # SUMS Export - specify how to construct 4 arguments that represent the
 73           #   transfer program (e.g. scp), the user, the host, and the port to be used
 74           #   in a command line for fetching SUMS data from a server via sum_export_svc.
 75           #   Use a printf format string, followed by any combination of the following
 76           #   string variables: meth, user, host, domain, port. These string variables
 77           #   are populated from the SUMS_URL value in jsoc.drms_sites, which has the
 78           #   form:
 79           #
 80           #   <meth>://<user>@<host>.<domain>:<port>
 81           #
 82           # The meth variable is assigned the string <meth>, the user variable is
 83           #   assigned the string <user>, and so on.
 84           #
 85           # The 4 arguments will be used as follows to construct a command line:
 86           #     METH -P PORT USER@HOST:file destfile (if PORT is not 0)
 87           #     METH USER@HOST:file destfile (if PORT is 0)
 88           #
 89           # N.B. The default values, as provided in the commented-out definitions below,
 90           #   will result in a command of the form:
 91           #     METH -P PORT USER@HOST.DOMAIN:file destfile (if PORT is not 0)
 92           #     METH USER@HOST.DOMAIN:file destfile (if PORT is 0)
 93 arta  1.1 #   It is only necessary to uncomment the definitions if you need to provide
 94           #   a different command, for example,
 95           #     METH USER@HOST-PORT:file destfile
 96           #   in which case you would have to define:
 97           #     SUMEXP_HOSTFMT    "%s-%s", host, port
 98           #   and
 99           #     SUMEXP_PORTFMT    "0"
100           
101           # METH argument - The transfer program name (eg., scp-hpn)
102           #LOC_SUMEXP_METHFMT  "%s", meth
103           
104           # USER argument - The user account name on the HOST containing the source file
105           #LOC_SUMEXP_USERFMT  "%s", user
106           
107           # HOST argument - The host machine containing the source file
108           #LOC_SUMEXP_HOSTFMT  "%s.%s", host, domain
109           
110           # PORT argument - The port on the host machine to connect to
111           #LOC_SUMEXP_PORTFMT  "%s", port
112           
113           
114 arta  1.1 __MAKE__
115           
116           # *** PostgreSQL ***
117           
118           #   defaults
119           #     PostgreSQL API headers (must contain libpq-fe.h)
120           POSTGRES_INCS:X86_64	/usr/include
121           POSTGRES_INCS:IA32	/usr/include
122 arta  1.2 POSTGRES_INCS:IA64	/usr/include/pgsql
123 arta  1.5 POSTGRES_INCS:AVX   /usr/include
124 arta  1.1 #     the location of the PostgreSQL libs; likely to be either
125           #     /usr/lib or /usr/lib64 or /usr/local/pgsql/lib
126           POSTGRES_LIBS:X86_64	/usr/lib
127           POSTGRES_LIBS:IA32	/usr/lib
128 arta  1.2 POSTGRES_LIBS:IA64	/usr/lib
129 arta  1.5 POSTGRES_LIBS:AVX	/usr/lib64
130 arta  1.1 
131           #     actual library names
132           POSTGRES_LIB            pq
133           
134           #   machine-specific
135           #     The following is an example:
136           #     POSTGRES_LIBS:N02     /usr/lib64
137           
138           # *** end PostgreSQL ***
139           
140           # *** CFITSIO ***
141           
142           #   defaults
143           #     CFITSIO API headers (must contain fitsio.h)
144           CFITSIO_INCS:X86_64	/home/jsoc/include
145           CFITSIO_INCS:IA32	/home/jsoc/include
146 arta  1.2 CFITSIO_INCS:IA64	/home/jsoc/include
147 arta  1.5 CFITSIO_INCS:AVX	/home/jsoc/avx/include
148 arta  1.1 
149           #     the location of the cfitsio libraries
150           CFITSIO_LIBS:X86_64	/home/jsoc/lib/linux-x86_64
151           CFITSIO_LIBS:IA32	/home/jsoc/lib/linux-ia32
152 arta  1.5 CFITSIO_LIBS:IA64   /home/jsoc/lib/linux-x86_64
153           CFITSIO_LIBS:AVX    /home/jsoc/avx/lib
154 arta  1.1 
155           #     actual library names
156           CFITSIO_LIB             cfitsio
157           
158           #   machine-specific
159           #     The following is an example:
160           #     CFITSIO_LIBS:N02	/usr/lib64
161           
162           # *** end CFITSIO ***

Karen Tian
Powered by
ViewCVS 0.9.4