#!/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 # # 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 rootsys=/opt/root_v5.12.00f if ! export | grep $rootsys >|/dev/null then export ROOTSYS=$rootsys export PATH=$PATH:$ROOTSYS/bin export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib fi # software versions export factpath=/home/fact/SW.automatic.processing/FACT++.2012.01.25 export mars=/home/fact/SW.automatic.processing/Mars.CheObs.svn.2012.01.25 # 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 # data paths auxdata=/data00/fact-construction/aux auxdata=/loc_data/aux rawdata=/data00/fact-construction/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="daniela.dorner@unige.ch" #addresses to which the changes are sent adrs="daniela.dorner@unige.ch" # #setup for jobmanager # sleeptime=600 #30 sleeptimelimit=360 #360 errorsleeptimedefault=60 #60 algorithm=2 #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 pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ) pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 ) # set variables for jobmanager #scripts=( "runcorsika" "runceres" "runcallisto_mc" "runstar_mc" ) #scriptscolname=( "Corsika" "Ceres" "Callisto" "Star" ) #ratio=( 0.2 0.6 0.1 0.1 ) #maxjobs=( 20 20 25 25 ) # further wishlist: adapt ratio automatically export AUTOMATIONSETUP="lp.fact" #export SOURCEFILEPATH=$mars/datacenter/scripts #source $SOURCEFILEPATH/sourcefile # Author(s): Daniela Dorner 05/2005 # # Copyright: MAGIC Software Development, 2000-2010 # # # ======================================================================== # # This a resource file for the scripts, in which the standard paths and # functions, which are needed more often are stored. # Only constant variables are stored here, changing variables are stored # in datacenter/scripts/setup #