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

Last change on this file since 14252 was 13399, checked in by Daniela Dorner, 13 years ago
added (scripts and setup for MC processing)
  • Property svn:executable set to *
File size: 2.3 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 on the FACT cluster at ISDC
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
14rootsys=/opt/root_v5.32.02
15if ! export | grep ROOTSYS | 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=/opt/FACT++
24export mars=~/FACT.processing/Mars.von.Thomas.2012.03.07
25
26# site
27processingsite=isdc
28sitekey=4
29storagesite=isdc
30
31# queuing system
32queuesys=sge
33sgepath=/usr/bin
34
35# logging and setup
36logpath=/fact_tmp/datacenter/autologs
37lockpath=fact_tmp/datacenter/locks
38
39# data paths
40datapath=/fact_tmp/data
41seqpath=/fact_tmp/sequences
42auxdata=/fact_tmp/aux
43rawdata=/fact_tmp/raw
44rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
45
46## paths and setup for mc
47mcpath=/magic/simulated
48mcsequpath=$mcpath/sequences
49corsikapath=/opt/MagicSoft/Simulation/Corsika/Mmcs6500
50export FLUPRO=$corsikapath'/fluka2011_2'
51
52# get paths for mars, macros and scripts
53# in case the variable is not yet set
54if [ "$mars" == "" ]
55then
56 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
57fi
58macrospath=$mars/datacenter/macros
59scriptspath=`dirname $0`
60
61# rcfiles
62# dependencies of steps
63steps=$scriptspath/../Setup/steps_fact_isdc.rc
64# file with db information
65sqlrc=$mars/sqlmc.rc
66
67
68#addresses to which the errors are sent
69erradrs="daniela.dorner@unige.ch"
70#addresses to which the changes are sent
71adrs="daniela.dorner@unige.ch"
72
73
74#
75#setup for jobmanager
76#
77sleeptime=150 #600 #30
78sleeptimelimit=360 #360
79errorsleeptimedefault=60 #60
80
81algorithm=2
82
83#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
84pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
85pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
86
87# set variables for jobmanager
88scripts=( "RunCeres.sh" "RunMCCallisto.sh" "RunMCStar.sh" )
89scriptscolname=( "Ceres" "Callisto" "Star" )
90ratio=( 0.6 0.2 0.2 )
91maxjobs=( 10 10 10 )
92
93
94# further wishlist: adapt ratio automatically
95
Note: See TracBrowser for help on using the repository browser.