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

Last change on this file since 20112 was 20112, checked in by Daniela Dorner, 4 years ago
updated setup
  • Property svn:executable set to *
File size: 3.9 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# use new mysql version
17#export PATH=/swdev_nfs/mysql-8.0.12-linux-glibc2.12-x86_64/bin/:$PATH
18#export PATH=/swdev_nfs/mysql-5.7.23-linux-glibc2.12-x86_64/bin/:$PATH
19
20# setup to use ROOT
21root=/swdev_nfs/root_v5.34.38/bin/thisroot.sh
22source $root
23
24# software versions
25export factpath=/projects/verso/fact/software/FACT++/
26export mars=/projects/verso/fact/software/Mars.svn.2021.11.15/build/
27
28#corsikapath=/home/projects/fact_opr/corsika-75000/run
29#corsika=corsika75000Linux_QGSJET_fluka
30#flukapath=/home/projects/fact_opr/fluka
31
32# site
33processingsite=isdc
34sitekey=4
35storagesite=isdc
36
37# queuing system
38#queuesys=sge
39#sgepath=/usr/bin
40
41# logging and setup
42logpath=~/logs.automatic.processing/autologs
43lockpath=~/logs.automatic.processing/locks
44rsynctempdir=/d01/rsync_tmp
45
46# data paths
47#datapath=/scratch/fact/data.2013.05.11
48#datapath=/gpfs0/fact/processing/data.r19203
49datapath=/projects/verso/fact/processing/data.r19203
50datapath_for_sed=$(printf "%s\n" "$datapath" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
51#drstimepath=/gpfs0/fact/processing/drs_time_calib
52drstimepath=/projects/verso/fact/processing/drs_time_calib
53#seqpath=/gpfs0/fact/processing/sequences
54seqpath=/projects/verso/fact/processing/sequences
55#auxdata=/fact/aux
56auxdata=/projects/verso/fact/archive/rev_1/aux
57auxdata_for_sed=$(printf "%s\n" "$auxdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
58#rawdata=/fact/raw
59rawdata=/projects/verso/fact/archive/rev_1/raw
60rawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
61# rawdata and ziprawdata are the same
62# variable $ziprawdata needed for FillAuxData.sh
63#ziprawdata=/fact/raw
64ziprawdata=/projects/verso/fact/archive/rev_1/raw
65ziprawdata_for_sed=$(printf "%s\n" "$rawdata" | sed 's/[][\.*^$(){}?+|/]/\\&/g')
66
67# get paths for mars, macros and scripts
68# in case the variable is not yet set
69if [ "$mars" == "" ]
70then
71 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
72fi
73macrospath=$mars/datacenter/macros
74scriptspath=`dirname $0`
75
76# rcfiles
77# dependencies of steps
78steps=$scriptspath/../Setup/steps_fact_isdc.rc
79# file with db information
80sqlrc=/home/projects/fact_opr/.mysql.pw.lp-fact.operator.factdata
81sqlrc=/home/verso/usr_astro_fa-o1/.mysql.pw.lp.op
82
83#addresses to which information about full disks is sent
84deladrs="shift@fact-project.org"
85#addresses to which the errors are sent
86erradrs="dorner@astro.uni-wuerzburg.de"
87#addresses to which the changes are sent
88adrs="dorner@astro.uni-wuerzburg.de"
89
90
91#
92#setup for jobmanager
93#
94sleeptime=300 #600 #30
95sleeptimelimit=360 #360
96errorsleeptimedefault=60 #60
97
98algorithm=2
99
100#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
101pnototal=( 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 )
102pnototalwe=( 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 180 )
103
104# set variables for jobmanager
105scripts=( "RunCallisto.sh" "RunStar.sh" )
106queues=( "fact_medium" "fact_short" )
107scriptscolname=( "Callisto" "Star" )
108ratio=( 0.6 0.4 )
109maxjobs=( 25 400 )
110
111# fact_short 1h 192 slots
112# fact_medium 6h 128 slots
113# fact_long 168h 64 slots
114
115# further wishlist: adapt ratio automatically
116
117# setup for warning/errors
118# print warnings/errors (eg for missing files) only after a delay of few days to account for transfer
119transferdelay=3 #days
120checknight=`date +%Y%m%d --date="-${transferdelay}day"`
121
122# setup transfer
123numrsyncwuelimit=4
124
125# setup for qla
126anapath=$datapath
127qlasge="yes"
128resulttable1="AnalysisResultsRunISDC"
129resulttable2="AnalysisResultsNightISDC"
130firstnight=20111115
131
Note: See TracBrowser for help on using the repository browser.