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

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