source: trunk/DataCheck/Setup/setup.fact.isdc@ 18686

Last change on this file since 18686 was 18683, checked in by Daniela Dorner, 8 years ago
updated paths for libraries and added MC paths
  • Property svn:executable set to *
File size: 3.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 on the FACT cluster at ISDC
7#
8
9# setup to use ftools
10export HEADAS=/swdev_nfs/heasoft-6.11.1/x86_64-unknown-linux-gnu-libc2.12
11export HEADASPROMPT=/dev/null
12
13# setup to use fitsdump
14export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/swdev_nfs/FACT++/.libs
15export LC_ALL="en_US.UTF-8"
16
17
18# setup to use ROOT
19root=/swdev_nfs/root_v5.32.00/bin/thisroot.sh
20source $root
21
22# software versions
23export factpath=/swdev_nfs/FACT++
24export mars=~/Mars.svn.r18330
25
26corsikapath=/home/projects/fact_opr/corsika-75000/run
27corsika=corsika75000Linux_QGSJET_fluka
28flukapath=/home/projects/fact_opr/fluka
29
30# site
31processingsite=isdc
32sitekey=4
33storagesite=isdc
34
35# queuing system
36queuesys=sge
37sgepath=/usr/bin
38
39# logging and setup
40logpath=~/logs.automatic.processing/autologs
41lockpath=~/logs.automatic.processing/locks
42rsynctempdir=/scratch/rsync_tmp
43
44# data paths
45#datapath=/scratch/fact/data.2013.05.11
46datapath=/gpfs0/fact/processing/data.r18330
47datapath_for_sed=$(printf "%s\n" "$datapath" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
48drstimepath=/gpfs0/fact/processing/drs_time_calib
49seqpath=/scratch/fact/sequences
50auxdata=/fact/aux
51auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
52rawdata=/fact/raw
53rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
54# rawdata and ziprawdata are the same
55# variable $ziprawdata needed for FillAuxData.sh
56ziprawdata=/fact/raw
57ziprawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
58
59# get paths for mars, macros and scripts
60# in case the variable is not yet set
61if [ "$mars" == "" ]
62then
63 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
64fi
65macrospath=$mars/datacenter/macros
66scriptspath=`dirname $0`
67
68# rcfiles
69# dependencies of steps
70steps=$scriptspath/../Setup/steps_fact_isdc.rc
71# file with db information
72sqlrc=$mars/sql.rc
73
74
75#addresses to which information about full disks is sent
76deladrs="shift@fact-project.org"
77#addresses to which the errors are sent
78erradrs="dorner@astro.uni-wuerzburg.de"
79#addresses to which the changes are sent
80adrs="dorner@astro.uni-wuerzburg.de"
81
82
83#
84#setup for jobmanager
85#
86sleeptime=300 #600 #30
87sleeptimelimit=360 #360
88errorsleeptimedefault=60 #60
89
90algorithm=2
91
92#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
93pnototal=( 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 )
94pnototalwe=( 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 )
95
96# set variables for jobmanager
97scripts=( "RunCallisto.sh" "RunStar.sh" )
98queues=( "fact_medium" "fact_short" )
99scriptscolname=( "Callisto" "Star" )
100ratio=( 0.6 0.4 )
101maxjobs=( 25 50 )
102
103# fact_short 1h 192 slots
104# fact_medium 6h 128 slots
105# fact_long 168h 64 slots
106
107# further wishlist: adapt ratio automatically
108
109# setup transfer
110numrsyncwuelimit=3
111
112# setup for qla
113anapath=$datapath
114qlasge="yes"
115resulttable1="AnalysisResultsRunISDC"
116resulttable2="AnalysisResultsNightISDC"
117firstnight=20111115
118
Note: See TracBrowser for help on using the repository browser.