(file) Return to configsdp.txt CVS log (file) (dir) Up to [Development] / JSOC

Diff for /JSOC/configsdp.txt between version 1.14 and 1.35

version 1.14, 2012/04/05 22:52:18 version 1.35, 2014/04/07 14:07:56
Line 1 
Line 1 
 # This file contains JSOC_SDP-specific configuration information. It is used only if the '-sdp' flag is used # 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).  # 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 __MAKE__ section define JSOC_SDP-specific make variables, targets, and rules. When  # The lines in the __PROJ_MK_RULES__ section define JSOC_SDP-specific make variables, targets, and rules. When
 # configproj.pl is run, it will process this section and create JSOC/localization/make_basic.mk. These are  # localize.py is run, it will process this section and create JSOC/localization/make_basic.mk. These are
 # available to all JSOC_SDP projects. # available to all JSOC_SDP projects.
  
 # The lines in the __PROJ__ section define JSOC_SDP projects. When configproj.pl runs, file content will be  # 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. # added to JSOC/localization/Rules.mk and JSOC/localization/target.mk.
  
 # The lines in the __LIBS__ section define default JSOC_SDP-specific third-party library configuration information.  # The lines in the __PROJCFG__ section define additional project-specific configuration. The code in this
 # These values apply to all code in both JSOC/base and JSOC/proj directories. Entries in config.local will override  # section must be in a shell-scripting language, and will be executed as is.
 # these values. This section is read by moreconfigure.pl only - configproj.pl does not look at this section.  
   # 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: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
   q:JMD_IS_INSTALLED              0
   q:JMD_URL                       http://localhost:8080/JMD/JMD
  
 __MAKE__ __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/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) $(CEXESUMS):                    $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT)
 $(MODEXESUMS):                  $(LIBSUMSAPI) $(LIBSUM) $(MODEXESUMS):                  $(LIBSUMSAPI) $(LIBSUM)
  
 $(MODEXEDROBJ):                 CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr $(MODEXEDROBJ):                 CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr
 $(MODEXEDR) $(MODEXEDR_SOCK):   $(LIBDR) $(MODEXEDR) $(MODEXEDR_SOCK):   $(LIBDR)
 __END__  
 __PROJ__ __PROJ__
 <?xml version='1.0'?> <?xml version='1.0'?>
 <projects> <projects>
Line 61  __PROJ__
Line 230  __PROJ__
         </filters>         </filters>
    </proj>    </proj>
    <proj>    <proj>
           <name>mhd_32daily</name>
           <subdirs>
                   <subdir>apps</subdir>
           </subdirs>
      </proj>
      <proj>
           <name>mhd_64cr</name>
           <subdirs>
                   <subdir>apps</subdir>
           </subdirs>
      </proj>
      <proj>
         <name>util</name>         <name>util</name>
         <subdirs>         <subdirs>
              <subdir>apps</subdir>              <subdir>apps</subdir>
Line 106  __PROJ__
Line 287  __PROJ__
    <proj>    <proj>
         <name>globalhs</name>         <name>globalhs</name>
         <subdirs>         <subdirs>
             <subdir>apps/src</subdir>              <subdir>apps</subdir>
               <subdir>libs/dtgf</subdir>
               <subdir>libs/pkbgn</subdir>
               <subdir>libs/projection</subdir>
         </subdirs>         </subdirs>
         <filters>         <filters>
              <filter>              <filter>
Line 135  __PROJ__
Line 319  __PROJ__
             <subdir>apps</subdir>             <subdir>apps</subdir>
             <subdir>off_flat_IDL</subdir>             <subdir>off_flat_IDL</subdir>
         </subdirs>         </subdirs>
         <filters>  
              <filter>  
                   <name>JSOC_MACHINE</name>  
                   <value>linux_x86_64</value>  
              </filter>  
        </filters>  
    </proj>    </proj>
   <proj>   <proj>
         <name>rings</name>         <name>rings</name>
Line 153  __PROJ__
Line 331  __PROJ__
         <subdirs>         <subdirs>
              <subdir>apps</subdir>              <subdir>apps</subdir>
         </subdirs>         </subdirs>
           <filters>
                <filter>
                     <name>COMPILER</name>
                     <value>icc</value>
                </filter>
          </filters>
    </proj>    </proj>
   <proj>   <proj>
         <name>farside</name>         <name>farside</name>
