source: tags/Mars-V1.2/datacenter/scripts/setup

Last change on this file was 8499, checked in by Daniela Dorner, 18 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 3.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 05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
21#
22# Copyright: MAGIC Software Development, 2000-2007
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
40logpath=/magic/datacenter/autologs
41lockpath=/magic/datacenter/locks
42listpath=/magic/datacenter/lists
43setuppath=/magic/datacenter/setup
44
45datapath=/magic/data
46subsystempath=/magic/subsystemdata
47sequpath=/magic/sequences
48datasetpath=/magic/datasets
49
50mcpath=/magic/montecarlo
51mcrawpath=$mcpath/rawfiles
52mcsequpath=$mcpath/sequences
53
54webpath=/www/htdocs/datacenter
55
56#addresses to which the errors are sent
57erradrs="datacenter@astro.uni-wuerzburg.de"
58#addresses to which the changes are sent
59adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"
60
61
62#setup for jobmanager
63sleeptime=30 #30
64sleeptimelimit=360 #360
65errorsleeptimedefault=60 #60
66max=18 #maximum number of processes
67
68#scripts=( "runcallisto" "runstar" "runganymed" "dodatacheck" )
69#scriptscolname=( "fCallisto" "fStar" "fGanymed" "fDataCheckDone" )
70scripts=( "runcallisto" "runstar" "runganymed" )
71scriptscolname=( "fCallisto" "fStar" "fGanymed" )
72
73#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
74pnototal=( 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 )
75pnototalwe=( 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 )
76
77pnocallisto=( 12 12 12 12 12 12 12 10 9 8 7 7 7 7 7 7 7 7 7 8 9 10 12 12 )
78pnostar=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
79pnoganymed=( 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 )
80#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 )
81
82pnocallistowe=( 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 )
83pnostarwe=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
84pnoganymedwe=( 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 )
85#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 )
86
87#pnosweek=( ${pnocallisto[@]} ${pnostar[@]} ${pnoganymed[@]} ${pnodatacheck[@]} )
88#pnoswe=( ${pnocallistowe[@]} ${pnostarwe[@]} ${pnoganymedwe[@]} ${pnodatacheckwe[@]} )
89pnosweek=( ${pnocallisto[@]} ${pnostar[@]} ${pnoganymed[@]} )
90pnoswe=( ${pnocallistowe[@]} ${pnostarwe[@]} ${pnoganymedwe[@]} )
91
Note: See TracBrowser for help on using the repository browser.