source: trunk/MagicSoft/Mars/datacenter/scripts/setup.wue.magic.data@ 9493

Last change on this file since 9493 was 9489, checked in by Daniela Dorner, 15 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 4.4 KB
Line 
1#!/bin/sh
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 08/2009 <mailto:dorner@astro.uni-wuerzburg.de>
21#
22# Copyright: MAGIC Software Development, 2000-2009
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# queuing system
40queuesys=condor # wuerzburg data center
41
42# logging and setup
43logpath=/magic/datacenter/autologs
44lockpath=/magic/datacenter/locks
45setuppath=/magic/datacenter/setup
46
47# paths of data
48datapath=/magic/data
49subsystempath=/magic/subsystemdata
50sequpath=/magic/sequences
51datasetpath=/magic/datasets
52
53## paths and setup for mc
54#mcpath=/magic/montecarlo
55#mcrawpath=$mcpath/rawfiles
56#mcsequpath=$mcpath/sequences
57#corsikapath=/home/operator/Corsika/Mmcs6500/
58#detectordir=/home/msmeyer/MC/MagicSoft/Simulation/Detector
59#reflectorversion="reflector 0.7"
60#cameraversion="camera 0.8"
61#export FLUPRO=$corsikapath'/fluka2008_3'
62
63
64webpath=/www/htdocs/datacenter
65
66# get paths for mars, macros and scripts
67mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
68macrospath=$mars/datacenter/macros
69scriptspath=$mars/datacenter/scripts
70# rcfiles
71# dependencies of steps
72steps=$mars/resources/steps.rc
73# file with db information
74sqlrc=$mars/sql.rc
75
76
77#addresses to which the errors are sent
78erradrs="datacenter@astro.uni-wuerzburg.de"
79#addresses to which the changes are sent
80adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"
81
82
83#setup for jobmanager
84sleeptime=30 #30
85sleeptimelimit=360 #360
86errorsleeptimedefault=60 #60
87max=42 #maximum number of processes for one script in case there are more than one and the others do not have anything to do
88totalmax=40 #maximum number of processes (total) overwrites pnototal(we) in case it is smaller
89
90#
91# FIXME:
92# max anz an prozessen setzen
93# besser Verhaeltnis zwischen den Prozessen und das am besten noch
94# automatisch anpassen
95# evtl noch maximale anz an callistos setzen
96#
97
98#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
99pnototal=( 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 )
100pnototalwe=( 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 )
101
102pnocallisto=( 32 32 32 32 32 20 20 18 18 12 12 12 12 12 12 12 12 12 12 18 18 20 20 32 )
103pnostar=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
104pnoganymed=( 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 )
105#pnocutslices=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
106#pnodatacheck=( 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )
107
108pnocallistowe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
109pnostarwe=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
110pnoganymedwe=( 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 )
111#pnocutsliceswe=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
112#pnodatacheckwe=( 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )
113
114# set variables for jobmanager
115scripts=( "runganymed" "runstar" "runcallisto" ) # not used: "dodatacheck" "cutslices"
116scriptscolname=( "fGanymed" "fStar" "fCallisto" ) # not used: "fDataCheckDone" "fCompmux"
117pnosweek=( ${pnoganymed[@]} ${pnostar[@]} ${pnocallisto[@]} ) # not used: ${pnodatacheck[@]} ${pnocutslices[@]}
118pnoswe=( ${pnoganymedwe[@]} ${pnostarwe[@]} ${pnocallistowe[@]} ) # not used: ${pnodatacheckwe[@]} ${pnocutsliceswe[@]}
119
Note: See TracBrowser for help on using the repository browser.