Line 201  __PROJ__
Line 385  __PROJ__
         <subdirs>         <subdirs>
             <subdir>apps</subdir>             <subdir>apps</subdir>
         </subdirs>         </subdirs>
           <filters>
                <filter>
                     <name>COMPILER</name>
                     <value>icc</value>
                </filter>
          </filters>
    </proj>    </proj>
    <proj>    <proj>
         <name>vfisv</name>         <name>vfisv</name>
Line 214  __PROJ__
Line 404  __PROJ__
             <subdir>apps</subdir>             <subdir>apps</subdir>
         </subdirs>         </subdirs>
    </proj>    </proj>
      <proj>
           <name>cgem</name>
           <subdirs>
                <subdir>apps</subdir>
                <subdir>lorentz/apps</subdir>
           </subdirs>
           <filters>
                <filter>
                     <name>COMPILER</name>
                     <value>icc</value>
                </filter>
          </filters>
      </proj>
 </projects> </projects>
 __END__  
 __PROJCFG__ __PROJCFG__
 #! /bin/csh -f #! /bin/csh -f
  
Line 223  __PROJCFG__
Line 425  __PROJCFG__
 # directory). # 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" \; 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" \;
 __END__  
 __LIBS__  
 # JSOC_SDP third-party libraries used by base  
     POSTGRES_LIB = pq  
     CFITSIO_LIB = cfitsio  
   
     ifeq ($(JSOC_MACHINE), linux_x86_64)  
       POSTGRES_INCS = /usr/include  
       POSTGRES_LIBS = /usr/lib64  
       CFITSIO_INCS = /home/jsoc/include  
       CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64  
     endif  
   
     ifeq ($(JSOC_MACHINE), linux_ia32)  
       POSTGRES_INCS = /usr/include  
       POSTGRES_LIBS = /usr/lib  
       CFITSIO_INCS = /home/jsoc/include  
       CFITSIO_LIBS = /home/jsoc/lib/linux-ia32  
     endif  
   
     ifeq ($(JSOC_MACHINE), linux_ia64)  
       POSTGRES_INCS = /usr/include/pgsql  
       POSTGRES_LIBS = /usr/lib  
       CFITSIO_INCS = /home/jsoc/include  
       CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64  
     endif  
   
 # JSOC_SDP third-party libraries used by the project directories  
     FFTW3_LIB = fftw3  
   
     ifeq ($(JSOC_MACHINE), linux_ia32)  
       FFTW_INCS = /home/jsoc/include  
       FFTW_LIBS = /home/jsoc/lib/linux-ia32  
     endif  
  
     ifeq ($(JSOC_MACHINE), linux_x86_64)  
       FFTW_INCS = /home/jsoc/include  
       FFTW_LIBS = /home/jsoc/lib/linux-x86_64  
     endif  
   
 # Try to specialize for non-default machines  
     ifeq ($(MACHTYPE), j1)  
       POSTGRES_INCS = /usr/include/pgsql  
       POSTGRES_LIBS = /usr/lib64  
       CFITSIO_INCS = /home/jsoc/include  
       CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64  
     endif  
   
     ifeq ($(MACHTYPE), d02)  
       POSTGRES_INCS = /usr/include/pgsql  
       POSTGRES_LIBS = /usr/lib  
       CFITSIO_INCS = __CFITSIO_NOT_INSTALLED__  
       CFITSIO_LIBS = __CFITSIO_NOT_INSTALLED__  
    endif  
   
     ifeq ($(MACHTYPE), dbserver)  
       POSTGRES_INCS = /usr/local/pgsql/include  
       POSTGRES_LIBS = /usr/lib64  
       CFITSIO_INCS = /home/jsoc/include  
       CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64  
     endif  
   
     ifeq ($(MACHTYPE), cluster)  
       POSTGRES_INCS = __POSTGRES_DEVELOP_NOT_INSTALLED__  
       POSTGRES_LIBS = /usr/lib64  
       CFITSIO_INCS = /home/jsoc/include  
       CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64  
     endif  
   
     ifeq ($(MACHTYPE), dcs)  
       POSTGRES_INCS = /usr/include/pgsql  
       POSTGRES_LIBS = /usr/lib64  
       CFITSIO_INCS = /home/jsoc/include  
       CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64  
     endif  
 # Set custom make file to tell the make system that the gcc cfitsio library is called  
 # libcfitsio_gcc.a  
     ifeq ($(COMPILER), gcc)  
       ifeq ($(JSOC_MACHINE), linux_x86_64)  
         CFITSIO_LIB = cfitsio_gcc  
       endif  
     endif  
 __END__  


Legend:
Removed from v.1.14  
changed lines
  Added in v.1.35

Karen Tian
Powered by
ViewCVS 0.9.4