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

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