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

Comparing configsdp.txt (file contents):
Revision 1.35 by arta, Mon Apr 7 14:07:56 2014 UTC vs.
Revision 1.82 by arta, Tue Oct 20 19:29:57 2020 UTC

# Line 1 | Line 1
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__
# Line 21 | Line 21 | q:SERVER                        hmidb
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 <
28 > q:WEB_DBUSER                    apache
29   q:POSTGRES_ADMIN                postgres
30   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
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
# Line 56 | Line 57 | q:SUMRM_USER                       production
57   q:SUMRM_NORUN_START                 0
58   q:SUMRM_NORUN_STOP              0
59   # JMD
60 < q:JMD_IS_INSTALLED              0
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
67 + q:RS_DBNAME                             jsoc
68 + q:RS_DBHOST                             hmidb
69 + a:RS_DBPORT                             5432
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                          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_PRODUCTION_DB_USER             production
96 + q:EXPORT_LOG_DIR                        /home/jsoc/exports/logs
97 + q:EXPORT_LOCK_DIR                       /home/jsoc/exports/tmp
98 + q:EXPORT_HANDLE_DIR                     /home/jsoc/exports
99 + q:EXPORT_PENDING_REQUESTS_TABLE         jsoc.export_pending_reqs
100 + a:EXPORT_PENDING_REQUESTS_TIME_OUT      60
101 + q:EXPORT_PENDING_REQUESTS_MAX_TABLE     jsoc.export_pending_max_reqs
102 + q:EXPORT_ADDRESS_INFO_FN                jsoc.address_info_get
103 + q:EXPORT_ADDRESS_INFO_INSERT_FN         jsoc.address_info_insert
104 + q:EXPORT_ADDRESS_INFO_UPDATE_FN         jsoc.address_info_update
105 + q:EXPORT_ADDRESS_INFO_DELETE_FN         jsoc.address_info_delete
106 + q:EXPORT_USER_INFO_TABLE                jsoc.export_user_info
107 + q:EXPORT_USER_INFO_FN                   jsoc.user_info_get
108 + q:EXPORT_USER_INFO_INSERT_FN            jsoc.user_info_insert
109 + q:EXPORT_USER_INFO_UPDATE_FN            jsoc.user_info_update
110 + q:EXPORT_USER_INFO_DELETE_FN            jsoc.user_info_delete
111 + q:EXPORT_USER_UNREGISTER_FN             jsoc.user_unregister
112 + q:BIN_PY                                /home/jsoc/bin/linux_x86_64/activepython27
113 + q:BIN_PY3                               /home/jsoc/anaconda3/bin/python3
114 + a:SUMS_USEMTSUMS                        1
115 + a:SUMS_USEMTSUMS_INFO                   1
116 + a:SUMS_MT_CLIENT_RESP_TIMEOUT           1440
117 + # Email registration
118 + a:REGEMAIL_TIMEOUT                      15
119 + # Slony
120 + q:SLONY_CONFIG                          /home/jsoc/cvs/Development/JSOC/proj/replication/etc/repserver.cfg
121 +
122 + # lev1.5_hmi
123 + q:POLCAL_PARAMS                         /home/jsoc/hmi/tables/lev15/polcal-param-fit.bin
124 +
125 + # time-distance
126 + q:JPL_EPHEM_TABLEDIR                    /home/rick/src/ephem/tables
127 + q:SOHO_EPHEM_TABLE                      /home/soi/CM/tables/ephemeris/summary
128  
129   __MAKE__
130   # JSOC_SDP third-party libraries used by base
131 < # The parameters in this section are used to create make variables. For example, the line
131 > # The parameters in this section are used to create make variables. For example, the line
132   # 'POSTGRES_LIB = pq' will cause a make variable named POSTGRES_LIB to be created and to
133   # be assigned the value 'pq'.
134  
135   # If the name in the left column contains a colon, then the name on the LHS is the parameter name. The RHS is
136 < # a description of which platforms or specific machines the parameter applies to. For example,
136 > # a description of which platforms or specific machines the parameter applies to. For example,
137   # the name POSTGRES_INCS:X86_64 implies that the value of the parameter named POSTGRES_INCS is /usr/include
138   # when make is run on a linux_x86_64 machine. The RHS string can contain either a platform identifier
139   # (X86_64, IA32, AVX, or IA64) or it can be a string that identifies a particular machine, like d02.
# Line 75 | Line 142 | __MAKE__
142   # all machines whose names contain the string 'hmidb'. So, for machines hmidb, hmidb2, and hmidb3, the
143   # value of the POSTGRES_INCS parameter is /usr/local/pgsql/include.
144   #
145 < # If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in
145 > # If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in
146   # reality a misnomer, since it truly specifies the name of the machine platform, not the name
147 < # of the machine) to the platform name specified by the RHS string. For example,
147 > # of the machine) to the platform name specified by the RHS string. For example,
148   # if the RHS string is 'avx', then make compares $JSOC_MACHINE to
149   # 'linux_avx', and if there is a match, then the parameter's value specified in the second column is assigned
150   # to the make variable. If the RHS is a machine identifier, then make compares the value of $MACHTYPE
151   # (another misnormer, since it is the name of the machine, not the name of some type of machine ) to
152 < # the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make
153 < # compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's
152 > # the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make
153 > # compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's
154   # value specified in the second column is assigned to the make variable
155 < #
155 > #
156   # Blocks defined by the _CUST_/_ENDCUST_ tags are copied ver batim into the output make file.
157  
158   POSTGRES_LIB            pq
# Line 152 | Line 219 | GSL_LIBS:AVX            /home/jsoc/avx/l
219   GSL_LIBS:IA64           /home/jsoc/lib/linux-x86_64
220  
221   MPI_INCS:X86_64         /home/jsoc/mpich2/include
222 < MPI_INCS:IA32          
222 > MPI_INCS:IA32
223   MPI_INCS:AVX            /home/jsoc/avx/include
224 < MPI_INCS:IA64          
224 > MPI_INCS:IA64
225  
226   MPI_LIBS:X86_64         /home/jsoc/mpich2/lib
227   MPI_LIBS:AVX            /home/jsoc/avx/lib
# Line 164 | Line 231 | MPI_PATH:AVX            /home/jsoc/avx/b
231  
232   TAR_INCS:X86_64         /home/jsoc/include
233   TAR_INCS:IA32           /home/jsoc/include
234 < TAR_INCS:AVX            /home/jsoc/include
234 > TAR_INCS:AVX            /home/jsoc/avx/include
235   TAR_INCS:IA64           /home/jsoc/include
236  
237   TAR_LIBS:X86_64         /home/jsoc/lib/linux-x86_64
# Line 172 | Line 239 | TAR_LIBS:IA32           /home/jsoc/lib/l
239   TAR_LIBS:AVX            /home/jsoc/lib/linux_avx
240   TAR_LIBS:IA64           /home/jsoc/lib/linux-ia64
241  
242 + PY_LIB                  python3.5m
243 + PY_INCS:X86_64          /home/jsoc/anaconda3/include/python3.5m
244 + PY_INCS:AVX             /home/jsoc/anaconda3/include/python3.5m
245 + PY_LIBS:X86_64          /home/jsoc/anaconda3/lib
246 + PY_LIBS:AVX             /home/jsoc/anaconda3/lib
247 + PY_HOME:X86_64          /home/jsoc/anaconda3
248 + PY_HOME:AVX             /home/jsoc/anaconda3
249 +
250 +
251   # Set custom make file to tell the make system that the gcc cfitsio library is called
252   # libcfitsio_gcc.a
253   _CUST_
# Line 183 | Line 259 | endif
259   _ENDCUST_
260  
261   __PROJ_MK_RULES__
262 < $(CEXESUMS):                    $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT)
263 < $(MODEXESUMS):                  $(LIBSUMSAPI) $(LIBSUM)
262 > $(CEXESUMS):                    $(LIBSUMSAPI) $(LIBCJSON) $(LIBSUM) $(LIBDSTRUCT) $(LIBMISC)
263 > $(MODEXESUMS):                  $(LIBSUMSAPI) $(LIBCJSON) $(LIBSUM)
264  
265   $(MODEXEDROBJ):                 CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr
266   $(MODEXEDR) $(MODEXEDR_SOCK):   $(LIBDR)
# Line 199 | Line 275 | __PROJ__
275               <subdir>dsputil</subdir>
276               <subdir>gapfiller</subdir>
277               <subdir>interpolate</subdir>
278 +             <subdir>limbcompute_aia</subdir>
279               <subdir>stats</subdir>
280               <subdir>egsehmicomp</subdir>
281               <subdir>imrotate</subdir>
282 +             <subdir>projection</subdir>
283         </subdirs>
284     </proj>
285     <proj>
286          <name>datacapture</name>
287          <subdirs>
288 <             <subdir>apps</subdir>    
288 >             <subdir>apps</subdir>
289          </subdirs>
290     </proj>
291     <proj>
# Line 218 | Line 296 | __PROJ__
296          </subdirs>
297     </proj>
298     <proj>
299 +        <name>limbfit_aia</name>
300 +         <subdirs>
301 +             <subdir>apps</subdir>
302 +         </subdirs>
303 +   </proj>
304 +   <proj>
305          <name>maps_avgs</name>
306          <subdirs>
307 <             <subdir>apps</subdir>    
307 >             <subdir>apps</subdir>
308          </subdirs>
309          <filters>
310               <filter>
# Line 244 | Line 328 | __PROJ__
328     <proj>
329          <name>util</name>
330          <subdirs>
331 <             <subdir>apps</subdir>    
331 >             <subdir>apps</subdir>
332          </subdirs>
333     </proj>
334     <proj>
335          <name>lev0</name>
336          <subdirs>
337 <             <subdir>apps</subdir>    
337 >             <subdir>apps</subdir>
338          </subdirs>
339     </proj>
340     <proj>
341          <name>lev1</name>
342          <subdirs>
343 <             <subdir>apps</subdir>    
343 >             <subdir>apps</subdir>
344          </subdirs>
345     </proj>
346     <proj>
347          <name>jpe</name>
348          <subdirs>
349 <             <subdir>apps</subdir>    
349 >             <subdir>apps</subdir>
350          </subdirs>
351     </proj>
352     <proj>
353          <name>lev1_aia</name>
354          <subdirs>
355 <             <subdir>apps</subdir>    
355 >             <subdir>apps</subdir>
356          </subdirs>
357     </proj>
358     <proj>
359          <name>lev1_hmi</name>
360          <subdirs>
361 <             <subdir>apps</subdir>    
361 >             <subdir>apps</subdir>
362          </subdirs>
363     </proj>
364     <proj>
# Line 289 | Line 373 | __PROJ__
373          <subdirs>
374              <subdir>apps</subdir>
375              <subdir>libs/dtgf</subdir>
376 +            <subdir>libs/inv2d</subdir>
377              <subdir>libs/pkbgn</subdir>
378              <subdir>libs/projection</subdir>
379          </subdirs>
# Line 353 | Line 438 | __PROJ__
438     <proj>
439          <name>mag</name>
440          <subdirs>
356             <subdir>apps</subdir>
441               <subdir>pfss/apps</subdir>
442               <subdir>ambig/apps</subdir>
443               <subdir>harp/apps</subdir>
# Line 367 | Line 451 | __PROJ__
451               <subdir>ident/libs/mex2c</subdir>
452               <subdir>ident/libs/mexfunctions</subdir>
453               <subdir>ident/libs/util</subdir>
454 +             <subdir>libs</subdir>
455 +             <subdir>libs/util</subdir>
456               <subdir>patch/apps</subdir>
457               <subdir>nlfff/apps</subdir>
458               <subdir>d4vm/apps</subdir>
459               <subdir>remapmags/apps</subdir>
460               <subdir>synop/apps</subdir>
461 +             <subdir>polarfield/apps</subdir>
462 +             <subdir>polcorr/apps</subdir>
463 +        </subdirs>
464 +        <filters>
465 +             <filter>
466 +                  <name>COMPILER</name>
467 +                  <value>icc</value>
468 +             </filter>
469 +       </filters>
470 +   </proj>
471 +   <proj>
472 +        <name>qmaps</name>
473 +        <subdirs>
474 +             <subdir>apps</subdir>
475          </subdirs>
476          <filters>
477               <filter>
# Line 409 | Line 509 | __PROJ__
509          <subdirs>
510               <subdir>apps</subdir>
511               <subdir>lorentz/apps</subdir>
512 +             <subdir>pdfi/apps</subdir>
513 +             <subdir>prep/apps</subdir>
514          </subdirs>
515          <filters>
516               <filter>
# Line 421 | Line 523 | __PROJ__
523   __PROJCFG__
524   #! /bin/csh -f
525  
526 < # Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts
425 < # directory).
526 > set PERLBIN = ""
527  
528 < 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" \;
528 > if ($PERLBIN == "") then
529 >    if (-x /home/jsoc/bin/linux_x86_64/activeperl) then
530 >        set PERLBIN = "/home/jsoc/bin/linux_x86_64/activeperl"
531 >    else
532 >        set PERLBIN = "perl"
533 >    endif
534 > endif
535  
536 + # Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts
537 + # directory).
538 + 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"; } }'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines