version 1.17, 2012/12/03 21:45:07
|
version 1.71, 2017/11/03 16:37:57
|
|
|
# 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:SUMSD_MAX_THREADS 32 |
|
a:SUMSD_LISTENPORT 6006 |
|
a:DRMS_LOCAL_SITE_CODE 0x0000 |
|
q:DBNAME jsoc |
|
q:WEB_DBUSER apache |
|
q:POSTGRES_ADMIN postgres |
|
q:SUMS_MANAGER production |
|
q:SUMS_GROUP SOI |
|
q:SUMLOG_BASEDIR /usr/local/logs/SUM |
|
q:SUMBIN_BASEDIR /usr/local/bin |
|
q:SUMSERVER k1.stanford.edu |
|
q:DRMS_LOG_DIR /home/jsoc/jsoclogs |
|
q:DRMS_LOCK_DIR /home/jsoc/locks |
|
# 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_INFO_URL http://jsoc.stanford.edu/cgi-bin/rssites.sh |
|
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 120 |
|
a:RS_REQTIMEOUT 300 |
|
a:RS_MAXTHREADS 216 |
|
q:RS_BINPATH /home/jsoc/cvs/Development/JSOC/bin/linux_x86_64 |
|
a:RS_N_WORKERS 4 |
|
q:RS_TMPDIR /tmp |
|
a:RS_SCP_MAXSUS 48 |
|
a:RS_SCP_MAXPAYLOAD 512 |
|
a:RS_SCP_TIMEOUT 2 |
|
# White-list (access to internal stuff) |
|
a:WL_HASWL 1 |
|
q:WL_FILE /web/jsoc/htdocs/whitelist.txt |
|
# Bin paths |
|
q:BIN_EXPORT /home/jsoc/cvs/Development/JSOC/bin |
|
q:SCRIPTS_EXPORT /home/jsoc/cvs/Development/JSOC/scripts |
|
q:BIN_PY /home/jsoc/bin/linux_x86_64/activepython27 |
|
q:BIN_PY3 /home/jsoc/anaconda3/bin/python3 |
|
a:SUMS_USEMTSUMS 1 |
|
a:SUMS_USEMTSUMS_INFO 1 |
|
# Email registration |
|
a:REGEMAIL_TIMEOUT 5 |
|
# Slony |
|
q:SLONY_CONFIG /home/jsoc/cvs/Development/JSOC/proj/replication/etc/repserver.cfg |
|
|
|
# lev1.5_hmi |
|
q:POLCAL_PARAMS /home/jsoc/hmi/tables/lev15/polcal-param-fit.bin |
| |
__MAKE__ | __MAKE__ |
$(CEXESUMS): $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT) |
# JSOC_SDP third-party libraries used by base |
$(MODEXESUMS): $(LIBSUMSAPI) $(LIBSUM) |
# 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 |
|
|
|
PY_LIB python3.5m |
|
PY_INCS:X86_64 /home/jsoc/anaconda3/include/python3.5m |
|
PY_INCS:AVX /home/jsoc/anaconda3/include/python3.5m |
|
PY_LIBS:X86_64 /home/jsoc/anaconda3/lib |
|
PY_LIBS:AVX /home/jsoc/anaconda3/lib |
|
PY_HOME:X86_64 /home/jsoc/anaconda3 |
|
PY_HOME:AVX /home/jsoc/anaconda3 |
|
|
|
|
|
# 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) $(LIBCJSON) $(LIBSUM) $(LIBDSTRUCT) $(LIBMISC) |
|
$(MODEXESUMS): $(LIBSUMSAPI) $(LIBCJSON) $(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) |
CUSTOMSW := $(CUSTOMSW) -DTRACKSHADOWS |
|
__END__ |
|
__PROJ__ | __PROJ__ |
<?xml version='1.0'?> | <?xml version='1.0'?> |
<projects> | <projects> |
|
|
<subdir>dsputil</subdir> | <subdir>dsputil</subdir> |
<subdir>gapfiller</subdir> | <subdir>gapfiller</subdir> |
<subdir>interpolate</subdir> | <subdir>interpolate</subdir> |
|
<subdir>limbcompute_aia</subdir> |
<subdir>stats</subdir> | <subdir>stats</subdir> |
<subdir>egsehmicomp</subdir> | <subdir>egsehmicomp</subdir> |
<subdir>imrotate</subdir> | <subdir>imrotate</subdir> |
|
<subdir>projection</subdir> |
</subdirs> | </subdirs> |
</proj> | </proj> |
<proj> | <proj> |
|
|
</subdirs> | </subdirs> |
</proj> | </proj> |
<proj> | <proj> |
|
<name>limbfit_aia</name> |
|
<subdirs> |
|
<subdir>apps</subdir> |
|
</subdirs> |
|
</proj> |
|
<proj> |
<name>maps_avgs</name> | <name>maps_avgs</name> |
<subdirs> | <subdirs> |
<subdir>apps</subdir> | <subdir>apps</subdir> |
|
|
</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> |
|
|
<proj> | <proj> |
<name>globalhs</name> | <name>globalhs</name> |
<subdirs> | <subdirs> |
<subdir>apps/src</subdir> |
<subdir>apps</subdir> |
|
<subdir>libs/dtgf</subdir> |
|
<subdir>libs/inv2d</subdir> |
|
<subdir>libs/pkbgn</subdir> |
|
<subdir>libs/projection</subdir> |
</subdirs> | </subdirs> |
<filters> | <filters> |
<filter> | <filter> |
|
|
<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> |
|
|
<proj> | <proj> |
<name>mag</name> | <name>mag</name> |
<subdirs> | <subdirs> |
<subdir>apps</subdir> |
|
<subdir>pfss/apps</subdir> | <subdir>pfss/apps</subdir> |
<subdir>ambig/apps</subdir> | <subdir>ambig/apps</subdir> |
<subdir>harp/apps</subdir> | <subdir>harp/apps</subdir> |
|
|
<subdir>ident/libs/mex2c</subdir> | <subdir>ident/libs/mex2c</subdir> |
<subdir>ident/libs/mexfunctions</subdir> | <subdir>ident/libs/mexfunctions</subdir> |
<subdir>ident/libs/util</subdir> | <subdir>ident/libs/util</subdir> |
|
<subdir>libs</subdir> |
|
<subdir>libs/util</subdir> |
<subdir>patch/apps</subdir> | <subdir>patch/apps</subdir> |
<subdir>nlfff/apps</subdir> | <subdir>nlfff/apps</subdir> |
<subdir>d4vm/apps</subdir> | <subdir>d4vm/apps</subdir> |
<subdir>remapmags/apps</subdir> | <subdir>remapmags/apps</subdir> |
<subdir>synop/apps</subdir> | <subdir>synop/apps</subdir> |
|
<subdir>polarfield/apps</subdir> |
|
<subdir>polcorr/apps</subdir> |
|
</subdirs> |
|
<filters> |
|
<filter> |
|
<name>COMPILER</name> |
|
<value>icc</value> |
|
</filter> |
|
</filters> |
|
</proj> |
|
<proj> |
|
<name>qmaps</name> |
|
<subdirs> |
|
<subdir>apps</subdir> |
</subdirs> | </subdirs> |
<filters> | <filters> |
<filter> | <filter> |
|
|
<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> |
|
|
<subdir>apps</subdir> | <subdir>apps</subdir> |
</subdirs> | </subdirs> |
</proj> | </proj> |
|
<proj> |
|
<name>cgem</name> |
|
<subdirs> |
|
<subdir>apps</subdir> |
|
<subdir>lorentz/apps</subdir> |
|
<subdir>pdfi/apps</subdir> |
|
<subdir>prep/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 |
| |
# Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts |
set PERLBIN = "" |
# 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" \; |
|
__END__ |
|
__LIBS__ |
|
# JSOC_SDP third-party libraries used by base |
|
POSTGRES_LIB = pq |
|
CFITSIO_LIB = cfitsio |
|
|
|
ifeq ($(JSOC_MACHINE), linux_avx) |
|
POSTGRES_INCS = /usr/include |
|
POSTGRES_LIBS = /usr/lib64 |
|
CFITSIO_INCS = /home/jsoc/avx/include |
|
CFITSIO_LIBS = /home/jsoc/avx/lib |
|
endif |
|
|
|
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-ia64 |
|
endif |
|
|
|
# JSOC_SDP third-party libraries used by the project directories |
|
|
|
ifeq ($(JSOC_MACHINE), linux_ia32) |
|
FFTW_INCS = /home/jsoc/include |
|
FFTW_LIBS = /home/jsoc/lib/linux-ia32 |
|
GSL_INCS = /home/jsoc/include |
|
GSL_LIBS = /home/jsoc/lib/linux-ia32 |
|
endif |
|
|
|
ifeq ($(JSOC_MACHINE), linux_ia64) |
|
FFTW_INCS = /home/jsoc/include |
|
FFTW_LIBS = /home/jsoc/lib/linux-x86_64 |
|
GSL_INCS = /home/jsoc/include |
|
GSL_LIBS = /home/jsoc/lib/linux-x86_64 |
|
endif |
|
|
|
ifeq ($(JSOC_MACHINE), linux_x86_64) |
|
FFTW_INCS = /home/jsoc/include |
|
FFTW_LIBS = /home/jsoc/lib/linux-x86_64 |
|
GSL_INCS = /home/jsoc/include |
|
GSL_LIBS = /home/jsoc/lib/linux-x86_64 |
|
MPI_INCS = /home/jsoc/mpich2/include |
|
MPI_LIBS = /home/jsoc/mpich2/lib |
|
MPI_PATH = /home/jsoc/mpich2/bin |
|
endif |
|
|
|
ifeq ($(JSOC_MACHINE), linux_avx) |
|
FFTW_INCS = /home/jsoc/avx/include |
|
FFTW_LIBS = /home/jsoc/avx/lib |
|
GSL_INCS = /home/jsoc/avx/include |
|
GSL_LIBS = /home/jsoc/avx/lib |
|
MPI_INCS = /home/jsoc/avx/include |
|
MPI_LIBS = /home/jsoc/avx/lib |
|
MPI_PATH = /home/jsoc/avx/bin |
|
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) |
if ($PERLBIN == "") then |
POSTGRES_INCS = /usr/include/pgsql |
if (-x /home/jsoc/bin/linux_x86_64/activeperl) then |
POSTGRES_LIBS = /usr/lib |
set PERLBIN = "/home/jsoc/bin/linux_x86_64/activeperl" |
CFITSIO_INCS = __CFITSIO_NOT_INSTALLED__ |
else |
CFITSIO_LIBS = __CFITSIO_NOT_INSTALLED__ |
set PERLBIN = "perl" |
endif | 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 | endif |
| |
ifeq ($(MACHTYPE), dcs) |
# Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts |
POSTGRES_INCS = /usr/include/pgsql |
# directory). |
POSTGRES_LIBS = /usr/lib64 |
find ../proj/lev0/scripts -mindepth 1 -path \*CVS -prune -o -print | ${PERLBIN} -MFile::Basename -n -e 'my($bn) = basename($_); chomp($bn); my($path) = $_; chomp($path); if (!(-e $bn)) { `ln -s $_`; if ($? >> 8 == 0) { print " " . $path . " OK\n"; } else { print " " . $path . " ERROR - could not create link\n"; } }' |
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__ |
|