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

Comparing configsdp.txt (file contents):
Revision 1.8 by rick, Tue Nov 15 00:05:34 2011 UTC vs.
Revision 1.80 by arta, Wed Sep 16 22:03:56 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
2 < # as an argument to the check-out script (checkoutDRMS.pl).
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 __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                  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
29 > 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 > 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
40 > a:SUM_MAXNUMSUM                 8
41 > p:SUMS_TAPE_AVAILABLE           1
42 > p:SUMS_MULTIPLE_PARTNSETS       1
43 > # No idea what this parameter means. It isn't used anywhere in our code, but for some reason
44 > # it is part of the config.local set, so we have to include it here.
45 > a:SUMS_DEBUG                    1
46 > q:PRODUSER_DBHOST               hmidb:5432
47 > q:PRODUSER_DBNAME               jsoc
48 > q:PRODUSER_PRODTAB              su_production.produsers
49 > q:PRODUSER_COLUSER              username
50 > q:SUMRM_PART_PERCENT_FREE       3
51 > q:SUMRM_SLEEP                   300
52 > # This is a file in SUMLOG_BASEDIR.
53 > q:SUMRM_LOG                     sum_rm.cfg
54 > q:SUMRM_MAIL                    sys2@solar2
55 > q:SUMRM_NOOP                        0
56 > q:SUMRM_USER                        production
57 > q:SUMRM_NORUN_START                 0
58 > q:SUMRM_NORUN_STOP              0
59 > # JMD
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_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 < $(CEXESUMS):                    $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT)
129 < $(MODEXESUMS):                  $(LIBSUMSAPI) $(LIBSUM)
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
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,
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.
138 > # If the string is not one of the defined platform identifiers, then it is considered a machine identifier.
139 > # A machine identifier can specify more than one machine. The name POSTGRES_INCS:hmidb specifies
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
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,
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
152 > # value specified in the second column is assigned to the make variable
153 > #
154 > # Blocks defined by the _CUST_/_ENDCUST_ tags are copied ver batim into the output make file.
155 >
156 > POSTGRES_LIB            pq
157 > CFITSIO_LIB             cfitsio
158 >
159 > POSTGRES_INCS:X86_64    /usr/include
160 > POSTGRES_INCS:IA32      /usr/include
161 > POSTGRES_INCS:AVX       /usr/include
162 > POSTGRES_INCS:IA64      /usr/include/pgsql
163 > POSTGRES_INCS:j1       /usr/include/pgsql
164 > POSTGRES_INCS:d02      /usr/include/pgsql
165 > POSTGRES_INCS:hmidb    /usr/local/pgsql/include
166 > POSTGRES_INCS:cl1n0    __POSTGRES_DEVELOP_NOT_INSTALLED__
167 > POSTGRES_INCS:dcs      /usr/include/pgsql
168 >
169 > POSTGRES_LIBS:X86_64    /usr/lib64
170 > POSTGRES_LIBS:IA32      /usr/lib
171 > POSTGRES_LIBS:AVX       /usr/lib64
172 > POSTGRES_LIBS:IA64      /usr/lib
173 > POSTGRES_LIBS:j1       /usr/lib64
174 > POSTGRES_LIBS:d02      /usr/lib
175 > POSTGRES_LIBS:hmidb    /usr/lib64
176 > POSTGRES_LIBS:cl1n0    /usr/lib64
177 > POSTGRES_LIBS:dcs      /usr/lib64
178 >
179 > CFITSIO_INCS:X86_64     /home/jsoc/include
180 > CFITSIO_INCS:IA32       /home/jsoc/include
181 > CFITSIO_INCS:AVX        /home/jsoc/avx/include
182 > CFITSIO_INCS:IA64       /home/jsoc/include
183 > CFITSIO_INCS:j1         /home/jsoc/include
184 > CFITSIO_INCS:d02        __CFITSIO_NOT_INSTALLED__
185 > CFITSIO_INCS:hmidb      /home/jsoc/include
186 > CFITSIO_INCS:cl1n0      /home/jsoc/include
187 > CFITSIO_INCS:dcs        /home/jsoc/include
188 >
189 > CFITSIO_LIBS:X86_64     /home/jsoc/lib/linux-x86_64
190 > CFITSIO_LIBS:IA32       /home/jsoc/lib/linux-ia32
191 > CFITSIO_LIBS:AVX        /home/jsoc/avx/lib
192 > CFITSIO_LIBS:IA64       /home/jsoc/lib/linux-ia64
193 > CFITSIO_LIBS:j1         /home/jsoc/lib/linux-x86_64
194 > CFITSIO_LIBS:d02        __CFITSIO_NOT_INSTALLED__
195 > CFITSIO_LIBS:hmidb      /home/jsoc/lib/linux-x86_64
196 > CFITSIO_LIBS:cl1n0      /home/jsoc/lib/linux-x86_64
197 > CFITSIO_LIBS:dcs        /home/jsoc/lib/linux-x86_64
198 >
199 > FFTW_INCS:X86_64        /home/jsoc/include
200 > FFTW_INCS:IA32          /home/jsoc/include
201 > FFTW_INCS:AVX           /home/jsoc/avx/include
202 > FFTW_INCS:IA64          /home/jsoc/include
203 >
204 > FFTW_LIBS:X86_64        /home/jsoc/lib/linux-x86_64
205 > FFTW_LIBS:IA32          /home/jsoc/lib/linux-ia32
206 > FFTW_LIBS:AVX           /home/jsoc/avx/lib
207 > FFTW_LIBS:IA64          /home/jsoc/lib/linux-x86_64
208 >
209 > GSL_INCS:X86_64         /home/jsoc/include
210 > GSL_INCS:IA32           /home/jsoc/include
211 > GSL_INCS:AVX            /home/jsoc/avx/include
212 > GSL_INCS:IA64           /home/jsoc/include
213 >
214 > GSL_LIBS:X86_64         /home/jsoc/lib/linux-x86_64
215 > GSL_LIBS:IA32           /home/jsoc/lib/linux-ia32
216 > GSL_LIBS:AVX            /home/jsoc/avx/lib
217 > GSL_LIBS:IA64           /home/jsoc/lib/linux-x86_64
218 >
219 > MPI_INCS:X86_64         /home/jsoc/mpich2/include
220 > MPI_INCS:IA32
221 > MPI_INCS:AVX            /home/jsoc/avx/include
222 > MPI_INCS:IA64
223 >
224 > MPI_LIBS:X86_64         /home/jsoc/mpich2/lib
225 > MPI_LIBS:AVX            /home/jsoc/avx/lib
226 >
227 > MPI_PATH:X86_64         /home/jsoc/mpich2/bin
228 > MPI_PATH:AVX            /home/jsoc/avx/bin
229 >
230 > TAR_INCS:X86_64         /home/jsoc/include
231 > TAR_INCS:IA32           /home/jsoc/include
232 > TAR_INCS:AVX            /home/jsoc/avx/include
233 > TAR_INCS:IA64           /home/jsoc/include
234 >
235 > TAR_LIBS:X86_64         /home/jsoc/lib/linux-x86_64
236 > TAR_LIBS:IA32           /home/jsoc/lib/linux-ia32
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_
252 > ifeq ($(COMPILER), gcc)
253 >    ifeq ($(JSOC_MACHINE), linux_x86_64)
254 >    CFITSIO_LIB = cfitsio_gcc
255 >    endif
256 > endif
257 > _ENDCUST_
258 >
259 > __PROJ_MK_RULES__
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)
21 __END__
265   __PROJ__
266   <?xml version='1.0'?>
267   <projects>
# Line 30 | Line 273 | __PROJ__
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>
# Line 49 | Line 294 | __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>
# Line 61 | Line 312 | __PROJ__
312          </filters>
313     </proj>
314     <proj>
315 +        <name>mhd_32daily</name>
316 +        <subdirs>
317 +                <subdir>apps</subdir>
318 +        </subdirs>
319 +   </proj>
320 +   <proj>
321 +        <name>mhd_64cr</name>
322 +        <subdirs>
323 +                <subdir>apps</subdir>
324 +        </subdirs>
325 +   </proj>
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>
# Line 106 | Line 369 | __PROJ__
369     <proj>
370          <name>globalhs</name>
371          <subdirs>
372 <            <subdir>apps/src</subdir>
372 >            <subdir>apps</subdir>
373 >            <subdir>libs/dtgf</subdir>
374 >            <subdir>libs/inv2d</subdir>
375 >            <subdir>libs/pkbgn</subdir>
376 >            <subdir>libs/projection</subdir>
377          </subdirs>
378          <filters>
379               <filter>
# Line 135 | Line 402 | __PROJ__
402              <subdir>apps</subdir>
403              <subdir>off_flat_IDL</subdir>
404          </subdirs>
138        <filters>
139             <filter>
140                  <name>JSOC_MACHINE</name>
141                  <value>linux_x86_64</value>
142             </filter>
143       </filters>
405     </proj>
406    <proj>
407          <name>rings</name>
# Line 149 | Line 410 | __PROJ__
410          </subdirs>
411     </proj>
412    <proj>
413 +        <name>sharp</name>
414 +        <subdirs>
415 +             <subdir>apps</subdir>
416 +        </subdirs>
417 +        <filters>
418 +             <filter>
419 +                  <name>COMPILER</name>
420 +                  <value>icc</value>
421 +             </filter>
422 +       </filters>
423 +   </proj>
424 +  <proj>
425          <name>farside</name>
426          <subdirs>
427               <subdir>apps</subdir>
# Line 163 | Line 436 | __PROJ__
436     <proj>
437          <name>mag</name>
438          <subdirs>
166             <subdir>apps</subdir>
439               <subdir>pfss/apps</subdir>
440               <subdir>ambig/apps</subdir>
441 +             <subdir>harp/apps</subdir>
442 +             <subdir>harp/libs/matlab/mex/src/util</subdir>
443 +             <subdir>harp/libs/matlab/mex/src/mex2c</subdir>
444 +             <subdir>harp/libs/matlab/mfile-mex/standalone</subdir>
445 +             <subdir>harp/libs/matlab/mfile-mex/assignment</subdir>
446 +             <subdir>harp/libs/matlab/mfile-mex/fits</subdir>
447 +             <subdir>harp/libs/matlab/mfile-mex/hmi-mask-patch</subdir>
448               <subdir>ident/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>
# Line 188 | Line 483 | __PROJ__
483          <subdirs>
484              <subdir>apps</subdir>
485          </subdirs>
486 +        <filters>
487 +             <filter>
488 +                  <name>COMPILER</name>
489 +                  <value>icc</value>
490 +             </filter>
491 +       </filters>
492     </proj>
493     <proj>
494          <name>vfisv</name>
# Line 201 | Line 502 | __PROJ__
502              <subdir>apps</subdir>
503          </subdirs>
504     </proj>
505 +   <proj>
506 +        <name>cgem</name>
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>
515 +                  <name>COMPILER</name>
516 +                  <value>icc</value>
517 +             </filter>
518 +       </filters>
519 +   </proj>
520   </projects>
205 __END__
521   __PROJCFG__
522   #! /bin/csh -f
523  
524 < # Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts
210 < # directory).
211 <
212 < 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" \;
524 > set PERLBIN = ""
525  
526 < 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" \;
527 < __END__
528 < __LIBS__
529 < # JSOC_SDP third-party libraries used by base
530 <    POSTGRES_LIB = pq
219 <    CFITSIO_LIB = cfitsio
220 <
221 <    ifeq ($(JSOC_MACHINE), linux_x86_64)
222 <      POSTGRES_INCS = /usr/include
223 <      POSTGRES_LIBS = /usr/lib64
224 <      CFITSIO_INCS = /home/jsoc/include
225 <      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
226 <    endif
227 <
228 <    ifeq ($(JSOC_MACHINE), linux_ia32)
229 <      POSTGRES_INCS = /usr/include
230 <      POSTGRES_LIBS = /usr/lib
231 <      CFITSIO_INCS = /home/jsoc/include
232 <      CFITSIO_LIBS = /home/jsoc/lib/linux-ia32
233 <    endif
234 <
235 <    ifeq ($(JSOC_MACHINE), linux_ia64)
236 <      POSTGRES_INCS = /usr/include/pgsql
237 <      POSTGRES_LIBS = /usr/lib
238 <      CFITSIO_INCS = /home/jsoc/include
239 <      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
240 <    endif
241 <
242 < # JSOC_SDP third-party libraries used by the project directories
243 <    FFTW3_LIB = fftw3
244 <
245 <    ifeq ($(JSOC_MACHINE), linux_ia32)
246 <      FFTW_INCS = /home/jsoc/include
247 <      FFTW_LIBS = /home/jsoc/lib/linux-ia32
248 <    endif
249 <
250 <    ifeq ($(JSOC_MACHINE), linux_x86_64)
251 <      FFTW_INCS = /home/jsoc/include
252 <      FFTW_LIBS = /home/jsoc/lib/linux-x86_64
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 < # Try to specialize for non-default machines
535 <    ifeq ($(MACHTYPE), j1)
536 <      POSTGRES_INCS = /usr/include/pgsql
258 <      POSTGRES_LIBS = /usr/lib64
259 <      CFITSIO_INCS = /home/jsoc/include
260 <      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
261 <    endif
262 <
263 <    ifeq ($(MACHTYPE), d02)
264 <      POSTGRES_INCS = /usr/include/pgsql
265 <      POSTGRES_LIBS = /usr/lib
266 <      CFITSIO_INCS = __CFITSIO_NOT_INSTALLED__
267 <      CFITSIO_LIBS = __CFITSIO_NOT_INSTALLED__
268 <   endif
269 <
270 <    ifeq ($(MACHTYPE), dbserver)
271 <      POSTGRES_INCS = /usr/local/pgsql/include
272 <      POSTGRES_LIBS = /usr/lib64
273 <      CFITSIO_INCS = /home/jsoc/include
274 <      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
275 <    endif
276 <
277 <    ifeq ($(MACHTYPE), cluster)
278 <      POSTGRES_INCS = __POSTGRES_DEVELOP_NOT_INSTALLED__
279 <      POSTGRES_LIBS = /usr/lib64
280 <      CFITSIO_INCS = /home/jsoc/include
281 <      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
282 <    endif
283 <
284 <    ifeq ($(MACHTYPE), dcs)
285 <      POSTGRES_INCS = /usr/include/pgsql
286 <      POSTGRES_LIBS = /usr/lib64
287 <      CFITSIO_INCS = /home/jsoc/include
288 <      CFITSIO_LIBS = /home/jsoc/lib/linux-x86_64
289 <    endif
290 < # Set custom make file to tell the make system that the gcc cfitsio library is called
291 < # libcfitsio_gcc.a
292 <    ifeq ($(COMPILER), gcc)
293 <      ifeq ($(JSOC_MACHINE), linux_x86_64)
294 <        CFITSIO_LIB = cfitsio_gcc
295 <      endif
296 <    endif
297 < __END__
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"; } }'

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines