source: trunk/MagicSoft/Mars/datacenter/scripts/setup.isdc.cta@ 9489

Last change on this file since 9489 was 9489, checked in by Daniela Dorner, 16 years ago
*** empty log message ***
  • Property svn:executable set to *
File size: 3.6 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 08/2009 <mailto:daniela.dorner@unige.ch>
21#
22# Copyright: MAGIC Software Development, 2000-2009
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
31if [ "$rootsys" = "" ]
32then
33 rootsys=/opt/root5.20.x86_64
34fi
35if ! export | grep ROOTSYS | grep $rootsys >|/dev/null
36then
37 export ROOTSYS=$rootsys
38 export PATH=$PATH:$ROOTSYS/bin
39 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib/root
40fi
41
42# queuing system
43queuesys=sge #isdc
44
45# logging and setup
46logpath=/home/dorner/automation/autologs
47lockpath=/home/dorner/automation/locks
48setuppath=/home/dorner/automation/setup
49
50## paths of data
51#datapath=/magic/data
52#subsystempath=/magic/subsystemdata
53#sequpath=/magic/sequences
54#datasetpath=/magic/datasets
55
56# paths and setup for mc
57mcpath=/state/cta
58#mcrawpath=$mcpath/rawfiles
59#mcsequpath=$mcpath/sequences
60#corsikapath=/home/operator/Corsika/Mmcs6500/
61#detectordir=/home/msmeyer/MC/MagicSoft/Simulation/Detector
62#reflectorversion="reflector 0.7"
63#cameraversion="camera 0.8"
64#export FLUPRO=$corsikapath'/fluka2008_3'
65
66
67#webpath=/www/htdocs/datacenter
68
69
70# get paths for mars, macros and scripts
71mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
72macrospath=$mars/datacenter/macros
73scriptspath=$mars/datacenter/scripts
74# rcfiles
75# dependencies of steps
76steps=$mars/resources/steps_cta_new.rc
77# file with db information
78sqlrc=$mars/sql.rc
79
80
81#addresses to which the errors are sent
82erradrs="daniela.dorner@unige.ch"
83#addresses to which the changes are sent
84adrs="daniela.dorner@unige.ch"
85
86
87#setup for jobmanager
88sleeptime=30 #30
89sleeptimelimit=360 #360
90errorsleeptimedefault=60 #60
91max=500 #maximum number of processes
92max=25 #maximum number of processes for one script in case there are more than one and the others do not have anything to do
93totalmax=1600 #maximum number of processes (total) overwrites pnototal(we) in case it is smaller
94
95
96#
97# FIXME:
98# max anz an prozessen setzen
99# besser Verhaeltnis zwischen den Prozessen und das am besten noch
100# automatisch anpassen
101# evtl noch maximale anz an callistos setzen
102#
103
104#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
105pnototal=( 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 )
106pnototalwe=( 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 1500 )
107
108pnosimtel=( 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 )
109pnosimtelwe=( 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 65 )
110
111# set variables for jobmanager
112scripts=( "runsimtel" )
113scriptscolname=( "fCorsikaSimTelarray" )
114pnosweek=( ${pnosimtel[@]} )
115pnoswe=( ${pnosimtelwe[@]} )
116
Note: See TracBrowser for help on using the repository browser.