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-2006
|
---|
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.00b-cvs
|
---|
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 |
|
---|
40 | logpath=/magic/datacenter/autologs
|
---|
41 | lockpath=/magic/datacenter/locks
|
---|
42 | listpath=/magic/datacenter/lists
|
---|
43 | setuppath=/magic/datacenter/setup
|
---|
44 |
|
---|
45 | datapath=/magic/data
|
---|
46 | subsystempath=/magic/subsystemdata
|
---|
47 | sequpath=/magic/sequences
|
---|
48 | datasetpath=/magic/datasets
|
---|
49 |
|
---|
50 | mcpath=/magic/montecarlo
|
---|
51 | mcrawpath=$mcpath/rawfiles
|
---|
52 | mcsequpath=$mcpath/sequences
|
---|
53 |
|
---|
54 | webpath=/www/htdocs/datacenter
|
---|
55 |
|
---|
56 | #addresses to which the errors are sent
|
---|
57 | erradrs="datacenter@astro.uni-wuerzburg.de"
|
---|
58 | #addresses to which the changes are sent
|
---|
59 | adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"
|
---|
60 |
|
---|
61 |
|
---|
62 | #setup for jobmanager
|
---|
63 | sleeptime=30 #30
|
---|
64 | errorsleeptime=180 #180
|
---|
65 | max=16 #maximum number of processes
|
---|
66 |
|
---|
67 | scripts=( "runcallisto" "runstar" "runganymed" "dodatacheck" )
|
---|
68 | scriptscolname=( "fCallisto" "fStar" "fGanymed" "fDataCheckDone" )
|
---|
69 |
|
---|
70 | #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
|
---|
71 | pnototal=( 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 )
|
---|
72 | pnototalwe=( 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 )
|
---|
73 |
|
---|
74 | pnocallisto=( 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
|
---|
75 | pnostar=( 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 )
|
---|
76 | pnoganymed=( 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 )
|
---|
77 | pnodatacheck=( 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 )
|
---|
78 |
|
---|
79 | pnocallistowe=( 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
|
---|
80 | pnostarwe=( 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 5 )
|
---|
81 | pnoganymedwe=( 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 )
|
---|
82 | pnodatacheckwe=( 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 )
|
---|
83 |
|
---|
84 | pnosweek=( ${pnocallisto[@]} ${pnostar[@]} ${pnoganymed[@]} ${pnodatacheck[@]} )
|
---|
85 | pnoswe=( ${pnocallistowe[@]} ${pnostarwe[@]} ${pnoganymedwe[@]} ${pnodatacheckwe[@]} )
|
---|
86 |
|
---|