(file) Return to configsdp.txt CVS log (file) (dir) Up to [Development] / JSOC

  1 arta  1.28 # ART - test2 CVS admin locking.
  2 kehcheng 1.29 # KEHCHENG - test3
  3 arta     1.1  # This file contains JSOC_SDP-specific configuration information. It is used only if the '-sdp' flag is used 
  4 arta     1.22 # as an argument to the check-out script (checkoutDRMS.pl). To change the configuration at Stanford, edit
  5               # this file directly, and commit those changes to the source-tree repository.
  6 arta     1.1  
  7 arta     1.22 # The lines in the __PROJ_MK_RULES__ section define JSOC_SDP-specific make variables, targets, and rules. When 
  8               # localize.py is run, it will process this section and create JSOC/localization/make_basic.mk. These are
  9 arta     1.1  # available to all JSOC_SDP projects.
 10               
 11 arta     1.22 # The lines in the __PROJ__ section define JSOC_SDP projects. When localize.py runs, file content will be 
 12 arta     1.1  # added to JSOC/localization/Rules.mk and JSOC/localization/target.mk.
 13               
 14 arta     1.22 # The lines in the __PROJCFG__ section define additional project-specific configuration. The code in this
 15               # section must be in a shell-scripting language, and will be executed as is.
 16               
 17               # The lines in the __MAKE__ section define global make variables to configure the make process. A subset of 
 18               # these variables defines the locations of JSOC_SDP-specific third-party libraries. These values apply to all code 
 19               # in both JSOC/base and JSOC/proj directories.
 20               
 21               __DEFS__
 22               q:SERVER                        hmidb
 23               q:DRMSPGPORT                    5432
 24 arta     1.23 q:SUMS_DB_HOST                  hmidb3
 25 arta     1.22 q:SUMPGPORT                     5434
 26               a:DRMS_LOCAL_SITE_CODE          0x0000
 27               q:DBNAME                        jsoc
 28               
 29               q:POSTGRES_ADMIN                postgres
 30               q:SUMS_MANAGER                  production
 31               # This seems like a bad idea to make the UID a parameter. Why not just convert the SUM_MANAGER value
 32               # to a UID when needed? If the UID of the SUM_MANAGER changes, we have to change the UID here.
 33               q:SUMS_MANAGER_UID              388
 34               q:SUMS_GROUP                    SOI
 35               q:SUMLOG_BASEDIR                /usr/local/logs/SUM
 36               q:SUMBIN_BASEDIR                /usr/local/bin
 37 arta     1.23 q:SUMSERVER                     k1
 38 arta     1.22 # The number of SUMS process SETS to spawn. If this number is not 1, then the number of SUMS processes
 39               # is SUM_NUMSUM * 5 + 2.
 40               a:SUM_NUMSUM                    3
 41               a:SUM_MAXNUMSUM                 8
 42               p:SUMS_TAPE_AVAILABLE           1
 43               p:SUMS_MULTIPLE_PARTNSETS       1
 44               # No idea what this parameter means. It isn't used anywhere in our code, but for some reason
 45               # it is part of the config.local set, so we have to include it here.
 46               a:SUMS_DEBUG                    1
 47               q:PRODUSER_DBHOST               hmidb:5432
 48               q:PRODUSER_DBNAME               jsoc
 49               q:PRODUSER_PRODTAB              su_production.produsers
 50               q:PRODUSER_COLUSER              username
 51 arta     1.24 q:SUMRM_PART_PERCENT_FREE       3
 52               q:SUMRM_SLEEP                   300
 53               # This is a file in SUMLOG_BASEDIR.
 54               q:SUMRM_LOG                     sum_rm.cfg
 55               q:SUMRM_MAIL	      	        sys2@solar2
 56               q:SUMRM_NOOP		            0
 57               q:SUMRM_USER		            production
 58               q:SUMRM_NORUN_START	            0
 59               q:SUMRM_NORUN_STOP              0
 60 arta     1.1  
 61               __MAKE__
 62 arta     1.22 # JSOC_SDP third-party libraries used by base
 63               # The parameters in this section are used to create make variables. For example, the line 
 64               # 'POSTGRES_LIB = pq' will cause a make variable named POSTGRES_LIB to be created and to
 65               # be assigned the value 'pq'.
 66               
 67               # If the name in the left column contains a colon, then the name on the LHS is the parameter name. The RHS is
 68               # a description of which platforms or specific machines the parameter applies to. For example, 
 69               # the name POSTGRES_INCS:X86_64 implies that the value of the parameter named POSTGRES_INCS is /usr/include
 70               # when make is run on a linux_x86_64 machine. The RHS string can contain either a platform identifier
 71               # (X86_64, IA32, AVX, or IA64) or it can be a string that identifies a particular machine, like d02.
 72               # If the string is not one of the defined platform identifiers, then it is considered a machine identifier.
 73               # A machine identifier can specify more than one machine. The name POSTGRES_INCS:hmidb specifies
 74               # all machines whose names contain the string 'hmidb'. So, for machines hmidb, hmidb2, and hmidb3, the
 75               # value of the POSTGRES_INCS parameter is /usr/local/pgsql/include.
 76               #
 77               # If the RHS is a platform identifier, then make compares the value of $JSOC_MACHINE (which is in 
 78               # reality a misnomer, since it truly specifies the name of the machine platform, not the name
 79               # of the machine) to the platform name specified by the RHS string. For example, 
 80               # if the RHS string is 'avx', then make compares $JSOC_MACHINE to
 81               # 'linux_avx', and if there is a match, then the parameter's value specified in the second column is assigned
 82               # to the make variable. If the RHS is a machine identifier, then make compares the value of $MACHTYPE
 83 arta     1.22 # (another misnormer, since it is the name of the machine, not the name of some type of machine ) to
 84               # the machine names specified by the RHS. For example, if the RHS string is 'hmidb' then make 
 85               # compares $MACHTYPE to 'hmidb', and if 'hmidb' is a substring of $MACHTYPE, then the parameter's 
 86               # value specified in the second column is assigned to the make variable
 87               # 
 88               # Blocks defined by the _CUST_/_ENDCUST_ tags are copied ver batim into the output make file.
 89               
 90               POSTGRES_LIB            pq
 91               CFITSIO_LIB             cfitsio
 92               
 93               POSTGRES_INCS:X86_64    /usr/include
 94               POSTGRES_INCS:IA32      /usr/include
 95               POSTGRES_INCS:AVX       /usr/include
 96               POSTGRES_INCS:IA64      /usr/include/pgsql
 97               POSTGRES_INCS:j1       /usr/include/pgsql
 98               POSTGRES_INCS:d02      /usr/include/pgsql
 99               POSTGRES_INCS:hmidb    /usr/local/pgsql/include
