1 |
< |
# This file contains JSOC_SDP-specific configuration information. It is used only if the '-sdp' flag is used |
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). 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 __PROJ_MK_RULES__ section define JSOC_SDP-specific make variables, targets, and rules. When |
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 localize.py 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 __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 |
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__ |
21 |
|
q:DRMSPGPORT 5432 |
22 |
|
q:SUMS_DB_HOST hmidb3 |
23 |
|
q:SUMPGPORT 5434 |
24 |
+ |
a:SUMSD_MAX_THREADS 32 |
25 |
+ |
a:SUMSD_LISTENPORT 6100 |
26 |
|
a:DRMS_LOCAL_SITE_CODE 0x0000 |
27 |
|
q:DBNAME jsoc |
28 |
|
q:WEB_DBUSER apache |
31 |
|
q:SUMS_GROUP SOI |
32 |
|
q:SUMLOG_BASEDIR /usr/local/logs/SUM |
33 |
|
q:SUMBIN_BASEDIR /usr/local/bin |
34 |
< |
q:SUMSERVER k1 |
34 |
> |
q:SUMSERVER k1.stanford.edu |
35 |
> |
q:DRMS_LOG_DIR /home/jsoc/jsoclogs |
36 |
> |
q:DRMS_LOCK_DIR /home/jsoc/locks |
37 |
|
# The number of SUMS process SETS to spawn. If this number is not 1, then the number of SUMS processes |
38 |
|
# is SUM_NUMSUM * 5 + 2. |
39 |
|
a:SUM_NUMSUM 3 |
60 |
|
p:JMD_IS_INSTALLED 0 |
61 |
|
q:JMD_URL http://localhost:8080/JMD/JMD |
62 |
|
# Remote SUMS |
63 |
+ |
q:RS_SITE_INFO_URL http://jsoc.stanford.edu/cgi-bin/rssites.sh |
64 |
|
q:RS_SITE_TABLE drms.rs_sites |
65 |
|
q:RS_REQUEST_TABLE drms.rs_requests |
66 |
|
q:RS_SU_TABLE drms.rs_sus |
70 |
|
q:RS_DBUSER production |
71 |
|
q:RS_LOCKFILE /home/jsoc/locks/remotesums.lck |
72 |
|
q:RS_LOGDIR /home/jsoc/jsoclogs/rsums |
73 |
< |
a:RS_DLTIMEOUT 30 |
74 |
< |
a:RS_REQTIMEOUT 5 |
75 |
< |
a:RS_MAXTHREADS 32 |
73 |
> |
a:RS_DLTIMEOUT 120 |
74 |
> |
a:RS_REQTIMEOUT 300 |
75 |
> |
a:RS_MAXTHREADS 216 |
76 |
|
q:RS_BINPATH /home/jsoc/cvs/Development/JSOC/bin/linux_x86_64 |
77 |
+ |
a:RS_N_WORKERS 4 |
78 |
+ |
q:RS_TMPDIR /tmp |
79 |
+ |
a:RS_SCP_MAXSUS 48 |
80 |
+ |
a:RS_SCP_MAXPAYLOAD 512 |
81 |
+ |
a:RS_SCP_TIMEOUT 2 |
82 |
+ |
a:RSCLIENT_TIMEOUT 1440 |
83 |
+ |
q:SS_LOCKFILE /home/jsoc/locks/sustewie.lck |
84 |
+ |
a:SS_LOW_WATER 90 |
85 |
+ |
a:SS_HIGH_WATER 95 |
86 |
+ |
a:SS_SU_CHUNK 4096 |
87 |
+ |
a:SS_SLEEP_INTERVAL 300 |
88 |
+ |
a:SS_REHYDRATE_INTERVAL 3600 |
89 |
|
# White-list (access to internal stuff) |
90 |
|
a:WL_HASWL 1 |
91 |
|
q:WL_FILE /web/jsoc/htdocs/whitelist.txt |
92 |
|
# Bin paths |
93 |
+ |
q:BIN_EXPORT /home/jsoc/cvs/Development/JSOC/bin |
94 |
+ |
q:SCRIPTS_EXPORT /home/jsoc/cvs/Development/JSOC/scripts |
95 |
+ |
q:EXPORT_LOG_DIR /home/jsoc/exports/logs |
96 |
+ |
q:EXPORT_LOCK_DIR /home/jsoc/exports/tmp |
97 |
+ |
q:EXPORT_HANDLE_DIR /home/jsoc/exports |
98 |
+ |
q:EXPORT_PENDING_REQUESTS_TABLE jsoc.export_pending_reqs |
99 |
+ |
a:EXPORT_PENDING_REQUESTS_TIME_OUT 60 |
100 |
+ |
q:EXPORT_PENDING_REQUESTS_MAX_TABLE jsoc.export_pending_max_reqs |
101 |
+ |
q:EXPORT_ADDRESS_INFO_FN jsoc.address_info_get |
102 |
+ |
q:EXPORT_ADDRESS_INFO_INSERT_FN jsoc.address_info_insert |
103 |
+ |
q:EXPORT_ADDRESS_INFO_UPDATE_FN jsoc.address_info_update |
104 |
+ |
q:EXPORT_ADDRESS_INFO_DELETE_FN jsoc.address_info_delete |
105 |
+ |
q:EXPORT_USER_INFO_TABLE jsoc.export_user_info |
106 |
+ |
q:EXPORT_USER_INFO_FN jsoc.user_info_get |
107 |
+ |
q:EXPORT_USER_INFO_INSERT_FN jsoc.user_info_insert |
108 |
+ |
q:EXPORT_USER_INFO_UPDATE_FN jsoc.user_info_update |
109 |
+ |
q:EXPORT_USER_INFO_DELETE_FN jsoc.user_info_delete |
110 |
|
q:BIN_PY /home/jsoc/bin/linux_x86_64/activepython27 |
111 |
+ |
q:BIN_PY3 /home/jsoc/anaconda3/bin/python3 |
112 |
+ |
a:SUMS_USEMTSUMS 1 |
113 |
+ |
a:SUMS_USEMTSUMS_INFO 1 |
114 |
+ |
a:SUMS_MT_CLIENT_RESP_TIMEOUT 1440 |
115 |
+ |
# Email registration |
116 |
+ |
a:REGEMAIL_TIMEOUT 15 |
117 |
+ |
# Slony |
118 |
+ |
q:SLONY_CONFIG /home/jsoc/cvs/Development/JSOC/proj/replication/etc/repserver.cfg |
119 |
+ |
|
120 |
+ |
# lev1.5_hmi |
121 |
+ |
q:POLCAL_PARAMS /home/jsoc/hmi/tables/lev15/polcal-param-fit.bin |
122 |
+ |
|
123 |
+ |
# time-distance |
124 |
+ |
q:JPL_EPHEM_TABLEDIR /home/rick/src/ephem/tables |
125 |
+ |
q:SOHO_EPHEM_TABLE /home/soi/CM/tables/ephemeris/summary |
126 |
|
|
127 |
|
__MAKE__ |
128 |
|
# JSOC_SDP third-party libraries used by base |
129 |
< |
# The parameters in this section are used to create make variables. For example, the line |
129 |
> |
# The parameters in this section are used to create make variables. For example, the line |
130 |
|
# 'POSTGRES_LIB = pq' will cause a make variable named POSTGRES_LIB to be created and to |
131 |
|
# be assigned the value 'pq'. |
132 |
|
|
133 |
|
# If the name in the left column contains a colon, then the name on the LHS is the parameter name. The RHS is |
134 |
< |
# a description of which platforms or specific machines the parameter applies to. For example, |
134 |
> |
# a description of which platforms or specific machines the parameter applies to. For example, |
135 |
|
# the name POSTGRES_INCS:X86_64 implies that the value of the parameter named POSTGRES_INCS is /usr/include |
136 |
|
# when make is run on a linux_x86_64 machine. The RHS string can contain either a platform identifier |
137 |
|
# (X86_64, IA32, AVX, or IA64) or it can be a string that identifies a particular machine, like d02. |
140 |
|
# all machines whose names contain the string 'hmidb'. So, for machines hmidb, hmidb2, and hmidb3, the |
141 |
|
# value of the POSTGRES_INCS parameter is /usr/local/pgsql/include. |
142 |
|
# |
143 |
< |
# If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in |
143 |
> |
# If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in |
144 |
|
# reality a misnomer, since it truly specifies the name of the machine platform, not the name |
145 |
< |
# of the machine) to the platform name specified by the RHS string. For example, |
145 |
> |
# of the machine) to the platform name specified by the RHS string. For example, |
146 |
|
# if the RHS string is 'avx', then make compares $JSOC_MACHINE to |
147 |
|
# 'linux_avx', and if there is a match, then the parameter's value specified in the second column is assigned |
148 |
|
# to the make variable. If the RHS is a machine identifier, then make compares the value of $MACHTYPE |
149 |
|
# (another misnormer, since it is the name of the machine, not the name of some type of machine ) to |
150 |
< |
# the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make |
151 |
< |
# compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's |
150 |
> |
# the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make |
151 |
> |
# compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's |
152 |
|
# value specified in the second column is assigned to the make variable |
153 |
< |
# |
153 |
> |
# |
154 |
|
# Blocks defined by the _CUST_/_ENDCUST_ tags are copied ver batim into the output make file. |
155 |
|
|
156 |
|
POSTGRES_LIB pq |
217 |
|
GSL_LIBS:IA64 /home/jsoc/lib/linux-x86_64 |
218 |
|
|
219 |
|
MPI_INCS:X86_64 /home/jsoc/mpich2/include |
220 |
< |
MPI_INCS:IA32 |
220 |
> |
MPI_INCS:IA32 |
221 |
|
MPI_INCS:AVX /home/jsoc/avx/include |
222 |
< |
MPI_INCS:IA64 |
222 |
> |
MPI_INCS:IA64 |
223 |
|
|
224 |
|
MPI_LIBS:X86_64 /home/jsoc/mpich2/lib |
225 |
|
MPI_LIBS:AVX /home/jsoc/avx/lib |
237 |
|
TAR_LIBS:AVX /home/jsoc/lib/linux_avx |
238 |
|
TAR_LIBS:IA64 /home/jsoc/lib/linux-ia64 |
239 |
|
|
240 |
+ |
PY_LIB python3.5m |
241 |
+ |
PY_INCS:X86_64 /home/jsoc/anaconda3/include/python3.5m |
242 |
+ |
PY_INCS:AVX /home/jsoc/anaconda3/include/python3.5m |
243 |
+ |
PY_LIBS:X86_64 /home/jsoc/anaconda3/lib |
244 |
+ |
PY_LIBS:AVX /home/jsoc/anaconda3/lib |
245 |
+ |
PY_HOME:X86_64 /home/jsoc/anaconda3 |
246 |
+ |
PY_HOME:AVX /home/jsoc/anaconda3 |
247 |
+ |
|
248 |
+ |
|
249 |
|
# Set custom make file to tell the make system that the gcc cfitsio library is called |
250 |
|
# libcfitsio_gcc.a |
251 |
|
_CUST_ |
257 |
|
_ENDCUST_ |
258 |
|
|
259 |
|
__PROJ_MK_RULES__ |
260 |
< |
$(CEXESUMS): $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT) |
261 |
< |
$(MODEXESUMS): $(LIBSUMSAPI) $(LIBSUM) |
260 |
> |
$(CEXESUMS): $(LIBSUMSAPI) $(LIBCJSON) $(LIBSUM) $(LIBDSTRUCT) $(LIBMISC) |
261 |
> |
$(MODEXESUMS): $(LIBSUMSAPI) $(LIBCJSON) $(LIBSUM) |
262 |
|
|
263 |
|
$(MODEXEDROBJ): CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr |
264 |
|
$(MODEXEDR) $(MODEXEDR_SOCK): $(LIBDR) |
273 |
|
<subdir>dsputil</subdir> |
274 |
|
<subdir>gapfiller</subdir> |
275 |
|
<subdir>interpolate</subdir> |
276 |
+ |
<subdir>limbcompute_aia</subdir> |
277 |
|
<subdir>stats</subdir> |
278 |
|
<subdir>egsehmicomp</subdir> |
279 |
|
<subdir>imrotate</subdir> |
280 |
+ |
<subdir>projection</subdir> |
281 |
|
</subdirs> |
282 |
|
</proj> |
283 |
|
<proj> |
284 |
|
<name>datacapture</name> |
285 |
|
<subdirs> |
286 |
< |
<subdir>apps</subdir> |
286 |
> |
<subdir>apps</subdir> |
287 |
|
</subdirs> |
288 |
|
</proj> |
289 |
|
<proj> |
294 |
|
</subdirs> |
295 |
|
</proj> |
296 |
|
<proj> |
297 |
+ |
<name>limbfit_aia</name> |
298 |
+ |
<subdirs> |
299 |
+ |
<subdir>apps</subdir> |
300 |
+ |
</subdirs> |
301 |
+ |
</proj> |
302 |
+ |
<proj> |
303 |
|
<name>maps_avgs</name> |
304 |
|
<subdirs> |
305 |
< |
<subdir>apps</subdir> |
305 |
> |
<subdir>apps</subdir> |
306 |
|
</subdirs> |
307 |
|
<filters> |
308 |
|
<filter> |
326 |
|
<proj> |
327 |
|
<name>util</name> |
328 |
|
<subdirs> |
329 |
< |
<subdir>apps</subdir> |
329 |
> |
<subdir>apps</subdir> |
330 |
|
</subdirs> |
331 |
|
</proj> |
332 |
|
<proj> |
333 |
|
<name>lev0</name> |
334 |
|
<subdirs> |
335 |
< |
<subdir>apps</subdir> |
335 |
> |
<subdir>apps</subdir> |
336 |
|
</subdirs> |
337 |
|
</proj> |
338 |
|
<proj> |
339 |
|
<name>lev1</name> |
340 |
|
<subdirs> |
341 |
< |
<subdir>apps</subdir> |
341 |
> |
<subdir>apps</subdir> |
342 |
|
</subdirs> |
343 |
|
</proj> |
344 |
|
<proj> |
345 |
|
<name>jpe</name> |
346 |
|
<subdirs> |
347 |
< |
<subdir>apps</subdir> |
347 |
> |
<subdir>apps</subdir> |
348 |
|
</subdirs> |
349 |
|
</proj> |
350 |
|
<proj> |
351 |
|
<name>lev1_aia</name> |
352 |
|
<subdirs> |
353 |
< |
<subdir>apps</subdir> |
353 |
> |
<subdir>apps</subdir> |
354 |
|
</subdirs> |
355 |
|
</proj> |
356 |
|
<proj> |
357 |
|
<name>lev1_hmi</name> |
358 |
|
<subdirs> |
359 |
< |
<subdir>apps</subdir> |
359 |
> |
<subdir>apps</subdir> |
360 |
|
</subdirs> |
361 |
|
</proj> |
362 |
|
<proj> |
436 |
|
<proj> |
437 |
|
<name>mag</name> |
438 |
|
<subdirs> |
373 |
– |
<subdir>apps</subdir> |
439 |
|
<subdir>pfss/apps</subdir> |
440 |
|
<subdir>ambig/apps</subdir> |
441 |
|
<subdir>harp/apps</subdir> |
449 |
|
<subdir>ident/libs/mex2c</subdir> |
450 |
|
<subdir>ident/libs/mexfunctions</subdir> |
451 |
|
<subdir>ident/libs/util</subdir> |
452 |
+ |
<subdir>libs</subdir> |
453 |
+ |
<subdir>libs/util</subdir> |
454 |
|
<subdir>patch/apps</subdir> |
455 |
|
<subdir>nlfff/apps</subdir> |
456 |
|
<subdir>d4vm/apps</subdir> |
457 |
|
<subdir>remapmags/apps</subdir> |
458 |
|
<subdir>synop/apps</subdir> |
459 |
+ |
<subdir>polarfield/apps</subdir> |
460 |
+ |
<subdir>polcorr/apps</subdir> |
461 |
+ |
</subdirs> |
462 |
+ |
<filters> |
463 |
+ |
<filter> |
464 |
+ |
<name>COMPILER</name> |
465 |
+ |
<value>icc</value> |
466 |
+ |
</filter> |
467 |
+ |
</filters> |
468 |
+ |
</proj> |
469 |
+ |
<proj> |
470 |
+ |
<name>qmaps</name> |
471 |
+ |
<subdirs> |
472 |
+ |
<subdir>apps</subdir> |
473 |
|
</subdirs> |
474 |
|
<filters> |
475 |
|
<filter> |
507 |
|
<subdirs> |
508 |
|
<subdir>apps</subdir> |
509 |
|
<subdir>lorentz/apps</subdir> |
510 |
+ |
<subdir>pdfi/apps</subdir> |
511 |
+ |
<subdir>prep/apps</subdir> |
512 |
|
</subdirs> |
513 |
|
<filters> |
514 |
|
<filter> |
521 |
|
__PROJCFG__ |
522 |
|
#! /bin/csh -f |
523 |
|
|
524 |
< |
# Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts |
442 |
< |
# directory). |
524 |
> |
set PERLBIN = "" |
525 |
|
|
526 |
< |
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" \; |
526 |
> |
if ($PERLBIN == "") then |
527 |
> |
if (-x /home/jsoc/bin/linux_x86_64/activeperl) then |
528 |
> |
set PERLBIN = "/home/jsoc/bin/linux_x86_64/activeperl" |
529 |
> |
else |
530 |
> |
set PERLBIN = "perl" |
531 |
> |
endif |
532 |
> |
endif |
533 |
|
|
534 |
+ |
# Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts |
535 |
+ |
# directory). |
536 |
+ |
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"; } }' |