source: trunk/MagicSoft/Mars/datacenter/scripts/setup@ 9081

Last change on this file since 9081 was 9081, checked in by snruegam, 17 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 5.1 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
53reflectorversion="reflector 0.7"
54cameraversion="camera 0.75"
55
56webpath=/www/htdocs/datacenter
57
58#addresses to which the errors are sent
59erradrs="datacenter@astro.uni-wuerzburg.de"
60#addresses to which the changes are sent
61adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"
62
63
64#setup for jobmanager
65sleeptime=30 #30
66sleeptimelimit=360 #360
67errorsleeptimedefault=60 #60
68max=42 #maximum number of processes
69
70#scripts=( "runcallisto" "runstar" "runganymed" "dodatacheck" )
71#scriptscolname=( "fCallisto" "fStar" "fGanymed" "fDataCheckDone" )
72#datascripts=( "runcallisto" "runstar" "runganymed" )
73#datascriptscolname=( "fCallisto" "fStar" "fGanymed" )
74datascripts=( "runganymed" "runstar" "runcallisto" "cutslices" )
75datascriptscolname=( "fGanymed" "fStar" "fCallisto" "fCompmux" )
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
86pnototal=( 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 42 )
87pnototalwe=( 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
89pnocallisto=( 32 32 32 32 32 20 20 18 18 12 12 12 12 12 12 12 12 12 12 18 18 20 20 32 )
90pnostar=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
91pnoganymed=( 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 )
92pnocutslices=( 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
95pnocallistowe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
96pnostarwe=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
97pnoganymedwe=( 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 7 )
98pnocutsliceswe=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
99#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 )
100
101##pnosweek=( ${pnocallisto[@]} ${pnostar[@]} ${pnoganymed[@]} ${pnodatacheck[@]} )
102##pnoswe=( ${pnocallistowe[@]} ${pnostarwe[@]} ${pnoganymedwe[@]} ${pnodatacheckwe[@]} )
103#pnosweek=( ${pnocallisto[@]} ${pnostar[@]} ${pnoganymed[@]} )
104#pnoswe=( ${pnocallistowe[@]} ${pnostarwe[@]} ${pnoganymedwe[@]} )
105pnosweek=( ${pnoganymed[@]} ${pnostar[@]} ${pnocallisto[@]} ${pnocutslices[@]} )
106pnoswe=( ${pnoganymedwe[@]} ${pnostarwe[@]} ${pnocallistowe[@]} ${pnocutsliceswe[@]} )
107
108# values for mc production
109mcscripts=( "runcorsika" "runreflector" "runcamera" )
110mcscriptscolname=( "fCorsikaFileAvail" "fReflectorFileAvail" "fCameraFileAvail" )
111
112#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
113
114pnocorsika=( 18 18 18 18 18 18 18 12 10 8 7 7 7 7 7 7 7 7 7 8 10 12 18 18 )
115pnoreflector=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
116pnocamera=( 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 )
117
118pnocorsikawe=( 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 18 )
119pnoreflectorwe=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
120pnocamerawe=( 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 4 )
121
122#pnosweek=( ${pnocorsika[@]} ${pnoreflector[@]} ${pnocamera[@]} )
123#pnoswe=( ${pnocorsikawe[@]} ${pnoreflectorwe[@]} ${pnocamerawe[@]} )
124
Note: See TracBrowser for help on using the repository browser.