100               POSTGRES_INCS:cl1n0    __POSTGRES_DEVELOP_NOT_INSTALLED__
101               POSTGRES_INCS:dcs      /usr/include/pgsql
102               
103               POSTGRES_LIBS:X86_64    /usr/lib64
104 arta     1.22 POSTGRES_LIBS:IA32      /usr/lib
105               POSTGRES_LIBS:AVX       /usr/lib64
106               POSTGRES_LIBS:IA64      /usr/lib
107               POSTGRES_LIBS:j1       /usr/lib64
108               POSTGRES_LIBS:d02      /usr/lib
109               POSTGRES_LIBS:hmidb    /usr/lib64
110               POSTGRES_LIBS:cl1n0    /usr/lib64
111               POSTGRES_LIBS:dcs      /usr/lib64
112               
113               CFITSIO_INCS:X86_64     /home/jsoc/include
114               CFITSIO_INCS:IA32       /home/jsoc/include
115               CFITSIO_INCS:AVX        /home/jsoc/avx/include
116               CFITSIO_INCS:IA64       /home/jsoc/include
117               CFITSIO_INCS:j1         /home/jsoc/include
118               CFITSIO_INCS:d02        __CFITSIO_NOT_INSTALLED__
119               CFITSIO_INCS:hmidb      /home/jsoc/include
120               CFITSIO_INCS:cl1n0      /home/jsoc/include
121               CFITSIO_INCS:dcs        /home/jsoc/include
122               
123               CFITSIO_LIBS:X86_64     /home/jsoc/lib/linux-x86_64
124               CFITSIO_LIBS:IA32       /home/jsoc/lib/linux-ia32
125 arta     1.22 CFITSIO_LIBS:AVX        /home/jsoc/avx/lib
126               CFITSIO_LIBS:IA64       /home/jsoc/lib/linux-ia64
127               CFITSIO_LIBS:j1         /home/jsoc/lib/linux-x86_64
128               CFITSIO_LIBS:d02        __CFITSIO_NOT_INSTALLED__
129               CFITSIO_LIBS:hmidb      /home/jsoc/lib/linux-x86_64
130               CFITSIO_LIBS:cl1n0      /home/jsoc/lib/linux-x86_64
131               CFITSIO_LIBS:dcs        /home/jsoc/lib/linux-x86_64
132               
133               FFTW_INCS:X86_64        /home/jsoc/include
134               FFTW_INCS:IA32          /home/jsoc/include
135               FFTW_INCS:AVX           /home/jsoc/avx/include
136               FFTW_INCS:IA64          /home/jsoc/include
137               
138               FFTW_LIBS:X86_64        /home/jsoc/lib/linux-x86_64
139               FFTW_LIBS:IA32          /home/jsoc/lib/linux-ia32
140               FFTW_LIBS:AVX           /home/jsoc/avx/lib
141               FFTW_LIBS:IA64          /home/jsoc/lib/linux-x86_64
142               
143               GSL_INCS:X86_64         /home/jsoc/include
144               GSL_INCS:IA32           /home/jsoc/include
145               GSL_INCS:AVX            /home/jsoc/avx/include
146 arta     1.22 GSL_INCS:IA64           /home/jsoc/include
147               
148               GSL_LIBS:X86_64         /home/jsoc/lib/linux-x86_64
149               GSL_LIBS:IA32           /home/jsoc/lib/linux-ia32
150               GSL_LIBS:AVX            /home/jsoc/avx/lib
151               GSL_LIBS:IA64           /home/jsoc/lib/linux-x86_64
152               
153               MPI_INCS:X86_64         /home/jsoc/mpich2/include
154               MPI_INCS:IA32           
155               MPI_INCS:AVX            /home/jsoc/avx/include
156               MPI_INCS:IA64           
157               
158               MPI_LIBS:X86_64         /home/jsoc/mpich2/lib
159               MPI_LIBS:AVX            /home/jsoc/avx/lib
160               
161               MPI_PATH:X86_64         /home/jsoc/mpich2/bin
162               MPI_PATH:AVX            /home/jsoc/avx/bin
163               
164               # Set custom make file to tell the make system that the gcc cfitsio library is called
165               # libcfitsio_gcc.a
166               _CUST_
167 arta     1.22 ifeq ($(COMPILER), gcc)
168                   ifeq ($(JSOC_MACHINE), linux_x86_64)
169                   CFITSIO_LIB = cfitsio_gcc
170                   endif
171               endif
172               _ENDCUST_
173               
174               __PROJ_MK_RULES__
175 arta     1.1  $(CEXESUMS):                    $(LIBSUMSAPI) $(LIBSUM) $(LIBDSTRUCT)
176               $(MODEXESUMS):                  $(LIBSUMSAPI) $(LIBSUM)
177               
178               $(MODEXEDROBJ):                 CF_TGT := $(CF_TGT) -I$(SRCDIR)/proj/libs/dr
179               $(MODEXEDR) $(MODEXEDR_SOCK):   $(LIBDR)
180               __PROJ__
181               <?xml version='1.0'?>
182               <projects>
183                  <proj>
184                       <name>libs</name>
185                       <subdirs>
186                            <subdir>astro</subdir>
187                            <subdir>dr</subdir>
188                            <subdir>dsputil</subdir>
189                            <subdir>gapfiller</subdir>
190                            <subdir>interpolate</subdir>
191                            <subdir>stats</subdir>
192 arta     1.6               <subdir>egsehmicomp</subdir>
193 arta     1.7               <subdir>imrotate</subdir>
194 arta     1.1         </subdirs>
195                  </proj>
196                  <proj>
197                       <name>datacapture</name>
198                       <subdirs>
199                            <subdir>apps</subdir>     
200                       </subdirs>
201                  </proj>
202                  <proj>
203                       <name>dsdsmigr</name>
204                       <subdirs>
205                            <subdir>libs</subdir>
206                            <subdir>apps</subdir>
207                       </subdirs>
208                  </proj>
209                  <proj>
210                       <name>maps_avgs</name>
211                       <subdirs>
212                            <subdir>apps</subdir>     
213                       </subdirs>
214                       <filters>
215 arta     1.1               <filter>
216                                 <name>COMPILER</name>
217                                 <value>icc</value>
218                            </filter>
219                       </filters>
220                  </proj>
221                  <proj>
222 arta     1.25         <name>mhd_64cr</name>
223                       <subdirs>
224                               <subdir>apps</subdir>
225                       </subdirs>
226                  </proj>
227                  <proj>
228 arta     1.1          <name>util</name>
229                       <subdirs>
230                            <subdir>apps</subdir>     
231                       </subdirs>
232                  </proj>
233                  <proj>
234                       <name>lev0</name>
235                       <subdirs>
236                            <subdir>apps</subdir>     
237                       </subdirs>
238                  </proj>
239                  <proj>
240                       <name>lev1</name>
241                       <subdirs>
242                            <subdir>apps</subdir>     
243                       </subdirs>
244                  </proj>
245                  <proj>
246                       <name>jpe</name>
247                       <subdirs>
248                            <subdir>apps</subdir>     
249 arta     1.1          </subdirs>
250                  </proj>
251                  <proj>
252                       <name>lev1_aia</name>
253                       <subdirs>
254                            <subdir>apps</subdir>     
255                       </subdirs>
256                  </proj>
257                  <proj>
258                       <name>lev1_hmi</name>
259                       <subdirs>
260                            <subdir>apps</subdir>     
261                       </subdirs>
262                  </proj>
263                  <proj>
264                       <name>export</name>
265                       <subdirs>
266                            <subdir>libs/util</subdir>
267                            <subdir>apps</subdir>
268                       </subdirs>
269                  </proj>
270 arta     1.1     <proj>
271                       <name>globalhs</name>
272                       <subdirs>
273 arta     1.21             <subdir>apps</subdir>
274 arta     1.20             <subdir>libs/dtgf</subdir>
275                           <subdir>libs/pkbgn</subdir>
276                           <subdir>libs/projection</subdir>
277 arta     1.1          </subdirs>
278                       <filters>
279                            <filter>
280                                 <name>COMPILER</name>
281                                 <value>icc</value>
282                            </filter>
283                      </filters>
284                  </proj>
285                  <proj>
286                       <name>lev1.5_hmi</name>
287                       <subdirs>
288                            <subdir>libs/lev15</subdir>
289                            <subdir>apps</subdir>
290                       </subdirs>
291                  </proj>
292                  <proj>
293 arta     1.7          <name>lev1.5_aia</name>
294                       <subdirs>
295                           <subdir>apps</subdir>
296                       </subdirs>
297                  </proj>
298                  <proj>
299 arta     1.1          <name>flatfield</name>
300                       <subdirs>
301                           <subdir>libs/flatfieldlib</subdir>
302                           <subdir>apps</subdir>
303 arta     1.6              <subdir>off_flat_IDL</subdir>
304 arta     1.1          </subdirs>
305                  </proj>
306                 <proj>
307                       <name>rings</name>
308                       <subdirs>
309                            <subdir>apps</subdir>
310                       </subdirs>
311                  </proj>
312 rick     1.8    <proj>
313 mbobra   1.14         <name>sharp</name>
314                       <subdirs>
315                            <subdir>apps</subdir>
316                       </subdirs>
317 jim      1.19         <filters>
318                            <filter>
319                                 <name>COMPILER</name>
320                                 <value>icc</value>
321                            </filter>
322                      </filters>
323 mbobra   1.14    </proj>
324                 <proj>
325 rick     1.8          <name>farside</name>
326                       <subdirs>
327                            <subdir>apps</subdir>
328                       </subdirs>
329                  </proj>
330                 <proj>
331                       <name>timed</name>
332                       <subdirs>
333                            <subdir>apps</subdir>
334                       </subdirs>
335                  </proj>
336 arta     1.1     <proj>
337                       <name>mag</name>
338                       <subdirs>
339                            <subdir>apps</subdir>
340                            <subdir>pfss/apps</subdir>
341                            <subdir>ambig/apps</subdir>
342 arta     1.9               <subdir>harp/apps</subdir>
343 arta     1.10              <subdir>harp/libs/matlab/mex/src/util</subdir>
344 arta     1.9               <subdir>harp/libs/matlab/mex/src/mex2c</subdir>
345 arta     1.11              <subdir>harp/libs/matlab/mfile-mex/standalone</subdir>
346 arta     1.12              <subdir>harp/libs/matlab/mfile-mex/assignment</subdir>
347                            <subdir>harp/libs/matlab/mfile-mex/fits</subdir>
348                            <subdir>harp/libs/matlab/mfile-mex/hmi-mask-patch</subdir>
349 arta     1.1               <subdir>ident/apps</subdir>
350                            <subdir>ident/libs/mex2c</subdir>
351                            <subdir>ident/libs/mexfunctions</subdir>
352                            <subdir>ident/libs/util</subdir>
353                            <subdir>patch/apps</subdir>
354 xudong   1.3               <subdir>nlfff/apps</subdir>
355                            <subdir>d4vm/apps</subdir>
356 xudong   1.4               <subdir>remapmags/apps</subdir>
357 xudong   1.5               <subdir>synop/apps</subdir>
358 arta     1.1          </subdirs>
359                       <filters>
360                            <filter>
361                                 <name>COMPILER</name>
362                                 <value>icc</value>
363                            </filter>
364                      </filters>
365                  </proj>
366                  <proj>
367                       <name>limbfit</name>
368                       <subdirs>
369                           <subdir>apps</subdir>
370                       </subdirs>
371 jim      1.19         <filters>
372                            <filter>
373                                 <name>COMPILER</name>
374                                 <value>icc</value>
375                            </filter>
376                      </filters>
377 arta     1.1     </proj>
378                  <proj>
379                       <name>vfisv</name>
380                       <subdirs>
381                           <subdir>apps</subdir>
382                       </subdirs>
383                  </proj>
384                  <proj>
385                       <name>workflow</name>
386                       <subdirs>
387                           <subdir>apps</subdir>
388                       </subdirs>
389                  </proj>
390 xudong   1.26    <proj>
391                       <name>cgem</name>
392                       <subdirs>
393                            <subdir>apps</subdir>
394                            <subdir>lorentz/apps</subdir>
395                       </subdirs>
396                       <filters>
397                            <filter>
398                                 <name>COMPILER</name>
399                                 <value>icc</value>
400                            </filter>
401                      </filters>
402                  </proj>
403 arta     1.1  </projects>
404 arta     1.2  __PROJCFG__
405               #! /bin/csh -f
406               
407               # Project-specific configuration (like adding links to scripts to the $JSOCROOT/scripts
408               # directory).
409               
410               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" \;
411 arta     1.1  

Karen Tian
Powered by
ViewCVS 0.9.4