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

Last change on this file since 18741 was 18251, checked in by Daniela Dorner, 9 years ago
added path for drstime fitsfile
  • 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
36drstimepath=$datapath
37seqpath=/fact/sequences
38auxdata=/fact/aux
39rawdata=/fact/raw
40rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
41
42## paths and setup for mc
43mcpath=/magic/simulated
44mcsequpath=$mcpath/sequences
45corsikapath=/opt/MagicSoft/Simulation/Corsika/Mmcs6500
46export FLUPRO=$corsikapath'/fluka2011_2'
47
48# get paths for mars, macros and scripts
49# in case the variable is not yet set
50if [ "$mars" == "" ]
51then
52 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
53fi
54macrospath=$mars/datacenter/macros
55scriptspath=`dirname $0`
56
57# rcfiles
58# dependencies of steps
59steps=$scriptspath/../Setup/steps_fact_isdc.rc
60# file with db information
61sqlrc=$mars/sqlmc.rc
62
63
64#addresses to which the errors are sent
65erradrs="dorner@astro.uni-wuerzburg.de"
66#addresses to which the changes are sent
67adrs="dorner@astro.uni-wuerzburg.de"
68
69
70#
71#setup for jobmanager
72#
73sleeptime=150 #600 #30
74sleeptimelimit=360 #360
75errorsleeptimedefault=60 #60
76
77algorithm=2
78
79#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
80pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
81pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
82
83# set variables for jobmanager
84scripts=( "RunCeres.sh" "RunMCCallisto.sh" "RunMCStar.sh" )
85scriptscolname=( "Ceres" "Callisto" "Star" )
86ratio=( 0.6 0.2 0.2 )
87maxjobs=( 10 10 10 )
88
89
90# further wishlist: adapt ratio automatically
91
Note: See TracBrowser for help on using the repository browser.