1 arta 1.1 # This file contains JSOC_SDP-specific configuration information. It is used only if the '-sdp' flag is used
|
2 arta 1.22 # 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 arta 1.1
|
5 arta 1.22 # 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 arta 1.1 # available to all JSOC_SDP projects.
8
|
9 arta 1.22 # The lines in the __PROJ__ section define JSOC_SDP projects. When localize.py runs, file content will be
|
10 arta 1.1 # added to JSOC/localization/Rules.mk and JSOC/localization/target.mk.
11
|
12 arta 1.22 # 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 arta 1.23 q:SUMS_DB_HOST hmidb3
|
23 arta 1.22 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 arta 1.23 q:SUMSERVER k1
|
36 arta 1.22 # 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 arta 1.1
50 __MAKE__
|
51 arta 1.22 # 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 arta 1.22 # (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 arta 1.22 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 arta 1.22 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 arta 1.22 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 arta 1.22 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 arta 1.1 $(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)
169 __PROJ__
170 <?xml version='1.0'?>
171 <projects>
172 <proj>
173 <name>libs</name>
174 <subdirs>
175 <subdir>astro</subdir>
176 <subdir>dr</subdir>
177 <subdir>dsputil</subdir>
178 <subdir>gapfiller</subdir>
179 <subdir>interpolate</subdir>
180 <subdir>stats</subdir>
|
181 arta 1.6 <subdir>egsehmicomp</subdir>
|
182 arta 1.7 <subdir>imrotate</subdir>
|
183 arta 1.1 </subdirs>
184 </proj>
185 <proj>
186 <name>datacapture</name>
187 <subdirs>
188 <subdir>apps</subdir>
189 </subdirs>
190 </proj>
191 <proj>
192 <name>dsdsmigr</name>
193 <subdirs>
194 <subdir>libs</subdir>
195 <subdir>apps</subdir>
196 </subdirs>
197 </proj>
198 <proj>
199 <name>maps_avgs</name>
200 <subdirs>
201 <subdir>apps</subdir>
202 </subdirs>
203 <filters>
204 arta 1.1 <filter>
205 <name>COMPILER</name>
206 <value>icc</value>
207 </filter>
208 </filters>
209 </proj>
210 <proj>
211 <name>util</name>
212 <subdirs>
213 <subdir>apps</subdir>
214 </subdirs>
215 </proj>
216 <proj>
217 <name>lev0</name>
218 <subdirs>
219 <subdir>apps</subdir>
220 </subdirs>
221 </proj>
222 <proj>
223 <name>lev1</name>
224 <subdirs>
225 arta 1.1 <subdir>apps</subdir>
226 </subdirs>
227 </proj>
228 <proj>
229 <name>jpe</name>
230 <subdirs>
231 <subdir>apps</subdir>
232 </subdirs>
233 </proj>
234 <proj>
235 <name>lev1_aia</name>
236 <subdirs>
237 <subdir>apps</subdir>
238 </subdirs>
239 </proj>
240 <proj>
241 <name>lev1_hmi</name>
242 <subdirs>
243 <subdir>apps</subdir>
244 </subdirs>
245 </proj>
246 arta 1.1 <proj>
247 <name>export</name>
248 <subdirs>
249 <subdir>libs/util</subdir>
250 <subdir>apps</subdir>
251 </subdirs>
252 </proj>
253 <proj>
254 <name>globalhs</name>
255 <subdirs>
|
256 arta 1.21 <subdir>apps</subdir>
|
257 arta 1.20 <subdir>libs/dtgf</subdir>
258 <subdir>libs/pkbgn</subdir>
259 <subdir>libs/projection</subdir>
|
260 arta 1.1 </subdirs>
261 <filters>
262 <filter>
263 <name>COMPILER</name>
264 <value>icc</value>
265 </filter>
266 </filters>
267 </proj>
268 <proj>
269 <name>lev1.5_hmi</name>
270 <subdirs>
271 <subdir>libs/lev15</subdir>
272 <subdir>apps</subdir>
273 </subdirs>
274 </proj>
275 <proj>
|
276 arta 1.7 <name>lev1.5_aia</name>
277 <subdirs>
278 <subdir>apps</subdir>
279 </subdirs>
280 </proj>
281 <proj>
|
282 arta 1.1 <name>flatfield</name>
283 <subdirs>
284 <subdir>libs/flatfieldlib</subdir>
285 <subdir>apps</subdir>
|
286 arta 1.6 <subdir>off_flat_IDL</subdir>
|
287 arta 1.1 </subdirs>
288 </proj>
289 <proj>
290 <name>rings</name>
291 <subdirs>
292 <subdir>apps</subdir>
293 </subdirs>
294 </proj>
|
295 rick 1.8 <proj>
|
296 mbobra 1.14 <name>sharp</name>
297 <subdirs>
298 <subdir>apps</subdir>
299 </subdirs>
|
300 jim 1.19 <filters>
301 <filter>
302 <name>COMPILER</name>
303 <value>icc</value>
304 </filter>
305 </filters>
|
306 mbobra 1.14 </proj>
307 <proj>
|
308 rick 1.8 <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>
318 </proj>
|
319 arta 1.1 <proj>
320 <name>mag</name>
321 <subdirs>
322 <subdir>apps</subdir>
323 <subdir>pfss/apps</subdir>
324 <subdir>ambig/apps</subdir>
|
325 arta 1.9 <subdir>harp/apps</subdir>
|
326 arta 1.10 <subdir>harp/libs/matlab/mex/src/util</subdir>
|
327 arta 1.9 <subdir>harp/libs/matlab/mex/src/mex2c</subdir>
|
328 arta 1.11 <subdir>harp/libs/matlab/mfile-mex/standalone</subdir>
|
329 arta 1.12 <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 arta 1.1 <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 xudong 1.3 <subdir>nlfff/apps</subdir>
338 <subdir>d4vm/apps</subdir>
|
339 xudong 1.4 <subdir>remapmags/apps</subdir>
|
340 xudong 1.5 <subdir>synop/apps</subdir>
|
341 arta 1.1 </subdirs>
342 <filters>
343 <filter>
344 <name>COMPILER</name>
345 <value>icc</value>
346 </filter>
347 </filters>
348 </proj>
349 <proj>
350 <name>limbfit</name>
351 <subdirs>
352 <subdir>apps</subdir>
353 </subdirs>
|
354 jim 1.19 <filters>
355 <filter>
356 <name>COMPILER</name>
357 <value>icc</value>
358 </filter>
359 </filters>
|
360 arta 1.1 </proj>
361 <proj>
362 <name>vfisv</name>
363 <subdirs>
364 <subdir>apps</subdir>
365 </subdirs>
366 </proj>
367 <proj>
368 <name>workflow</name>
369 <subdirs>
370 <subdir>apps</subdir>
371 </subdirs>
372 </proj>
373 </projects>
|
374 arta 1.2 __PROJCFG__
375 #! /bin/csh -f
376
377 # Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts
378 # directory).
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 arta 1.1
|