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 arta 1.50 a:SUMSD_MAX_THREADS 32
25 a:SUMSD_LISTENPORT 6002
|
26 arta 1.22 a:DRMS_LOCAL_SITE_CODE 0x0000
27 q:DBNAME jsoc
|
28 arta 1.40 q:WEB_DBUSER apache
|
29 arta 1.22 q:POSTGRES_ADMIN postgres
30 q:SUMS_MANAGER production
31 q:SUMS_GROUP SOI
32 q:SUMLOG_BASEDIR /usr/local/logs/SUM
33 q:SUMBIN_BASEDIR /usr/local/bin
|
34 arta 1.50 q:SUMSERVER k1.stanford.edu
|
35 arta 1.22 # The number of SUMS process SETS to spawn. If this number is not 1, then the number of SUMS processes
36 # is SUM_NUMSUM * 5 + 2.
37 a:SUM_NUMSUM 3
38 a:SUM_MAXNUMSUM 8
39 p:SUMS_TAPE_AVAILABLE 1
40 p:SUMS_MULTIPLE_PARTNSETS 1
41 # No idea what this parameter means. It isn't used anywhere in our code, but for some reason
42 # it is part of the config.local set, so we have to include it here.
43 a:SUMS_DEBUG 1
44 q:PRODUSER_DBHOST hmidb:5432
45 q:PRODUSER_DBNAME jsoc
46 q:PRODUSER_PRODTAB su_production.produsers
47 q:PRODUSER_COLUSER username
|
48 arta 1.24 q:SUMRM_PART_PERCENT_FREE 3
49 q:SUMRM_SLEEP 300
50 # This is a file in SUMLOG_BASEDIR.
51 q:SUMRM_LOG sum_rm.cfg
52 q:SUMRM_MAIL sys2@solar2
53 q:SUMRM_NOOP 0
54 q:SUMRM_USER production
55 q:SUMRM_NORUN_START 0
56 q:SUMRM_NORUN_STOP 0
|
57 arta 1.34 # JMD
|
58 arta 1.37 p:JMD_IS_INSTALLED 0
|
59 arta 1.34 q:JMD_URL http://localhost:8080/JMD/JMD
|
60 arta 1.38 # Remote SUMS
61 q:RS_SITE_TABLE drms.rs_sites
62 q:RS_REQUEST_TABLE drms.rs_requests
63 q:RS_SU_TABLE drms.rs_sus
64 q:RS_DBNAME jsoc
65 q:RS_DBHOST hmidb
66 a:RS_DBPORT 5432
|
67 arta 1.40 q:RS_DBUSER production
|
68 arta 1.38 q:RS_LOCKFILE /home/jsoc/locks/remotesums.lck
|
69 arta 1.41 q:RS_LOGDIR /home/jsoc/jsoclogs/rsums
|
70 arta 1.40 a:RS_DLTIMEOUT 30
|
71 arta 1.41 a:RS_REQTIMEOUT 5
|
72 arta 1.40 a:RS_MAXTHREADS 32
|
73 arta 1.41 q:RS_BINPATH /home/jsoc/cvs/Development/JSOC/bin/linux_x86_64
|
74 arta 1.42 # White-list (access to internal stuff)
75 a:WL_HASWL 1
76 q:WL_FILE /web/jsoc/htdocs/whitelist.txt
|
77 arta 1.44 # Bin paths
|
78 arta 1.46 q:BIN_EXPORT /home/jsoc/cvs/Development/JSOC/bin
|
79 arta 1.48 q:SCRIPTS_EXPORT /home/jsoc/cvs/Development/JSOC/scripts
|
80 arta 1.45 q:BIN_PY /home/jsoc/bin/linux_x86_64/activepython27
|
81 arta 1.51 a:SUMS_USEMTSUMS 1
|
82 arta 1.47 # Email registration
83 a:REGEMAIL_TIMEOUT 5
|
84 arta 1.46
|
85 arta 1.1 __MAKE__
|
86 arta 1.22 # JSOC_SDP third-party libraries used by base
87 # The parameters in this section are used to create make variables. For example, the line
88 # 'POSTGRES_LIB = pq' will cause a make variable named POSTGRES_LIB to be created and to
89 # be assigned the value 'pq'.
90
91 # If the name in the left column contains a colon, then the name on the LHS is the parameter name. The RHS is
92 # a description of which platforms or specific machines the parameter applies to. For example,
93 # the name POSTGRES_INCS:X86_64 implies that the value of the parameter named POSTGRES_INCS is /usr/include
94 # when make is run on a linux_x86_64 machine. The RHS string can contain either a platform identifier
95 # (X86_64, IA32, AVX, or IA64) or it can be a string that identifies a particular machine, like d02.
96 # If the string is not one of the defined platform identifiers, then it is considered a machine identifier.
97 # A machine identifier can specify more than one machine. The name POSTGRES_INCS:hmidb specifies
98 # all machines whose names contain the string 'hmidb'. So, for machines hmidb, hmidb2, and hmidb3, the
99 # value of the POSTGRES_INCS parameter is /usr/local/pgsql/include.
100 #
101 # If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in
102 # reality a misnomer, since it truly specifies the name of the machine platform, not the name
103 # of the machine) to the platform name specified by the RHS string. For example,
104 # if the RHS string is 'avx', then make compares $JSOC_MACHINE to
105 # 'linux_avx', and if there is a match, then the parameter's value specified in the second column is assigned
106 # to the make variable. If the RHS is a machine identifier, then make compares the value of $MACHTYPE
107 arta 1.22 # (another misnormer, since it is the name of the machine, not the name of some type of machine ) to
108 # the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make
109 # compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's
110 # value specified in the second column is assigned to the make variable
111 #
112 # Blocks defined by the _CUST_/_ENDCUST_ tags are copied ver batim into the output make file.
113
114 POSTGRES_LIB pq
115 CFITSIO_LIB cfitsio
116
117 POSTGRES_INCS:X86_64 /usr/include
118 POSTGRES_INCS:IA32 /usr/include
119 POSTGRES_INCS:AVX /usr/include
120 POSTGRES_INCS:IA64 /usr/include/pgsql
121 POSTGRES_INCS:j1 /usr/include/pgsql
122 POSTGRES_INCS:d02 /usr/include/pgsql
123 POSTGRES_INCS:hmidb /usr/local/pgsql/include
124 POSTGRES_INCS:cl1n0 __POSTGRES_DEVELOP_NOT_INSTALLED__
125 POSTGRES_INCS:dcs /usr/include/pgsql
126
127 POSTGRES_LIBS:X86_64 /usr/lib64
128 arta 1.22 POSTGRES_LIBS:IA32 /usr/lib
129 POSTGRES_LIBS:AVX /usr/lib64
130 POSTGRES_LIBS:IA64 /usr/lib
131 POSTGRES_LIBS:j1 /usr/lib64
132 POSTGRES_LIBS:d02 /usr/lib
133 POSTGRES_LIBS:hmidb /usr/lib64
134 POSTGRES_LIBS:cl1n0 /usr/lib64
135 POSTGRES_LIBS:dcs /usr/lib64
136
137 CFITSIO_INCS:X86_64 /home/jsoc/include
138 CFITSIO_INCS:IA32 /home/jsoc/include
139 CFITSIO_INCS:AVX /home/jsoc/avx/include
140 CFITSIO_INCS:IA64 /home/jsoc/include
141 CFITSIO_INCS:j1 /home/jsoc/include
142 CFITSIO_INCS:d02 __CFITSIO_NOT_INSTALLED__
143 CFITSIO_INCS:hmidb /home/jsoc/include
144 CFITSIO_INCS:cl1n0 /home/jsoc/include
145 CFITSIO_INCS:dcs /home/jsoc/include
146
147 CFITSIO_LIBS:X86_64 /home/jsoc/lib/linux-x86_64
148 CFITSIO_LIBS:IA32 /home/jsoc/lib/linux-ia32
149 arta 1.22 CFITSIO_LIBS:AVX /home/jsoc/avx/lib
150 CFITSIO_LIBS:IA64 /home/jsoc/lib/linux-ia64
151 CFITSIO_LIBS:j1 /home/jsoc/lib/linux-x86_64
152 CFITSIO_LIBS:d02 __CFITSIO_NOT_INSTALLED__
153 CFITSIO_LIBS:hmidb /home/jsoc/lib/linux-x86_64
154 CFITSIO_LIBS:cl1n0 /home/jsoc/lib/linux-x86_64
155 CFITSIO_LIBS:dcs /home/jsoc/lib/linux-x86_64
156
157 FFTW_INCS:X86_64 /home/jsoc/include
158 FFTW_INCS:IA32 /home/jsoc/include
159 FFTW_INCS:AVX /home/jsoc/avx/include
160 FFTW_INCS:IA64 /home/jsoc/include
161
162 FFTW_LIBS:X86_64 /home/jsoc/lib/linux-x86_64
163 FFTW_LIBS:IA32 /home/jsoc/lib/linux-ia32
164 FFTW_LIBS:AVX /home/jsoc/avx/lib
165 FFTW_LIBS:IA64 /home/jsoc/lib/linux-x86_64
166
167 GSL_INCS:X86_64 /home/jsoc/include
168 GSL_INCS:IA32 /home/jsoc/include
169 GSL_INCS:AVX /home/jsoc/avx/include
170 arta 1.22 GSL_INCS:IA64 /home/jsoc/include
171
172 GSL_LIBS:X86_64 /home/jsoc/lib/linux-x86_64
173 GSL_LIBS:IA32 /home/jsoc/lib/linux-ia32
174 GSL_LIBS:AVX /home/jsoc/avx/lib
175 GSL_LIBS:IA64 /home/jsoc/lib/linux-x86_64
176
177 MPI_INCS:X86_64 /home/jsoc/mpich2/include
178 MPI_INCS:IA32
179 MPI_INCS:AVX /home/jsoc/avx/include
180 MPI_INCS:IA64
181
182 MPI_LIBS:X86_64 /home/jsoc/mpich2/lib
183 MPI_LIBS:AVX /home/jsoc/avx/lib
184
185 MPI_PATH:X86_64 /home/jsoc/mpich2/bin
186 MPI_PATH:AVX /home/jsoc/avx/bin
187
|
188 arta 1.34 TAR_INCS:X86_64 /home/jsoc/include
189 TAR_INCS:IA32 /home/jsoc/include
|
190 arta 1.39 TAR_INCS:AVX /home/jsoc/avx/include
|
191 arta 1.34 TAR_INCS:IA64 /home/jsoc/include
192
193 TAR_LIBS:X86_64 /home/jsoc/lib/linux-x86_64
194 TAR_LIBS:IA32 /home/jsoc/lib/linux-ia32
195 TAR_LIBS:AVX /home/jsoc/lib/linux_avx
196 TAR_LIBS:IA64 /home/jsoc/lib/linux-ia64
197
|
198 arta 1.50 PY_LIB python3.4m
199 PY_INCS:X86_64 /home/jsoc/ActiveStatePy/linux_x86_64/ActivePython-3.4/include/python3.4m
200 PY_INCS:AVX /home/jsoc/ActiveStatePy/linux_avx/ActivePython-3.4/include/python3.4m
201 PY_LIBS:X86_64 /home/jsoc/ActiveStatePy/linux_x86_64/ActivePython-3.4/lib
202 PY_LIBS:AVX /home/jsoc/ActiveStatePy/linux_avx/ActivePython-3.4/lib
203 PY_HOME:X86_64 /home/jsoc/ActiveStatePy/linux_x86_64/ActivePython-3.4
204 PY_HOME:AVX /home/jsoc/ActiveStatePy/linux_avx/ActivePython-3.4
205
206
|
207 arta 1.22 # Set custom make file to tell the make system that the gcc cfitsio library is called
208 # libcfitsio_gcc.a
209 _CUST_
210 ifeq ($(COMPILER), gcc)
211 ifeq ($(JSOC_MACHINE), linux_x86_64)
212 CFITSIO_LIB = cfitsio_gcc
213 endif
214 endif
215 _ENDCUST_
216
217 __PROJ_MK_RULES__
|
218 arta 1.1 $(CEXESUMS): $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT)
219 $(MODEXESUMS): $(LIBSUMSAPI) $(LIBSUM)
220
221 $(MODEXEDROBJ): CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr
222 $(MODEXEDR) $(MODEXEDR_SOCK): $(LIBDR)
223 __PROJ__
224 <?xml version='1.0'?>
225 <projects>
226 <proj>
227 <name>libs</name>
228 <subdirs>
229 <subdir>astro</subdir>
230 <subdir>dr</subdir>
231 <subdir>dsputil</subdir>
232 <subdir>gapfiller</subdir>
233 <subdir>interpolate</subdir>
234 <subdir>stats</subdir>
|
235 arta 1.6 <subdir>egsehmicomp</subdir>
|
236 arta 1.7 <subdir>imrotate</subdir>
|
237 arta 1.1 </subdirs>
238 </proj>
239 <proj>
240 <name>datacapture</name>
241 <subdirs>
242 <subdir>apps</subdir>
243 </subdirs>
244 </proj>
245 <proj>
246 <name>dsdsmigr</name>
247 <subdirs>
248 <subdir>libs</subdir>
249 <subdir>apps</subdir>
250 </subdirs>
251 </proj>
252 <proj>
253 <name>maps_avgs</name>
254 <subdirs>
255 <subdir>apps</subdir>
256 </subdirs>
257 <filters>
258 arta 1.1 <filter>
259 <name>COMPILER</name>
260 <value>icc</value>
261 </filter>
262 </filters>
263 </proj>
264 <proj>
|
265 arta 1.33 <name>mhd_32daily</name>
266 <subdirs>
267 <subdir>apps</subdir>
268 </subdirs>
269 </proj>
270 <proj>
|
271 arta 1.25 <name>mhd_64cr</name>
272 <subdirs>
273 <subdir>apps</subdir>
274 </subdirs>
275 </proj>
276 <proj>
|
277 arta 1.1 <name>util</name>
278 <subdirs>
279 <subdir>apps</subdir>
280 </subdirs>
281 </proj>
282 <proj>
283 <name>lev0</name>
284 <subdirs>
285 <subdir>apps</subdir>
286 </subdirs>
287 </proj>
288 <proj>
289 <name>lev1</name>
290 <subdirs>
291 <subdir>apps</subdir>
292 </subdirs>
293 </proj>
294 <proj>
295 <name>jpe</name>
296 <subdirs>
297 <subdir>apps</subdir>
298 arta 1.1 </subdirs>
299 </proj>
300 <proj>
301 <name>lev1_aia</name>
302 <subdirs>
303 <subdir>apps</subdir>
304 </subdirs>
305 </proj>
306 <proj>
307 <name>lev1_hmi</name>
308 <subdirs>
309 <subdir>apps</subdir>
310 </subdirs>
311 </proj>
312 <proj>
313 <name>export</name>
314 <subdirs>
315 <subdir>libs/util</subdir>
316 <subdir>apps</subdir>
317 </subdirs>
318 </proj>
319 arta 1.1 <proj>
320 <name>globalhs</name>
321 <subdirs>
|
322 arta 1.21 <subdir>apps</subdir>
|
323 arta 1.20 <subdir>libs/dtgf</subdir>
|
324 arta 1.36 <subdir>libs/inv2d</subdir>
|
325 arta 1.20 <subdir>libs/pkbgn</subdir>
326 <subdir>libs/projection</subdir>
|
327 arta 1.1 </subdirs>
328 <filters>
329 <filter>
330 <name>COMPILER</name>
331 <value>icc</value>
332 </filter>
333 </filters>
334 </proj>
335 <proj>
336 <name>lev1.5_hmi</name>
337 <subdirs>
338 <subdir>libs/lev15</subdir>
339 <subdir>apps</subdir>
340 </subdirs>
341 </proj>
342 <proj>
|
343 arta 1.7 <name>lev1.5_aia</name>
344 <subdirs>
345 <subdir>apps</subdir>
346 </subdirs>
347 </proj>
348 <proj>
|
349 arta 1.1 <name>flatfield</name>
350 <subdirs>
351 <subdir>libs/flatfieldlib</subdir>
352 <subdir>apps</subdir>
|
353 arta 1.6 <subdir>off_flat_IDL</subdir>
|
354 arta 1.1 </subdirs>
355 </proj>
356 <proj>
357 <name>rings</name>
358 <subdirs>
359 <subdir>apps</subdir>
360 </subdirs>
361 </proj>
|
362 rick 1.8 <proj>
|
363 mbobra 1.14 <name>sharp</name>
364 <subdirs>
365 <subdir>apps</subdir>
366 </subdirs>
|
367 jim 1.19 <filters>
368 <filter>
369 <name>COMPILER</name>
370 <value>icc</value>
371 </filter>
372 </filters>
|
373 mbobra 1.14 </proj>
374 <proj>
|
375 rick 1.8 <name>farside</name>
376 <subdirs>
377 <subdir>apps</subdir>
378 </subdirs>
379 </proj>
380 <proj>
381 <name>timed</name>
382 <subdirs>
383 <subdir>apps</subdir>
384 </subdirs>
385 </proj>
|
386 arta 1.1 <proj>
387 <name>mag</name>
388 <subdirs>
389 <subdir>apps</subdir>
390 <subdir>pfss/apps</subdir>
391 <subdir>ambig/apps</subdir>
|
392 arta 1.9 <subdir>harp/apps</subdir>
|
393 arta 1.10 <subdir>harp/libs/matlab/mex/src/util</subdir>
|
394 arta 1.9 <subdir>harp/libs/matlab/mex/src/mex2c</subdir>
|
395 arta 1.11 <subdir>harp/libs/matlab/mfile-mex/standalone</subdir>
|
396 arta 1.12 <subdir>harp/libs/matlab/mfile-mex/assignment</subdir>
397 <subdir>harp/libs/matlab/mfile-mex/fits</subdir>
398 <subdir>harp/libs/matlab/mfile-mex/hmi-mask-patch</subdir>
|
399 arta 1.1 <subdir>ident/apps</subdir>
400 <subdir>ident/libs/mex2c</subdir>
401 <subdir>ident/libs/mexfunctions</subdir>
402 <subdir>ident/libs/util</subdir>
403 <subdir>patch/apps</subdir>
|
404 xudong 1.3 <subdir>nlfff/apps</subdir>
405 <subdir>d4vm/apps</subdir>
|
406 xudong 1.4 <subdir>remapmags/apps</subdir>
|
407 xudong 1.5 <subdir>synop/apps</subdir>
|
408 arta 1.1 </subdirs>
409 <filters>
410 <filter>
411 <name>COMPILER</name>
412 <value>icc</value>
413 </filter>
414 </filters>
415 </proj>
416 <proj>
417 <name>limbfit</name>
418 <subdirs>
419 <subdir>apps</subdir>
420 </subdirs>
|
421 jim 1.19 <filters>
422 <filter>
423 <name>COMPILER</name>
424 <value>icc</value>
425 </filter>
426 </filters>
|
427 arta 1.1 </proj>
428 <proj>
429 <name>vfisv</name>
430 <subdirs>
431 <subdir>apps</subdir>
432 </subdirs>
433 </proj>
434 <proj>
435 <name>workflow</name>
436 <subdirs>
437 <subdir>apps</subdir>
438 </subdirs>
439 </proj>
|
440 xudong 1.26 <proj>
441 <name>cgem</name>
442 <subdirs>
443 <subdir>apps</subdir>
444 <subdir>lorentz/apps</subdir>
445 </subdirs>
446 <filters>
447 <filter>
448 <name>COMPILER</name>
449 <value>icc</value>
450 </filter>
451 </filters>
452 </proj>
|
453 arta 1.1 </projects>
|
454 arta 1.2 __PROJCFG__
455 #! /bin/csh -f
456
|
457 arta 1.46 set PERLBIN = ""
458
459 if ($PERLBIN == "") then
460 if (-x /home/jsoc/bin/linux_x86_64/activeperl) then
461 set PERLBIN = "/home/jsoc/bin/linux_x86_64/activeperl"
462 else
463 set PERLBIN = "perl"
464 endif
465 endif
466
|
467 arta 1.2 # Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts
468 # directory).
|
469 arta 1.46 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"; } }'
|