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

Last change on this file since 18878 was 18755, checked in by Daniela Dorner, 8 years ago
updated paths for new processing
  • Property svn:executable set to *
File size: 3.4 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.r18753
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.r18753
47datapath_for_sed=$(printf "%s\n" "$datapath" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
48drstimepath=/gpfs0/fact/processing/drs_time_calib
49#seqpath=/scratch/fact/sequences
50seqpath=/gpfs0/fact/processing/sequences
51auxdata=/fact/aux
52auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
53rawdata=/fact/raw
54rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
55# rawdata and ziprawdata are the same
56# variable $ziprawdata needed for FillAuxData.sh
57ziprawdata=/fact/raw
58ziprawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
59
60# get paths for mars, macros and scripts
61# in case the variable is not yet set
62if [ "$mars" == "" ]
63then
64 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
65fi
66macrospath=$mars/datacenter/macros
67scriptspath=`dirname $0`
68
69# rcfiles
70# dependencies of steps
71steps=$scriptspath/../Setup/steps_fact_isdc.rc
72# file with db information
73sqlrc=$mars/sql.rc
74
75
76#addresses to which information about full disks is sent
77deladrs="shift@fact-project.org"
78#addresses to which the errors are sent
79erradrs="dorner@astro.uni-wuerzburg.de"
80#addresses to which the changes are sent
81adrs="dorner@astro.uni-wuerzburg.de"
82
83
84#
85#setup for jobmanager
86#
87sleeptime=300 #600 #30
88sleeptimelimit=360 #360
89errorsleeptimedefault=60 #60
90
91algorithm=2
92
93#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
94pnototal=( 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 )
95pnototalwe=( 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 )
96
97# set variables for jobmanager
98scripts=( "RunCallisto.sh" "RunStar.sh" )
99queues=( "fact_medium" "fact_short" )
100scriptscolname=( "Callisto" "Star" )
101ratio=( 0.6 0.4 )
102maxjobs=( 25 50 )
103
104# fact_short 1h 192 slots
105# fact_medium 6h 128 slots
106# fact_long 168h 64 slots
107
108# further wishlist: adapt ratio automatically
109
110# setup for warning/errors
111# print warnings/errors (eg for missing files) only after a delay of few days to account for transfer
112transferdelay=3 #days
113checknight=`date +%Y%m%d --date="-${transferdelay}day"`
114
115# setup transfer
116numrsyncwuelimit=3
117
118# setup for qla
119anapath=$datapath
120qlasge="yes"
121resulttable1="AnalysisResultsRunISDC"
122resulttable2="AnalysisResultsNightISDC"
123firstnight=20111115
124
Note: See TracBrowser for help on using the repository browser.