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 05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
|
---|
21 | #
|
---|
22 | # Copyright: MAGIC Software Development, 2000-2008
|
---|
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 |
|
---|
31 | rootsys=/opt/root_v5.12.00f
|
---|
32 | if ! export | grep $rootsys >|/dev/null
|
---|
33 | then
|
---|
34 | export ROOTSYS=$rootsys
|
---|
35 | export PATH=$PATH:$ROOTSYS/bin
|
---|
36 | export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
|
---|
37 | fi
|
---|
38 |
|
---|
39 | # queuing system
|
---|
40 | queuesys=condor # wuerzburg data center
|
---|
41 | #queuesys=sge # isdc
|
---|
42 |
|
---|
43 | # logging and setup
|
---|
44 | logpath=/magic/datacenter/autologs
|
---|
45 | lockpath=/magic/datacenter/locks
|
---|
46 | setuppath=/magic/datacenter/setup
|
---|
47 |
|
---|
48 | # paths of data
|
---|
49 | datapath=/magic/data
|
---|
50 | subsystempath=/magic/subsystemdata
|
---|
51 | sequpath=/magic/sequences
|
---|
52 | datasetpath=/magic/datasets
|
---|
53 |
|
---|
54 | # paths and setup for mc
|
---|
55 | mcpath=/magic/montecarlo
|
---|
56 | mcrawpath=$mcpath/rawfiles
|
---|
57 | mcsequpath=$mcpath/sequences
|
---|
58 | corsikapath=/home/operator/Corsika/Mmcs6500/
|
---|
59 | detectordir=/home/msmeyer/MC/MagicSoft/Simulation/Detector
|
---|
60 | reflectorversion="reflector 0.7"
|
---|
61 | cameraversion="camera 0.8"
|
---|
62 |
|
---|
63 | webpath=/www/htdocs/datacenter
|
---|
64 |
|
---|
65 | #addresses to which the errors are sent
|
---|
66 | erradrs="datacenter@astro.uni-wuerzburg.de"
|
---|
67 | #addresses to which the changes are sent
|
---|
68 | adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"
|
---|
69 |
|
---|
70 |
|
---|
71 | #setup for jobmanager
|
---|
72 | sleeptime=30 #30
|
---|
73 | sleeptimelimit=360 #360
|
---|
74 | errorsleeptimedefault=60 #60
|
---|
75 | max=42 #maximum number of processes
|
---|
76 |
|
---|
77 | #
|
---|
78 | # FIXME:
|
---|
79 | # max anz an prozessen setzen
|
---|
80 | # besser Verhaeltnis zwischen den Prozessen und das am besten noch
|
---|
81 | # automatisch anpassen
|
---|
82 | # evtl noch maximale anz an callistos setzen
|
---|
83 | #
|
---|
84 |
|
---|
85 | #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
|
---|
86 | pnototal=( 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 )
|
---|
87 | pnototalwe=( 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 )
|
---|
88 |
|
---|
89 | pnocallisto=( 32 32 32 32 32 20 20 18 18 12 12 12 12 12 12 12 12 12 12 18 18 20 20 32 )
|
---|
90 | pnostar=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
|
---|
91 | pnoganymed=( 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 )
|
---|
92 | #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 )
|
---|
93 | #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 )
|
---|
94 | pnocorsika=( 12 12 12 12 12 12 12 10 9 8 7 7 7 7 7 7 7 7 7 8 9 10 12 12 )
|
---|
95 | pnoreflector=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
|
---|
96 | pnocamera=( 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 )
|
---|
97 |
|
---|
98 | pnocallistowe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
|
---|
99 | pnostarwe=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
|
---|
100 | pnoganymedwe=( 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 )
|
---|
101 | #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 )
|
---|
102 | #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 )
|
---|
103 | pnocorsikawe=( 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
|
---|
104 | pnoreflectorwe=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
|
---|
105 | pnocamerawe=( 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 )
|
---|
106 |
|
---|