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

Last change on this file since 7941 was 7938, checked in by hoehne, 19 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 3.3 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-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
31export ROOTSYS=/opt/root_v5.12.00b-cvs
32export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
33export PATH=$PATH:$ROOTSYS/bin
34
35logpath=/magic/datacenter/autologs
36runlogpath=/magic/datacenter/autologs/run/`date +%Y/%m/%d`
37lockpath=/magic/datacenter/locks
38listpath=/magic/datacenter/lists
39setuppath=/magic/datacenter/setup
40
41datapath=/magic/data
42subsystempath=/magic/subsystemdata
43sequpath=/magic/sequences
44datasetpath=/magic/datasets
45
46webpath=/www/htdocs/datacenter
47
48#addresses to which the errors are sent
49erradrs="datacenter@astro.uni-wuerzburg.de"
50#addresses to which the changes are sent
51adrs="datacenter@astro.uni-wuerzburg.de, tbretz@astro.uni-wuerzburg.de"
52
53
54#setup for jobmanager
55sleeptime=30 #30
56errorsleeptime=180 #180
57max=16 #maximum number of processes
58#log files (can't be defined in script itself, as script can run longer
59#than one day
60jmlogpath=$logpath/jobmanager/`date +%Y/%m`
61jmerrorlog=$jmlogpath/error`date +%F`.log
62jmscriptlog=$jmlogpath/jobmanager`date +%F`.log
63
64scripts=( "runcallisto" "runstar" "runganymed" "dodatacheck" )
65scriptscolname=( "fCallisto" "fStar" "fGanymed" "fDataCheckDone" )
66
67#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
68pnototal=( 16 16 16 16 16 16 16 12 12 12 10 10 10 12 12 12 12 12 12 14 16 16 16 16 )
69pnototalwe=( 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 )
70
71pnocallisto=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
72pnostar=( 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 8 )
73pnoganymed=( 3 3 3 3 3 3 3 2 2 2 1 1 2 2 1 1 1 1 1 2 2 3 3 3 )
74pnodatacheck=( 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 )
75
76pnocallistowe=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
77pnostarwe=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
78pnoganymedwe=( 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 3 )
79pnodatacheckwe=( 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 16 )
80
81pnosweek=( ${pnocallisto[@]} ${pnostar[@]} ${pnoganymed[@]} ${pnodatacheck[@]} )
82pnoswe=( ${pnocallistowe[@]} ${pnostarwe[@]} ${pnoganymedwe[@]} ${pnodatacheckwe[@]} )
83
Note: See TracBrowser for help on using the repository browser.