source: trunk/DataCheck/Setup/setup.lp.fact@ 13107

Last change on this file since 13107 was 13107, checked in by Daniela Dorner, 13 years ago
added tmp path for rsyn
  • Property svn:executable set to *
File size: 3.2 KB
Line 
1#!/bin/bash
2#
3# ========================================================================
4#
5# *
6# * This file is part of MARS, the MAGIC Analysis and Reconstruction
7# * Software. It is distributed to you in the hope that it can be a useful
8# * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
9# * It is distributed WITHOUT ANY WARRANTY.
10# *
11# * Permission to use, copy, modify and distribute this software and its
12# * documentation for any purpose is hereby granted without fee,
13# * provided that the above copyright notice appear in all copies and
14# * that both that copyright notice and this permission notice appear
15# * in supporting documentation. It is provided "as is" without express
16# * or implied warranty.
17# *
18#
19#
20# Author(s): Daniela Dorner 06/2010 <mailto:daniela.dorner@unige.ch>
21#
22# Copyright: MAGIC Software Development, 2000-2010
23#
24#
25# ========================================================================
26#
27# This a resource file for the scripts, in which the standard paths and
28# functions, which are needed more often are stored.
29#
30
31rootsys=/opt/root_v5.12.00f
32if ! export | grep $rootsys >|/dev/null
33then
34 export ROOTSYS=$rootsys
35 export PATH=$PATH:$ROOTSYS/bin
36 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
37fi
38
39# site
40processingsite=lp
41sitekey= # to be filled
42storagesite=wue
43
44# for db backup
45dbnames=( "mysql" "programoptions" "scheduling" "systemstatus" "postfix" "horde" "logbook" "factdata" )
46
47# queuing system
48# queuesys=condor # wuerzburg data center
49# condorpath=/usr/local/bin
50
51# logging and setup
52logpath=/home/fact/logs.automatic.processing/autologs
53lockpath=/home/fact/logs.automatic.processing/locks
54#setuppath=/magic/simulated/setup
55rsynctempdir=/loc_data/rsync_tmp
56
57## paths of data
58#datapath=/magic/data
59#subsystempath=/magic/subsystemdata
60#sequpath=/magic/sequences
61#datasetpath=/magic/datasets
62
63## paths and setup for mc
64#mcpath=/magic/simulated
65#mcrawpath=$mcpath/rawfiles
66#mcsequpath=$mcpath/sequences
67#corsikapath=/home/montecarlo/MagicSoft/Simulation/Corsika/Mmcs6500
68#export FLUPRO=$corsikapath'/fluka2008_3'
69
70
71#webpath=/www/htdocs/datacenter
72
73# get paths for mars, macros and scripts
74# in case the variable is not yet set
75if [ "$mars" == "" ]
76then
77 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
78fi
79macrospath=$mars/datacenter/macros
80scriptspath=$mars/datacenter/scripts
81# rcfiles
82# dependencies of steps
83steps=$mars/resources/steps_fact.rc
84# file with db information
85sqlrc=$mars/sql.rc
86
87
88#addresses to which the errors are sent
89erradrs="daniela.dorner@unige.ch"
90#addresses to which the changes are sent
91adrs="daniela.dorner@unige.ch"
92
93
94#
95#setup for jobmanager
96#
97sleeptime=600 #30
98sleeptimelimit=360 #360
99errorsleeptimedefault=60 #60
100
101algorithm=2
102#hour: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
103pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
104pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
105
106
107# set variables for jobmanager
108#scripts=( "runcorsika" "runceres" "runcallisto_mc" "runstar_mc" )
109#scriptscolname=( "Corsika" "Ceres" "Callisto" "Star" )
110#ratio=( 0.2 0.6 0.1 0.1 )
111#maxjobs=( 20 20 25 25 )
112
113
114# further wishlist: adapt ratio automatically
115
Note: See TracBrowser for help on using the repository browser.