# This file contains JSOC_SDP-specific configuration information. It is used only if the '-sdp' flag is used # as an argument to the check-out script (checkoutDRMS.pl). To change the configuration at Stanford, edit # this file directly, and commit those changes to the source-tree repository. # The lines in the __PROJ_MK_RULES__ section define JSOC_SDP-specific make variables, targets, and rules. When # localize.py is run, it will process this section and create JSOC/localization/make_basic.mk. These are # available to all JSOC_SDP projects. # The lines in the __PROJ__ section define JSOC_SDP projects. When localize.py runs, file content will be # added to JSOC/localization/Rules.mk and JSOC/localization/target.mk. # The lines in the __PROJCFG__ section define additional project-specific configuration. The code in this # section must be in a shell-scripting language, and will be executed as is. # The lines in the __MAKE__ section define global make variables to configure the make process. A subset of # these variables defines the locations of JSOC_SDP-specific third-party libraries. These values apply to all code # in both JSOC/base and JSOC/proj directories. __DEFS__ q:SERVER hmidb q:DRMSPGPORT 5432 q:SUMS_DB_HOST hmidb3 q:SUMPGPORT 5434 a:DRMS_LOCAL_SITE_CODE 0x0000 q:DBNAME jsoc q:WEB_DBUSER apache q:POSTGRES_ADMIN postgres q:SUMS_MANAGER production # This seems like a bad idea to make the UID a parameter. Why not just convert the SUM_MANAGER value # to a UID when needed? If the UID of the SUM_MANAGER changes, we have to change the UID here. q:SUMS_MANAGER_UID 388 q:SUMS_GROUP SOI q:SUMLOG_BASEDIR /usr/local/logs/SUM q:SUMBIN_BASEDIR /usr/local/bin q:SUMSERVER k1 # The number of SUMS process SETS to spawn. If this number is not 1, then the number of SUMS processes # is SUM_NUMSUM * 5 + 2. a:SUM_NUMSUM 3 a:SUM_MAXNUMSUM 8 p:SUMS_TAPE_AVAILABLE 1 p:SUMS_MULTIPLE_PARTNSETS 1 # No idea what this parameter means. It isn't used anywhere in our code, but for some reason # it is part of the config.local set, so we have to include it here. a:SUMS_DEBUG 1 q:PRODUSER_DBHOST hmidb:5432 q:PRODUSER_DBNAME jsoc q:PRODUSER_PRODTAB su_production.produsers q:PRODUSER_COLUSER username q:SUMRM_PART_PERCENT_FREE 3 q:SUMRM_SLEEP 300 # This is a file in SUMLOG_BASEDIR. q:SUMRM_LOG sum_rm.cfg q:SUMRM_MAIL sys2@solar2 q:SUMRM_NOOP 0 q:SUMRM_USER production q:SUMRM_NORUN_START 0 q:SUMRM_NORUN_STOP 0 # JMD p:JMD_IS_INSTALLED 0 q:JMD_URL http://localhost:8080/JMD/JMD # Remote SUMS q:RS_SITE_TABLE drms.rs_sites q:RS_REQUEST_TABLE drms.rs_requests q:RS_SU_TABLE drms.rs_sus q:RS_DBNAME jsoc q:RS_DBHOST hmidb a:RS_DBPORT 5432 q:RS_DBUSER production q:RS_LOCKFILE /home/jsoc/locks/remotesums.lck q:RS_LOGDIR /home/jsoc/jsoclogs/rsums a:RS_DLTIMEOUT 30 a:RS_REQTIMEOUT 5 a:RS_MAXTHREADS 32 q:RS_BINPATH /home/jsoc/cvs/Development/JSOC/bin/linux_x86_64 __MAKE__ # JSOC_SDP third-party libraries used by base # The parameters in this section are used to create make variables. For example, the line # 'POSTGRES_LIB = pq' will cause a make variable named POSTGRES_LIB to be created and to # be assigned the value 'pq'. # If the name in the left column contains a colon, then the name on the LHS is the parameter name. The RHS is # a description of which platforms or specific machines the parameter applies to. For example, # the name POSTGRES_INCS:X86_64 implies that the value of the parameter named POSTGRES_INCS is /usr/include # when make is run on a linux_x86_64 machine. The RHS string can contain either a platform identifier # (X86_64, IA32, AVX, or IA64) or it can be a string that identifies a particular machine, like d02. # If the string is not one of the defined platform identifiers, then it is considered a machine identifier. # A machine identifier can specify more than one machine. The name POSTGRES_INCS:hmidb specifies # all machines whose names contain the string 'hmidb'. So, for machines hmidb, hmidb2, and hmidb3, the # value of the POSTGRES_INCS parameter is /usr/local/pgsql/include. # # If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in # reality a misnomer, since it truly specifies the name of the machine platform, not the name # of the machine) to the platform name specified by the RHS string. For example, # if the RHS string is 'avx', then make compares $JSOC_MACHINE to # 'linux_avx', and if there is a match, then the parameter's value specified in the second column is assigned # to the make variable. If the RHS is a machine identifier, then make compares the value of $MACHTYPE # (another misnormer, since it is the name of the machine, not the name of some type of machine ) to # the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make # compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's # value specified in the second column is assigned to the make variable # # Blocks defined by the _CUST_/_ENDCUST_ tags are copied ver batim into the output make file. POSTGRES_LIB pq CFITSIO_LIB cfitsio POSTGRES_INCS:X86_64 /usr/include POSTGRES_INCS:IA32 /usr/include POSTGRES_INCS:AVX /usr/include POSTGRES_INCS:IA64 /usr/include/pgsql POSTGRES_INCS:j1 /usr/include/pgsql POSTGRES_INCS:d02 /usr/include/pgsql POSTGRES_INCS:hmidb /usr/local/pgsql/include POSTGRES_INCS:cl1n0 __POSTGRES_DEVELOP_NOT_INSTALLED__ POSTGRES_INCS:dcs /usr/include/pgsql POSTGRES_LIBS:X86_64 /usr/lib64 POSTGRES_LIBS:IA32 /usr/lib POSTGRES_LIBS:AVX /usr/lib64 POSTGRES_LIBS:IA64 /usr/lib POSTGRES_LIBS:j1 /usr/lib64 POSTGRES_LIBS:d02 /usr/lib POSTGRES_LIBS:hmidb /usr/lib64 POSTGRES_LIBS:cl1n0 /usr/lib64 POSTGRES_LIBS:dcs /usr/lib64 CFITSIO_INCS:X86_64 /home/jsoc/include CFITSIO_INCS:IA32 /home/jsoc/include CFITSIO_INCS:AVX /home/jsoc/avx/include CFITSIO_INCS:IA64 /home/jsoc/include CFITSIO_INCS:j1 /home/jsoc/include CFITSIO_INCS:d02 __CFITSIO_NOT_INSTALLED__ CFITSIO_INCS:hmidb /home/jsoc/include CFITSIO_INCS:cl1n0 /home/jsoc/include CFITSIO_INCS:dcs /home/jsoc/include CFITSIO_LIBS:X86_64 /home/jsoc/lib/linux-x86_64 CFITSIO_LIBS:IA32 /home/jsoc/lib/linux-ia32 CFITSIO_LIBS:AVX /home/jsoc/avx/lib CFITSIO_LIBS:IA64 /home/jsoc/lib/linux-ia64 CFITSIO_LIBS:j1 /home/jsoc/lib/linux-x86_64 CFITSIO_LIBS:d02 __CFITSIO_NOT_INSTALLED__ CFITSIO_LIBS:hmidb /home/jsoc/lib/linux-x86_64 CFITSIO_LIBS:cl1n0 /home/jsoc/lib/linux-x86_64 CFITSIO_LIBS:dcs /home/jsoc/lib/linux-x86_64 FFTW_INCS:X86_64 /home/jsoc/include FFTW_INCS:IA32 /home/jsoc/include FFTW_INCS:AVX /home/jsoc/avx/include FFTW_INCS:IA64 /home/jsoc/include FFTW_LIBS:X86_64 /home/jsoc/lib/linux-x86_64 FFTW_LIBS:IA32 /home/jsoc/lib/linux-ia32 FFTW_LIBS:AVX /home/jsoc/avx/lib FFTW_LIBS:IA64 /home/jsoc/lib/linux-x86_64 GSL_INCS:X86_64 /home/jsoc/include GSL_INCS:IA32 /home/jsoc/include GSL_INCS:AVX /home/jsoc/avx/include GSL_INCS:IA64 /home/jsoc/include GSL_LIBS:X86_64 /home/jsoc/lib/linux-x86_64 GSL_LIBS:IA32 /home/jsoc/lib/linux-ia32 GSL_LIBS:AVX /home/jsoc/avx/lib GSL_LIBS:IA64 /home/jsoc/lib/linux-x86_64 MPI_INCS:X86_64 /home/jsoc/mpich2/include MPI_INCS:IA32 MPI_INCS:AVX /home/jsoc/avx/include MPI_INCS:IA64 MPI_LIBS:X86_64 /home/jsoc/mpich2/lib MPI_LIBS:AVX /home/jsoc/avx/lib MPI_PATH:X86_64 /home/jsoc/mpich2/bin MPI_PATH:AVX /home/jsoc/avx/bin TAR_INCS:X86_64 /home/jsoc/include TAR_INCS:IA32 /home/jsoc/include TAR_INCS:AVX /home/jsoc/avx/include TAR_INCS:IA64 /home/jsoc/include TAR_LIBS:X86_64 /home/jsoc/lib/linux-x86_64 TAR_LIBS:IA32 /home/jsoc/lib/linux-ia32 TAR_LIBS:AVX /home/jsoc/lib/linux_avx TAR_LIBS:IA64 /home/jsoc/lib/linux-ia64 # Set custom make file to tell the make system that the gcc cfitsio library is called # libcfitsio_gcc.a _CUST_ ifeq ($(COMPILER), gcc) ifeq ($(JSOC_MACHINE), linux_x86_64) CFITSIO_LIB = cfitsio_gcc endif endif _ENDCUST_ __PROJ_MK_RULES__ $(CEXESUMS): $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT) $(MODEXESUMS): $(LIBSUMSAPI) $(LIBSUM) $(MODEXEDROBJ): CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr $(MODEXEDR) $(MODEXEDR_SOCK): $(LIBDR) __PROJ__ libs astro dr dsputil gapfiller interpolate stats egsehmicomp imrotate datacapture apps dsdsmigr libs apps maps_avgs apps COMPILER icc mhd_32daily apps mhd_64cr apps util apps lev0 apps lev1 apps jpe apps lev1_aia apps lev1_hmi apps export libs/util apps globalhs apps libs/dtgf libs/inv2d libs/pkbgn libs/projection COMPILER icc lev1.5_hmi libs/lev15 apps lev1.5_aia apps flatfield libs/flatfieldlib apps off_flat_IDL rings apps sharp apps COMPILER icc farside apps timed apps mag apps pfss/apps ambig/apps harp/apps harp/libs/matlab/mex/src/util harp/libs/matlab/mex/src/mex2c harp/libs/matlab/mfile-mex/standalone harp/libs/matlab/mfile-mex/assignment harp/libs/matlab/mfile-mex/fits harp/libs/matlab/mfile-mex/hmi-mask-patch ident/apps ident/libs/mex2c ident/libs/mexfunctions ident/libs/util patch/apps nlfff/apps d4vm/apps remapmags/apps synop/apps COMPILER icc limbfit apps COMPILER icc vfisv apps workflow apps cgem apps lorentz/apps COMPILER icc __PROJCFG__ #! /bin/csh -f # Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts # directory). find ../proj/lev0/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo " " {} " OK" \; \) -o -exec echo " " {} " ERROR - couldn't create link" \;