version 1.41, 2015/04/24 17:02:00
|
version 1.42, 2015/07/08 16:45:59
|
|
|
| |
# the number of sum_svc processes, per sum service (e.g., SUM_get, SUM_alloc) to start, | # the number of sum_svc processes, per sum service (e.g., SUM_get, SUM_alloc) to start, |
# by default, when multi-SUMS starts up. | # by default, when multi-SUMS starts up. |
SUM_NUMSUM 3 |
SUM_NUMSUM 1 |
| |
# the maximum number of sum_svc processes, per sums service. | # the maximum number of sum_svc processes, per sums service. |
SUM_MAXNUMSUM 8 | SUM_MAXNUMSUM 8 |
Line 121 SUMS_MULTIPLE_PARTNSETS 0 |
|
Line 121 SUMS_MULTIPLE_PARTNSETS 0 |
|
# environment variables, or via editing of make_basic.mk | # environment variables, or via editing of make_basic.mk |
AUTOSELCOMP (1) | AUTOSELCOMP (1) |
| |
# SUMS Export - specify how to construct 4 arguments that represent the |
|
# transfer program (e.g. scp), the user, the host, and the port to be used |
|
# in a command line for fetching SUMS data from a server via sum_export_svc. |
|
# Use a printf format string, followed by any combination of the following |
|
# string variables: meth, user, host, domain, port. These string variables |
|
# are populated from the SUMS_URL value in jsoc.drms_sites, which has the |
|
# form: |
|
# |
|
# <meth>://<user>@<host>.<domain>:<port> |
|
# |
|
# The meth variable is assigned the string <meth>, the user variable is |
|
# assigned the string <user>, and so on. |
|
# |
|
# The 4 arguments will be used as follows to construct a command line: |
|
# METH -P PORT USER@HOST:file destfile (if PORT is not 0) |
|
# METH USER@HOST:file destfile (if PORT is 0) |
|
# |
|
# N.B. The default values, as provided in the commented-out definitions below, |
|
# will result in a command of the form: |
|
# METH -P PORT USER@HOST.DOMAIN:file destfile (if PORT is not 0) |
|
# METH USER@HOST.DOMAIN:file destfile (if PORT is 0) |
|
# It is only necessary to uncomment the definitions if you need to provide |
|
# a different command, for example, |
|
# METH USER@HOST-PORT:file destfile |
|
# in which case you would have to define: |
|
# SUMEXP_HOSTFMT "%s-%s", host, port |
|
# and |
|
# SUMEXP_PORTFMT "0" |
|
|
|
# METH argument - The transfer program name (eg., scp-hpn) |
|
#SUMEXP_METHFMT "%s", meth |
|
|
|
# USER argument - The user account name on the HOST containing the source file |
|
#SUMEXP_USERFMT "%s", user |
|
|
|
# HOST argument - The host machine containing the source file |
|
#SUMEXP_HOSTFMT "%s.%s", host, domain |
|
|
|
# PORT argument - The port on the host machine to connect to |
|
#SUMEXP_PORTFMT "%s", port |
|
|
|
############################### | ############################### |
# TABLE OF PRODUCTION USERS | # TABLE OF PRODUCTION USERS |
# These parameters are used by lib DRMS to identify a database table (not a data series) | # These parameters are used by lib DRMS to identify a database table (not a data series) |
|
|
# The paths to various binaries. | # The paths to various binaries. |
BIN_EXPORT /opt/drms/bin | BIN_EXPORT /opt/drms/bin |
SCRIPTS_EXPORT /opt/drms/scripts | SCRIPTS_EXPORT /opt/drms/scripts |
|
# The Python binary must be at least version 2.7. 3.x binaries will work. |
BIN_PY /usr/bin/python | BIN_PY /usr/bin/python |
| |
# The number of minutes after which a new email registration attempt will time-out if the registering user does | # The number of minutes after which a new email registration attempt will time-out if the registering user does |
# not respond to the verification email sent to them. | # not respond to the verification email sent to them. |
REGEMAIL_TIMEOUT 5 | REGEMAIL_TIMEOUT 5 |
| |
|
############## MT SUMS ############## |
# These are parameters needed when using the multi-threaded SUMS daemon. | # These are parameters needed when using the multi-threaded SUMS daemon. |
|
# Use the MT SUMS daemon (which serves SUM_infoArray() requests). |
SUMS_USEMTSUMS 0 | SUMS_USEMTSUMS 0 |
INC_PY /usr/include/python2.7 |
# The maximum number of SUs to process in parallel. |
LIB_PY /usr/lib/python2.7 |
SUMSD_MAX_THREADS 32 |
|
# The port to be used by the MT SUMS daemon for incoming requests. |
|
SUMSD_LISTENPORT 6002 |
|
############ END MT SUMS ############ |
|
|
| |
############################### | ############################### |
| |
|
|
# defaults | # defaults |
# PostgreSQL API headers (must contain libpq-fe.h) | # PostgreSQL API headers (must contain libpq-fe.h) |
POSTGRES_INCS:X86_64 /usr/include | POSTGRES_INCS:X86_64 /usr/include |
POSTGRES_INCS:IA32 /usr/include |
|
POSTGRES_INCS:AVX /usr/include | POSTGRES_INCS:AVX /usr/include |
| |
# the location of the PostgreSQL libs; likely to be either | # the location of the PostgreSQL libs; likely to be either |
# /usr/lib or /usr/lib64 or /usr/local/pgsql/lib | # /usr/lib or /usr/lib64 or /usr/local/pgsql/lib |
POSTGRES_LIBS:X86_64 /usr/lib64 | POSTGRES_LIBS:X86_64 /usr/lib64 |
POSTGRES_LIBS:IA32 /usr/lib |
|
POSTGRES_LIBS:AVX /usr/lib64 | POSTGRES_LIBS:AVX /usr/lib64 |
| |
# actual library names | # actual library names |
|
|
| |
# defaults | # defaults |
# CFITSIO API headers (must contain fitsio.h) | # CFITSIO API headers (must contain fitsio.h) |
CFITSIO_INCS:X86_64 /home/jsoc/include |
CFITSIO_INCS:X86_64 /usr/local/include |
CFITSIO_INCS:IA32 /home/jsoc/include |
CFITSIO_INCS:AVX /usr/local/include |
CFITSIO_INCS:AVX /home/jsoc/include |
|
| |
# the location of the cfitsio libraries | # the location of the cfitsio libraries |
CFITSIO_LIBS:X86_64 /home/jsoc/lib/linux-x86_64 |
CFITSIO_LIBS:X86_64 /usr/local/lib64 |
CFITSIO_LIBS:IA32 /home/jsoc/lib/linux-ia32 |
CFITSIO_LIBS:AVX /usr/local/lib64 |
CFITSIO_LIBS:AVX /home/jsoc/lib/linux_avx |
|
| |
# actual library names | # actual library names |
CFITSIO_LIB cfitsio | CFITSIO_LIB cfitsio |
Line 337 CFITSIO_LIB cfitsio |
|
Line 299 CFITSIO_LIB cfitsio |
|
| |
# *** end CFITSIO *** | # *** end CFITSIO *** |
| |
TAR_INCS:X86_64 /home/jsoc/include |
|
TAR_INCS:IA32 /home/jsoc/include |
#################### TAR #################### |
TAR_INCS:AVX /home/jsoc/include |
# Tar library needed by JMD. |
|
TAR_INCS:X86_64 /usr/include |
TAR_LIBS:X86_64 /home/jsoc/lib/linux-x86_64 |
TAR_INCS:AVX /usr/include |
TAR_LIBS:IA32 /home/jsoc/lib/linux-ia32 |
TAR_LIBS:X86_64 /usr/lib64 |
TAR_LIBS:AVX /home/jsoc/lib/linux_avx |
TAR_LIBS:AVX /usr/lib64 |
|
################## END TAR ################## |
|
|
|
#################### PYTHON #################### |
|
# Python library needed for multi-threaded SUMS (so far). |
|
PY_LIB python3.4m |
|
PY_INCS:X86_64 /home/jsoc/ActiveStatePy/linux_x86_64/ActivePython-3.4/include/python3.4m |
|
PY_INCS:AVX /home/jsoc/ActiveStatePy/linux_avx/ActivePython-3.4/include/python3.4m |
|
PY_LIBS:X86_64 /home/jsoc/ActiveStatePy/linux_x86_64/ActivePython-3.4/lib |
|
PY_LIBS:AVX /home/jsoc/ActiveStatePy/linux_avx/ActivePython-3.4/lib |
|
PY_HOME:X86_64 /home/jsoc/ActiveStatePy/linux_x86_64/ActivePython-3.4 |
|
PY_HOME:AVX /home/jsoc/ActiveStatePy/linux_avx/ActivePython-3.4 |
|
################## END PYTHON ################## |
|
|
| |
# NetDRMS users can request subdirectories from the Stanford proj directories | # NetDRMS users can request subdirectories from the Stanford proj directories |
# (e.g., JSOC/proj/util). These users will need to contact Stanford and obtain | # (e.g., JSOC/proj/util). These users will need to contact Stanford and obtain |