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

Comparing configsdp.txt (file contents):
Revision 1.2 by arta, Fri Feb 4 01:33:56 2011 UTC vs.
Revision 1.22 by arta, Fri Nov 15 17:05:49 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                  hmidb
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                     j1
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 30 | Line 177 | __PROJ__
177               <subdir>dsputil</subdir>
178               <subdir>gapfiller</subdir>
179               <subdir>interpolate</subdir>
33             <subdir>json</subdir>
180               <subdir>stats</subdir>
181 +             <subdir>egsehmicomp</subdir>
182 +             <subdir>imrotate</subdir>
183         </subdirs>
184     </proj>
185     <proj>
# Line 105 | 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 122 | Line 273 | __PROJ__
273          </subdirs>
274     </proj>
275     <proj>
276 +        <name>lev1.5_aia</name>
277 +        <subdirs>
278 +            <subdir>apps</subdir>
279 +        </subdirs>
280 +   </proj>
281 +   <proj>
282          <name>flatfield</name>
283          <subdirs>
284              <subdir>libs/flatfieldlib</subdir>
285              <subdir>apps</subdir>
286 +            <subdir>off_flat_IDL</subdir>
287 +        </subdirs>
288 +   </proj>
289 +  <proj>
290 +        <name>rings</name>
291 +        <subdirs>
292 +             <subdir>apps</subdir>
293 +        </subdirs>
294 +   </proj>
295 +  <proj>
296 +        <name>sharp</name>
297 +        <subdirs>
298 +             <subdir>apps</subdir>
299          </subdirs>
300          <filters>
301               <filter>
302 <                  <name>JSOC_MACHINE</name>
303 <                  <value>linux_x86_64</value>
302 >                  <name>COMPILER</name>
303 >                  <value>icc</value>
304               </filter>
305         </filters>
306     </proj>
307    <proj>
308 <        <name>rings</name>
308 >        <name>farside</name>
309 >        <subdirs>
310 >             <subdir>apps</subdir>
311 >        </subdirs>
312 >   </proj>
313 >  <proj>
314 >        <name>timed</name>
315          <subdirs>
316               <subdir>apps</subdir>
317          </subdirs>
# Line 146 | 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>
335               <subdir>ident/libs/util</subdir>
336               <subdir>patch/apps</subdir>
337 +             <subdir>nlfff/apps</subdir>
338 +             <subdir>d4vm/apps</subdir>
339 +             <subdir>remapmags/apps</subdir>
340 +             <subdir>synop/apps</subdir>
341          </subdirs>
342          <filters>
343               <filter>
# Line 164 | 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 178 | Line 371 | __PROJ__
371          </subdirs>
372     </proj>
373   </projects>
181 __END__
374   __PROJCFG__
375   #! /bin/csh -f
376  
# Line 187 | 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  
190 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" \;
191 __END__
192 __LIBS__
193 # JSOC_SDP third-party libraries used by base
194    POSTGRES_LIB = pq
195    CFITSIO_LIB = cfitsio
196
197    ifeq ($(JSOC_MACHINE), linux_x86_64)
198      POSTGRES_INCS = /usr/include
199      POSTGRES_LIBS = /usr/lib64
200      CFITSIO_INCS = /home/jsoc/include
201      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
202    endif
203
204    ifeq ($(JSOC_MACHINE), linux_ia32)
205      POSTGRES_INCS = /usr/include
206      POSTGRES_LIBS = /usr/lib
207      CFITSIO_INCS = /home/jsoc/include
208      CFITSIO_LIBS = /home/jsoc/lib/linux-ia32
209    endif
210
211    ifeq ($(JSOC_MACHINE), linux_ia64)
212      POSTGRES_INCS = /usr/include/pgsql
213      POSTGRES_LIBS = /usr/lib
214      CFITSIO_INCS = /home/jsoc/include
215      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
216    endif
217
218 # JSOC_SDP third-party libraries used by the project directories
219    FFTW3_LIB = fftw3
220
221    ifeq ($(JSOC_MACHINE), linux_ia32)
222      FFTW_INCS = /home/jsoc/include
223      FFTW_LIBS = /home/jsoc/lib/linux-ia32
224    endif
225
226    ifeq ($(JSOC_MACHINE), linux_x86_64)
227      FFTW_INCS = /home/jsoc/include
228      FFTW_LIBS = /home/jsoc/lib/linux-x86_64
229    endif
230
231 # Try to specialize for non-default machines
232    ifeq ($(MACHTYPE), j1)
233      POSTGRES_INCS = /usr/include/pgsql
234      POSTGRES_LIBS = /usr/lib64
235      CFITSIO_INCS = /home/jsoc/include
236      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
237    endif
238
239    ifeq ($(MACHTYPE), d02)
240      POSTGRES_INCS = /usr/include/pgsql
241      POSTGRES_LIBS = /usr/lib
242      CFITSIO_INCS = __CFITSIO_NOT_INSTALLED__
243      CFITSIO_LIBS = __CFITSIO_NOT_INSTALLED__
244   endif
245
246    ifeq ($(MACHTYPE), dbserver)
247      POSTGRES_INCS = /usr/local/pgsql/include
248      POSTGRES_LIBS = /usr/lib64
249      CFITSIO_INCS = /home/jsoc/include
250      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
251    endif
252
253    ifeq ($(MACHTYPE), cluster)
254      POSTGRES_INCS = __POSTGRES_DEVELOP_NOT_INSTALLED__
255      POSTGRES_LIBS = /usr/lib64
256      CFITSIO_INCS = /home/jsoc/include
257      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
258    endif
259
260    ifeq ($(MACHTYPE), dcs)
261      POSTGRES_INCS = /usr/include/pgsql
262      POSTGRES_LIBS = /usr/lib64
263      CFITSIO_INCS = /home/jsoc/include
264      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
265    endif
266 # Set custom make file to tell the make system that the gcc cfitsio library is called
267 # libcfitsio_gcc.a
268    ifeq ($(COMPILER), gcc)
269      ifeq ($(JSOC_MACHINE), linux_x86_64)
270        CFITSIO_LIB = cfitsio_gcc
271      endif
272    endif
273 __END__

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines