source: trunk/Mars/datacenter/scripts/setup.wue.fact.mc@ 10013

Last change on this file since 10013 was 10007, checked in by Daniela Dorner, 14 years ago
implemented fAvailable and fProcessingSiteKEY to allow for processing in different sites
  • Property svn:executable set to *
File size: 4.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 06/2010 <mailto:daniela.dorner@unige.ch>
21#
22# Copyright: MAGIC Software Development, 2000-2010
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# site
40processingsite=wue
41sitekey=1
42storagesite=wue
43
44# queuing system
45queuesys=condor # wuerzburg data center
46condorpath=/usr/local/bin
47
48# logging and setup
49logpath=/magic/datacenter/fact/autologs
50lockpath=/magic/datacenter/fact/locks
51setuppath=/magic/simulated/setup
52
53## paths of data
54#datapath=/magic/data
55#subsystempath=/magic/subsystemdata
56#sequpath=/magic/sequences
57#datasetpath=/magic/datasets
58
59## paths and setup for mc
60mcpath=/magic/simulated
61#mcrawpath=$mcpath/rawfiles
62mcsequpath=$mcpath/sequences
63corsikapath=/home/montecarlo/MagicSoft/Simulation/Corsika/Mmcs6500
64export FLUPRO=$corsikapath'/fluka2008_3'
65
66
67#webpath=/www/htdocs/datacenter
68
69# get paths for mars, macros and scripts
70mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
71macrospath=$mars/datacenter/macros
72scriptspath=$mars/datacenter/scripts
73# rcfiles
74# dependencies of steps
75steps=$mars/resources/steps_fact.rc
76# file with db information
77sqlrc=$mars/sql.rc
78
79
80#addresses to which the errors are sent
81erradrs="dorner@astro.uni-wuerzburg.de"
82#addresses to which the changes are sent
83adrs="dorner@astro.uni-wuerzburg.de"
84
85
86#setup for jobmanager
87sleeptime=30 #30
88sleeptimelimit=360 #360
89errorsleeptimedefault=60 #60
90max=20 #maximum number of processes for one script in case there are more than one and the others do not have anything to do
91totalmax=32 #maximum number of processes (total) overwrites pnototal(we) in case it is smaller
92
93#
94# FIXME:
95# max anz an prozessen setzen
96# besser Verhaeltnis zwischen den Prozessen und das am besten noch
97# automatisch anpassen
98# evtl noch maximale anz an callistos setzen
99#
100
101#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
102pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
103pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
104
105pnocorsika=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
106pnoceres=( 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 )
107pnocallisto=( 32 32 32 32 32 30 30 18 18 20 20 20 20 20 20 20 20 20 20 18 18 30 30 32 )
108pnostar=( 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )
109
110pnocorsikawe=( 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 10 )
111pnocereswe=( 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 25 )
112pnocallistowe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
113pnostarwe=( 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 )
114
115# set variables for jobmanager
116#scripts=( "runcorsika" "runceres" "runcallisto_mc" "runstar_mc" )
117#scriptscolname=( "Corsika" "Ceres" "Callisto" "Star" )
118#pnosweek=( ${pnocorsika[@]} ${pnoceres[@]} ${pnocallisto[@]} ${pnostar[@]} )
119#pnoswe=( ${pnocorsikawe[@]} ${pnocereswe[@]} ${pnocallistowe[@]} ${pnostarwe[@]} )
120
121scripts=( "runceres" "runcallisto_mc" "runstar_mc" )
122scriptscolname=( "Ceres" "Callisto" "Star" )
123pnosweek=( ${pnoceres[@]} ${pnocallisto[@]} ${pnostar[@]} )
124pnoswe=( ${pnocereswe[@]} ${pnocallistowe[@]} ${pnostarwe[@]} )
125
Note: See TracBrowser for help on using the repository browser.