#!/bin/bash # # This a resource file for the scripts, in which paths, variables # and setups are defined # # This setup file is for the machine data in La Palma # it is also used for the other machines which share the home of data # # setup to use ftools export HEADAS=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/ export HEADASPROMPT=/dev/null # setup to use ROOT root=/opt/root_svn/bin/thisroot.sh source $root # software versions export factpath=/home/fact/FACT++ export mars=/home/fact/SW.automatic.processing/Mars.svn.2013.09.06 # site processingsite=lp sitekey=3 storagesite=wue # logging and setup logpath=/home/fact/logs.automatic.processing/autologs lockpath=/home/fact/logs.automatic.processing/locks #setuppath=/magic/simulated/setup rsynctempdir=/loc_data/rsync_tmp if ! [ -d $rsynctempdir ] then mkdir $rsynctempdir fi # data paths anapath=/loc_data/analysis # on daq auxdata=/loc_data/aux auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g') rawdata=/loc_data/raw rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g') ziprawdata=/loc_data/zipraw ziprawdata_for_sed=$(printf "%s\n" "$ziprawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g') # get paths for mars, macros and scripts # in case the variable is not yet set macrospath=$mars/datacenter/macros scriptspath=$mars/datacenter/scripts # rcfiles # dependencies of steps steps=$mars/resources/steps_fact.rc # file with db information sqlrc=$mars/sql.rc #addresses to which the errors are sent erradrs="dorner@astro.uni-wuerzburg.de" #addresses to which the changes are sent adrs="dorner@astro.uni-wuerzburg.de" # # setup QLA # # setup for Step1.sh disklimitdaq=800000000 # transfer and qla don't start when less than this is available on /daq bwlimit=90000 # transfer from newdaq to daq numruncallistos=10 # number of RunCallisto.sh started # setup RunCallisto.sh numcallistos=3 # number of callisto.C (else RunCallisto.sh is doing sleep) callistowait=60 # seconds waiting before checking again number of callistos # setup for ZipRawData.sh numprocpigz=2 # number of processes used for pigz limitpigz="90M" # transfer from daq to data # setup for FillNumEvts.sh and Step3.sh resulttable1="AnalysisResultsRunLP" resulttable2="AnalysisResultsNightLP" firstnight=20121213