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

Last change on this file since 13053 was 13051, checked in by Daniela Dorner, 13 years ago
added (setup files for processing at ISDC)
  • Property svn:executable set to *
File size: 3.3 KB
Line 
1#!/bin/bash
2#
3# ========================================================================
4#
5# *
6# * This file is part of MARS, the MAGIC Analysis and Reconstruction
7# * Software. It is distributed to you in the hope that it can be a useful
8# * and timesaving tool in analysing Data of imaging Cerenkov telescopes.
9# * It is distributed WITHOUT ANY WARRANTY.
10# *
11# * Permission to use, copy, modify and distribute this software and its
12# * documentation for any purpose is hereby granted without fee,
13# * provided that the above copyright notice appear in all copies and
14# * that both that copyright notice and this permission notice appear
15# * in supporting documentation. It is provided "as is" without express
16# * or implied warranty.
17# *
18#
19#
20# Author(s): Daniela Dorner 06/2010 <mailto:daniela.dorner@unige.ch>
21#
22# Copyright: MAGIC Software Development, 2000-2010
23#
24#
25# ========================================================================
26#
27# This a resource file for the scripts, in which the standard paths and
28# functions, which are needed more often are stored.
29#
30
31rootsys=/swdev_nfs/root_v5.32.00
32if ! export | grep ROOTSYS | grep $rootsys >|/dev/null
33then
34 export ROOTSYS=$rootsys
35 export PATH=$PATH:$ROOTSYS/bin
36 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$ROOTSYS/lib
37fi
38
39# site
40processingsite=isdc
41sitekey=4 # isdc
42storagesite=isdc
43
44# for db backup
45dbnames=( "mysql" "programoptions" "scheduling" "systemstatus" "postfix" "horde" "logbook" "factdata" )
46
47# queuing system
48# queuesys=condor # wuerzburg data center
49# condorpath=/usr/local/bin
50queuesys=sge
51sgepath=/usr/bin
52
53# logging and setup
54logpath=~/datacenter/autologs
55lockpath=~/datacenter/locks
56#setuppath=/magic/simulated/setup
57
58## paths of data
59datapath=/scratch_nfs/data
60#subsystempath=/magic/subsystemdata
61seqpath=/scratch_nfs/sequences
62#datasetpath=/magic/datasets
63
64## paths and setup for mc
65#mcpath=/magic/simulated
66#mcrawpath=$mcpath/rawfiles
67#mcsequpath=$mcpath/sequences
68#corsikapath=/home/montecarlo/MagicSoft/Simulation/Corsika/Mmcs6500
69#export FLUPRO=$corsikapath'/fluka2008_3'
70
71
72#webpath=/www/htdocs/datacenter
73
74# get paths for mars, macros and scripts
75# in case the variable is not yet set
76if [ "$mars" == "" ]
77then
78 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
79fi
80macrospath=$mars/datacenter/macros
81scriptspath=$mars/datacenter/scripts
82scriptspath=`dirname $0`
83
84# rcfiles
85# dependencies of steps
86steps=$scriptspath/../Setup/steps_fact_isdc.rc
87# file with db information
88sqlrc=$mars/sql.rc
89
90
91#addresses to which the errors are sent
92erradrs="daniela.dorner@unige.ch"
93#addresses to which the changes are sent
94adrs="daniela.dorner@unige.ch"
95
96
97#
98#setup for jobmanager
99#
100sleeptime=150 #600 #30
101sleeptimelimit=360 #360
102errorsleeptimedefault=60 #60
103
104algorithm=2
105
106#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
107pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
108pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
109
110
111# set variables for jobmanager
112#scripts=( "RunCallisto.sh" "RunStar.sh" "RunMerpp.sh" )
113scripts=( "RunCallisto.sh" "RunStar.sh" )
114#scriptscolname=( "Callisto" "Star" "Merpp" )
115scriptscolname=( "Callisto" "Star" )
116#ratio=( 0.6 0.2 0.2 )
117ratio=( 0.6 0.4 )
118#maxjobs=( 20 10 20 )
119maxjobs=( 24 10 )
120
121
122# further wishlist: adapt ratio automatically
123
Note: See TracBrowser for help on using the repository browser.