ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/JSOC/configsdp.txt
(Generate patch)

Comparing configsdp.txt (file contents):
Revision 1.8 by rick, Tue Nov 15 00:05:34 2011 UTC vs.
Revision 1.23 by arta, Tue Nov 19 23:00:32 2013 UTC

# Line 1 | Line 1
1   # This file contains JSOC_SDP-specific configuration information. It is used only if the '-sdp' flag is used
2 < # as an argument to the check-out script (checkoutDRMS.pl).
2 > # as an argument to the check-out script (checkoutDRMS.pl). To change the configuration at Stanford, edit
3 > # this file directly, and commit those changes to the source-tree repository.
4  
5 < # The lines in the __MAKE__ section define JSOC_SDP-specific make variables, targets, and rules. When
6 < # configproj.pl is run, it will process this section and create JSOC/localization/make_basic.mk. These are
5 > # The lines in the __PROJ_MK_RULES__ section define JSOC_SDP-specific make variables, targets, and rules. When
6 > # localize.py is run, it will process this section and create JSOC/localization/make_basic.mk. These are
7   # available to all JSOC_SDP projects.
8  
9 < # The lines in the __PROJ__ section define JSOC_SDP projects. When configproj.pl runs, file content will be
9 > # The lines in the __PROJ__ section define JSOC_SDP projects. When localize.py runs, file content will be
10   # added to JSOC/localization/Rules.mk and JSOC/localization/target.mk.
11  
12 < # The lines in the __LIBS__ section define default JSOC_SDP-specific third-party library configuration information.
13 < # These values apply to all code in both JSOC/base and JSOC/proj directories. Entries in config.local will override
14 < # these values. This section is read by moreconfigure.pl only - configproj.pl does not look at this section.
12 > # The lines in the __PROJCFG__ section define additional project-specific configuration. The code in this
13 > # section must be in a shell-scripting language, and will be executed as is.
14 >
15 > # The lines in the __MAKE__ section define global make variables to configure the make process. A subset of
16 > # these variables defines the locations of JSOC_SDP-specific third-party libraries. These values apply to all code
17 > # in both JSOC/base and JSOC/proj directories.
18 >
19 > __DEFS__
20 > q:SERVER                        hmidb
21 > q:DRMSPGPORT                    5432
22 > q:SUMS_DB_HOST                  hmidb3
23 > q:SUMPGPORT                     5434
24 > a:DRMS_LOCAL_SITE_CODE          0x0000
25 > q:DBNAME                        jsoc
26 >
27 > q:POSTGRES_ADMIN                postgres
28 > q:SUMS_MANAGER                  production
29 > # This seems like a bad idea to make the UID a parameter. Why not just convert the SUM_MANAGER value
30 > # to a UID when needed? If the UID of the SUM_MANAGER changes, we have to change the UID here.
31 > q:SUMS_MANAGER_UID              388
32 > q:SUMS_GROUP                    SOI
33 > q:SUMLOG_BASEDIR                /usr/local/logs/SUM
34 > q:SUMBIN_BASEDIR                /usr/local/bin
35 > q:SUMSERVER                     k1
36 > # The number of SUMS process SETS to spawn. If this number is not 1, then the number of SUMS processes
37 > # is SUM_NUMSUM * 5 + 2.
38 > a:SUM_NUMSUM                    3
39 > a:SUM_MAXNUMSUM                 8
40 > p:SUMS_TAPE_AVAILABLE           1
41 > p:SUMS_MULTIPLE_PARTNSETS       1
42 > # No idea what this parameter means. It isn't used anywhere in our code, but for some reason
43 > # it is part of the config.local set, so we have to include it here.
44 > a:SUMS_DEBUG                    1
45 > q:PRODUSER_DBHOST               hmidb:5432
46 > q:PRODUSER_DBNAME               jsoc
47 > q:PRODUSER_PRODTAB              su_production.produsers
48 > q:PRODUSER_COLUSER              username
49  
50   __MAKE__
51 + # JSOC_SDP third-party libraries used by base
52 + # The parameters in this section are used to create make variables. For example, the line
53 + # 'POSTGRES_LIB = pq' will cause a make variable named POSTGRES_LIB to be created and to
54 + # be assigned the value 'pq'.
55 +
56 + # If the name in the left column contains a colon, then the name on the LHS is the parameter name. The RHS is
57 + # a description of which platforms or specific machines the parameter applies to. For example,
58 + # the name POSTGRES_INCS:X86_64 implies that the value of the parameter named POSTGRES_INCS is /usr/include
59 + # when make is run on a linux_x86_64 machine. The RHS string can contain either a platform identifier
60 + # (X86_64, IA32, AVX, or IA64) or it can be a string that identifies a particular machine, like d02.
61 + # If the string is not one of the defined platform identifiers, then it is considered a machine identifier.
62 + # A machine identifier can specify more than one machine. The name POSTGRES_INCS:hmidb specifies
63 + # all machines whose names contain the string 'hmidb'. So, for machines hmidb, hmidb2, and hmidb3, the
64 + # value of the POSTGRES_INCS parameter is /usr/local/pgsql/include.
65 + #
66 + # If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in
67 + # reality a misnomer, since it truly specifies the name of the machine platform, not the name
68 + # of the machine) to the platform name specified by the RHS string. For example,
69 + # if the RHS string is 'avx', then make compares $JSOC_MACHINE to
70 + # 'linux_avx', and if there is a match, then the parameter's value specified in the second column is assigned
71 + # to the make variable. If the RHS is a machine identifier, then make compares the value of $MACHTYPE
72 + # (another misnormer, since it is the name of the machine, not the name of some type of machine ) to
73 + # the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make
74 + # compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's
75 + # value specified in the second column is assigned to the make variable
76 + #
77 + # Blocks defined by the _CUST_/_ENDCUST_ tags are copied ver batim into the output make file.
78 +
79 + POSTGRES_LIB            pq
80 + CFITSIO_LIB             cfitsio
81 +
82 + POSTGRES_INCS:X86_64    /usr/include
83 + POSTGRES_INCS:IA32      /usr/include
84 + POSTGRES_INCS:AVX       /usr/include
85 + POSTGRES_INCS:IA64      /usr/include/pgsql
86 + POSTGRES_INCS:j1       /usr/include/pgsql
87 + POSTGRES_INCS:d02      /usr/include/pgsql
88 + POSTGRES_INCS:hmidb    /usr/local/pgsql/include
89 + POSTGRES_INCS:cl1n0    __POSTGRES_DEVELOP_NOT_INSTALLED__
90 + POSTGRES_INCS:dcs      /usr/include/pgsql
91 +
92 + POSTGRES_LIBS:X86_64    /usr/lib64
93 + POSTGRES_LIBS:IA32      /usr/lib
94 + POSTGRES_LIBS:AVX       /usr/lib64
95 + POSTGRES_LIBS:IA64      /usr/lib
96 + POSTGRES_LIBS:j1       /usr/lib64
97 + POSTGRES_LIBS:d02      /usr/lib
98 + POSTGRES_LIBS:hmidb    /usr/lib64
99 + POSTGRES_LIBS:cl1n0    /usr/lib64
100 + POSTGRES_LIBS:dcs      /usr/lib64
101 +
102 + CFITSIO_INCS:X86_64     /home/jsoc/include
103 + CFITSIO_INCS:IA32       /home/jsoc/include
104 + CFITSIO_INCS:AVX        /home/jsoc/avx/include
105 + CFITSIO_INCS:IA64       /home/jsoc/include
106 + CFITSIO_INCS:j1         /home/jsoc/include
107 + CFITSIO_INCS:d02        __CFITSIO_NOT_INSTALLED__
108 + CFITSIO_INCS:hmidb      /home/jsoc/include
109 + CFITSIO_INCS:cl1n0      /home/jsoc/include
110 + CFITSIO_INCS:dcs        /home/jsoc/include
111 +
112 + CFITSIO_LIBS:X86_64     /home/jsoc/lib/linux-x86_64
113 + CFITSIO_LIBS:IA32       /home/jsoc/lib/linux-ia32
114 + CFITSIO_LIBS:AVX        /home/jsoc/avx/lib
115 + CFITSIO_LIBS:IA64       /home/jsoc/lib/linux-ia64
116 + CFITSIO_LIBS:j1         /home/jsoc/lib/linux-x86_64
117 + CFITSIO_LIBS:d02        __CFITSIO_NOT_INSTALLED__
118 + CFITSIO_LIBS:hmidb      /home/jsoc/lib/linux-x86_64
119 + CFITSIO_LIBS:cl1n0      /home/jsoc/lib/linux-x86_64
120 + CFITSIO_LIBS:dcs        /home/jsoc/lib/linux-x86_64
121 +
122 + FFTW_INCS:X86_64        /home/jsoc/include
123 + FFTW_INCS:IA32          /home/jsoc/include
124 + FFTW_INCS:AVX           /home/jsoc/avx/include
125 + FFTW_INCS:IA64          /home/jsoc/include
126 +
127 + FFTW_LIBS:X86_64        /home/jsoc/lib/linux-x86_64
128 + FFTW_LIBS:IA32          /home/jsoc/lib/linux-ia32
129 + FFTW_LIBS:AVX           /home/jsoc/avx/lib
130 + FFTW_LIBS:IA64          /home/jsoc/lib/linux-x86_64
131 +
132 + GSL_INCS:X86_64         /home/jsoc/include
133 + GSL_INCS:IA32           /home/jsoc/include
134 + GSL_INCS:AVX            /home/jsoc/avx/include
135 + GSL_INCS:IA64           /home/jsoc/include
136 +
137 + GSL_LIBS:X86_64         /home/jsoc/lib/linux-x86_64
138 + GSL_LIBS:IA32           /home/jsoc/lib/linux-ia32
139 + GSL_LIBS:AVX            /home/jsoc/avx/lib
140 + GSL_LIBS:IA64           /home/jsoc/lib/linux-x86_64
141 +
142 + MPI_INCS:X86_64         /home/jsoc/mpich2/include
143 + MPI_INCS:IA32          
144 + MPI_INCS:AVX            /home/jsoc/avx/include
145 + MPI_INCS:IA64          
146 +
147 + MPI_LIBS:X86_64         /home/jsoc/mpich2/lib
148 + MPI_LIBS:AVX            /home/jsoc/avx/lib
149 +
150 + MPI_PATH:X86_64         /home/jsoc/mpich2/bin
151 + MPI_PATH:AVX            /home/jsoc/avx/bin
152 +
153 + # Set custom make file to tell the make system that the gcc cfitsio library is called
154 + # libcfitsio_gcc.a
155 + _CUST_
156 + ifeq ($(COMPILER), gcc)
157 +    ifeq ($(JSOC_MACHINE), linux_x86_64)
158 +    CFITSIO_LIB = cfitsio_gcc
159 +    endif
160 + endif
161 + _ENDCUST_
162 +
163 + __PROJ_MK_RULES__
164   $(CEXESUMS):                    $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT)
165   $(MODEXESUMS):                  $(LIBSUMSAPI) $(LIBSUM)
166  
167   $(MODEXEDROBJ):                 CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr
168   $(MODEXEDR) $(MODEXEDR_SOCK):   $(LIBDR)
21 __END__
169   __PROJ__
170   <?xml version='1.0'?>
171   <projects>
# Line 106 | Line 253 | __PROJ__
253     <proj>
254          <name>globalhs</name>
255          <subdirs>
256 <            <subdir>apps/src</subdir>
256 >            <subdir>apps</subdir>
257 >            <subdir>libs/dtgf</subdir>
258 >            <subdir>libs/pkbgn</subdir>
259 >            <subdir>libs/projection</subdir>
260          </subdirs>
261          <filters>
262               <filter>
# Line 135 | Line 285 | __PROJ__
285              <subdir>apps</subdir>
286              <subdir>off_flat_IDL</subdir>
287          </subdirs>
138        <filters>
139             <filter>
140                  <name>JSOC_MACHINE</name>
141                  <value>linux_x86_64</value>
142             </filter>
143       </filters>
288     </proj>
289    <proj>
290          <name>rings</name>
# Line 149 | Line 293 | __PROJ__
293          </subdirs>
294     </proj>
295    <proj>
296 +        <name>sharp</name>
297 +        <subdirs>
298 +             <subdir>apps</subdir>
299 +        </subdirs>
300 +        <filters>
301 +             <filter>
302 +                  <name>COMPILER</name>
303 +                  <value>icc</value>
304 +             </filter>
305 +       </filters>
306 +   </proj>
307 +  <proj>
308          <name>farside</name>
309          <subdirs>
310               <subdir>apps</subdir>
# Line 166 | Line 322 | __PROJ__
322               <subdir>apps</subdir>
323               <subdir>pfss/apps</subdir>
324               <subdir>ambig/apps</subdir>
325 +             <subdir>harp/apps</subdir>
326 +             <subdir>harp/libs/matlab/mex/src/util</subdir>
327 +             <subdir>harp/libs/matlab/mex/src/mex2c</subdir>
328 +             <subdir>harp/libs/matlab/mfile-mex/standalone</subdir>
329 +             <subdir>harp/libs/matlab/mfile-mex/assignment</subdir>
330 +             <subdir>harp/libs/matlab/mfile-mex/fits</subdir>
331 +             <subdir>harp/libs/matlab/mfile-mex/hmi-mask-patch</subdir>
332               <subdir>ident/apps</subdir>
333               <subdir>ident/libs/mex2c</subdir>
334               <subdir>ident/libs/mexfunctions</subdir>
# Line 188 | Line 351 | __PROJ__
351          <subdirs>
352              <subdir>apps</subdir>
353          </subdirs>
354 +        <filters>
355 +             <filter>
356 +                  <name>COMPILER</name>
357 +                  <value>icc</value>
358 +             </filter>
359 +       </filters>
360     </proj>
361     <proj>
362          <name>vfisv</name>
# Line 202 | Line 371 | __PROJ__
371          </subdirs>
372     </proj>
373   </projects>
205 __END__
374   __PROJCFG__
375   #! /bin/csh -f
376  
# Line 211 | Line 379 | __PROJCFG__
379  
380   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" \;
381  
214 find ../proj/datacapture/scripts -mindepth 1 \( -path \*CVS -prune -o -exec ln -s {} . \; -a -exec echo "  " {} " OK" \; \) -o -exec echo "  " {} " ERROR - couldn't create link" \;
215 __END__
216 __LIBS__
217 # JSOC_SDP third-party libraries used by base
218    POSTGRES_LIB = pq
219    CFITSIO_LIB = cfitsio
220
221    ifeq ($(JSOC_MACHINE), linux_x86_64)
222      POSTGRES_INCS = /usr/include
223      POSTGRES_LIBS = /usr/lib64
224      CFITSIO_INCS = /home/jsoc/include
225      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
226    endif
227
228    ifeq ($(JSOC_MACHINE), linux_ia32)
229      POSTGRES_INCS = /usr/include
230      POSTGRES_LIBS = /usr/lib
231      CFITSIO_INCS = /home/jsoc/include
232      CFITSIO_LIBS = /home/jsoc/lib/linux-ia32
233    endif
234
235    ifeq ($(JSOC_MACHINE), linux_ia64)
236      POSTGRES_INCS = /usr/include/pgsql
237      POSTGRES_LIBS = /usr/lib
238      CFITSIO_INCS = /home/jsoc/include
239      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
240    endif
241
242 # JSOC_SDP third-party libraries used by the project directories
243    FFTW3_LIB = fftw3
244
245    ifeq ($(JSOC_MACHINE), linux_ia32)
246      FFTW_INCS = /home/jsoc/include
247      FFTW_LIBS = /home/jsoc/lib/linux-ia32
248    endif
249
250    ifeq ($(JSOC_MACHINE), linux_x86_64)
251      FFTW_INCS = /home/jsoc/include
252      FFTW_LIBS = /home/jsoc/lib/linux-x86_64
253    endif
254
255 # Try to specialize for non-default machines
256    ifeq ($(MACHTYPE), j1)
257      POSTGRES_INCS = /usr/include/pgsql
258      POSTGRES_LIBS = /usr/lib64
259      CFITSIO_INCS = /home/jsoc/include
260      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
261    endif
262
263    ifeq ($(MACHTYPE), d02)
264      POSTGRES_INCS = /usr/include/pgsql
265      POSTGRES_LIBS = /usr/lib
266      CFITSIO_INCS = __CFITSIO_NOT_INSTALLED__
267      CFITSIO_LIBS = __CFITSIO_NOT_INSTALLED__
268   endif
269
270    ifeq ($(MACHTYPE), dbserver)
271      POSTGRES_INCS = /usr/local/pgsql/include
272      POSTGRES_LIBS = /usr/lib64
273      CFITSIO_INCS = /home/jsoc/include
274      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
275    endif
276
277    ifeq ($(MACHTYPE), cluster)
278      POSTGRES_INCS = __POSTGRES_DEVELOP_NOT_INSTALLED__
279      POSTGRES_LIBS = /usr/lib64
280      CFITSIO_INCS = /home/jsoc/include
281      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
282    endif
283
284    ifeq ($(MACHTYPE), dcs)
285      POSTGRES_INCS = /usr/include/pgsql
286      POSTGRES_LIBS = /usr/lib64
287      CFITSIO_INCS = /home/jsoc/include
288      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
289    endif
290 # Set custom make file to tell the make system that the gcc cfitsio library is called
291 # libcfitsio_gcc.a
292    ifeq ($(COMPILER), gcc)
293      ifeq ($(JSOC_MACHINE), linux_x86_64)
294        CFITSIO_LIB = cfitsio_gcc
295      endif
296    endif
297 __END__

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines