# 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). # The lines in the __MAKE__ 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 # available to all JSOC_SDP projects. # The lines in the __PROJ__ section define JSOC_SDP projects. When configproj.pl runs, file content will be # 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. # These values apply to all code in both JSOC/base and JSOC/proj directories. Entries in config.local will override # these values. This section is read by moreconfigure.pl only - configproj.pl does not look at this section. __MAKE__ $(CEXESUMS): $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT) $(MODEXESUMS): $(LIBSUMSAPI) $(LIBSUM) $(MODEXEDROBJ): CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr $(MODEXEDR) $(MODEXEDR_SOCK): $(LIBDR) CUSTOMSW := $(CUSTOMSW) -DTRACKSHADOWS __END__ __PROJ__ libs astro dr dsputil gapfiller interpolate stats egsehmicomp imrotate datacapture apps dsdsmigr libs apps maps_avgs apps COMPILER icc util apps lev0 apps lev1 apps jpe apps lev1_aia apps lev1_hmi apps export libs/util apps globalhs apps/src COMPILER icc lev1.5_hmi libs/lev15 apps lev1.5_aia apps flatfield libs/flatfieldlib apps off_flat_IDL rings apps sharp apps 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 vfisv apps workflow apps __END__ __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" \; __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) 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__