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

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