source: trunk/DataCheck/Setup/setup.fact.lp.data@ 14843

Last change on this file since 14843 was 14839, checked in by Daniela Dorner, 13 years ago
adapted path to Mars version, added rsync temp dir
  • Property svn:executable set to *
File size: 3.0 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 machine data in La Palma
7#
8
9# setup to use ftools
10export HEADAS=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/
11export HEADASPROMPT=/dev/null
12
13# setup to use ROOT
14rootsys=/opt/root_v5.12.00f
15if ! export | grep $rootsys >|/dev/null
16then
17 export ROOTSYS=$rootsys
18 export PATH=$PATH:$ROOTSYS/bin
19 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
20fi
21
22# software versions
23export factpath=/home/fact/SW.automatic.processing/FACT++.2012.01.25
24#export mars=/home/fact/SW.automatic.processing/Mars.CheObs.svn.2012.01.25
25export mars=/home/fact/fast_setup_for_automatic_analysis/Mars.von.Thomas.2012.06.22
26
27# site
28processingsite=lp
29sitekey=3
30storagesite=wue
31
32# logging and setup
33logpath=/home/fact/logs.automatic.processing/autologs
34lockpath=/home/fact/logs.automatic.processing/locks
35#setuppath=/magic/simulated/setup
36rsynctempdir=/loc_data/rsync_tmp
37if ! [ -d $rsynctempdir ]
38then
39 mkdir $rsynctempdir
40fi
41
42# data paths
43auxdata=/loc_data/aux
44auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
45rawdata=/data00/fact-construction/raw
46rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
47ziprawdata=/loc_data/zipraw
48ziprawdata_for_sed=$(printf "%s\n" "$ziprawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
49
50# get paths for mars, macros and scripts
51# in case the variable is not yet set
52macrospath=$mars/datacenter/macros
53scriptspath=$mars/datacenter/scripts
54# rcfiles
55# dependencies of steps
56steps=$mars/resources/steps_fact.rc
57# file with db information
58sqlrc=$mars/sql.rc
59
60
61#addresses to which the errors are sent
62erradrs="daniela.dorner@unige.ch"
63#addresses to which the changes are sent
64adrs="daniela.dorner@unige.ch"
65
66
67#
68#setup for jobmanager
69#
70sleeptime=600 #30
71sleeptimelimit=360 #360
72errorsleeptimedefault=60 #60
73
74algorithm=2
75#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
76pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
77pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
78
79
80# set variables for jobmanager
81#scripts=( "runcorsika" "runceres" "runcallisto_mc" "runstar_mc" )
82#scriptscolname=( "Corsika" "Ceres" "Callisto" "Star" )
83#ratio=( 0.2 0.6 0.1 0.1 )
84#maxjobs=( 20 20 25 25 )
85
86
87# further wishlist: adapt ratio automatically
88
89
90#export AUTOMATIONSETUP="lp.fact"
91#export SOURCEFILEPATH=$mars/datacenter/scripts
92
93
94#source $SOURCEFILEPATH/sourcefile
95
96# Author(s): Daniela Dorner 05/2005 <mailto:dorner@astro.uni-wuerzburg.de>
97#
98# Copyright: MAGIC Software Development, 2000-2010
99#
100#
101# ========================================================================
102#
103# This a resource file for the scripts, in which the standard paths and
104# functions, which are needed more often are stored.
105# Only constant variables are stored here, changing variables are stored
106# in datacenter/scripts/setup
107#
108
Note: See TracBrowser for help on using the repository browser.