source: trunk/DataCheck/Setup/setup.fact.wue@ 17416

Last change on this file since 17416 was 15562, checked in by Daniela Dorner, 12 years ago
updated setup (as far as possible) to new machines in Wue
  • Property svn:executable set to *
File size: 2.1 KB
Line 
1#!/bin/bash
2#
3# This a resource file for the scripts, in which paths, variables
4# and setups are defined
5#
6# This setup file is for the machines in Wuerzburg
7#
8
9# setup to use ftools
10export HEADAS=/opt/heasoft-6.12/x86_64-unknown-linux-gnu
11export HEADASPROMPT=/dev/null
12
13# setup to use ROOT
14root=/opt/root_v5.34.06/bin/thisroot.sh
15source $root
16
17# software versions
18export factpath=/opt/FACT++
19export mars=~/opt/Mars
20
21# site
22processingsite=wue
23sitekey=1
24storagesite=wue
25
26# queuing system
27queuesys=sge
28sgepath=/opt/sge/bin/lx-amd64/
29
30# logging and setup
31logpath=/home/fact/logs.automatic.processing/autologs
32lockpath=/home/fact/logs.automatic.processing/locks
33
34# data paths
35datapath=/fact/data
36seqpath=/fact/sequences
37auxdata=/fact/aux
38rawdata=/fact/raw
39rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
40
41## paths and setup for mc
42mcpath=/magic/simulated
43mcsequpath=$mcpath/sequences
44corsikapath=/opt/MagicSoft/Simulation/Corsika/Mmcs6500
45export FLUPRO=$corsikapath'/fluka2011_2'
46
47# get paths for mars, macros and scripts
48# in case the variable is not yet set
49if [ "$mars" == "" ]
50then
51 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
52fi
53macrospath=$mars/datacenter/macros
54scriptspath=`dirname $0`
55
56# rcfiles
57# dependencies of steps
58steps=$scriptspath/../Setup/steps_fact_isdc.rc
59# file with db information
60sqlrc=$mars/sqlmc.rc
61
62
63#addresses to which the errors are sent
64erradrs="dorner@astro.uni-wuerzburg.de"
65#addresses to which the changes are sent
66adrs="dorner@astro.uni-wuerzburg.de"
67
68
69#
70#setup for jobmanager
71#
72sleeptime=150 #600 #30
73sleeptimelimit=360 #360
74errorsleeptimedefault=60 #60
75
76algorithm=2
77
78#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
79pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
80pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
81
82# set variables for jobmanager
83scripts=( "RunCeres.sh" "RunMCCallisto.sh" "RunMCStar.sh" )
84scriptscolname=( "Ceres" "Callisto" "Star" )
85ratio=( 0.6 0.2 0.2 )
86maxjobs=( 10 10 10 )
87
88
89# further wishlist: adapt ratio automatically
90
Note: See TracBrowser for help on using the repository browser.