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

Last change on this file since 13306 was 13306, checked in by Daniela Dorner, 12 years ago
added (new versions of setup files to include all variables)
  • Property svn:executable set to *
File size: 2.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=/opt/heasoft-6.11/x86_64-unknown-linux-gnu-libc2.13-0/
11export HEADASPROMPT=/dev/null
12
13# setup to use ROOT
14rootsys=/swdev_nfs/root_v5.32.00
15if ! export | grep ROOTSYS | grep $rootsys >|/dev/null
16then
17 export ROOTSYS=$rootsys
18 export PATH=$PATH:$ROOTSYS/bin
19 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
20fi
21
22# software versions
23export factpath=/swdev_nfs/FACT++
24export mars=~/Mars.von.Thomas.2012.03.07
25
26# site
27processingsite=isdc
28sitekey=4
29storagesite=isdc
30
31# queuing system
32queuesys=sge
33sgepath=/usr/bin
34
35# logging and setup
36logpath=~/datacenter/autologs
37lockpath=~/datacenter/locks
38rsynctempdir=/scratch/rsync_tmp
39
40# data paths
41datapath=/scratch_nfs/data
42seqpath=/scratch_nfs/sequences
43auxdata=/fact/aux
44rawdata=/fact/raw
45rawdata_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="daniela.dorner@unige.ch"
65#addresses to which the changes are sent
66adrs="daniela.dorner@unige.ch"
67
68
69#
70#setup for jobmanager
71#
72sleeptime=150 #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=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
80pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
81
82# set variables for jobmanager
83scripts=( "RunCallisto.sh" "RunStar.sh" )
84scriptscolname=( "Callisto" "Star" )
85ratio=( 0.6 0.4 )
86maxjobs=( 20 30 )
87
88
89# further wishlist: adapt ratio automatically
90
Note: See TracBrowser for help on using the repository browser.