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

Last change on this file since 13228 was 13065, checked in by Daniela Dorner, 13 years ago
added temp directory for rsync
  • 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
57rsynctempdir=/scratch/rsync_tmp
58
59## paths of data
60datapath=/scratch_nfs/data
61#subsystempath=/magic/subsystemdata
62seqpath=/scratch_nfs/sequences
63#datasetpath=/magic/datasets
64
65## paths and setup for mc
66#mcpath=/magic/simulated
67#mcrawpath=$mcpath/rawfiles
68#mcsequpath=$mcpath/sequences
69#corsikapath=/home/montecarlo/MagicSoft/Simulation/Corsika/Mmcs6500
70#export FLUPRO=$corsikapath'/fluka2008_3'
71
72
73#webpath=/www/htdocs/datacenter
74
75# get paths for mars, macros and scripts
76# in case the variable is not yet set
77if [ "$mars" == "" ]
78then
79 mars=`dirname $0 | sed -e 's/\/datacenter\/scripts//'`
80fi
81macrospath=$mars/datacenter/macros
82scriptspath=$mars/datacenter/scripts
83scriptspath=`dirname $0`
84
85# rcfiles
86# dependencies of steps
87steps=$scriptspath/../Setup/steps_fact_isdc.rc
88# file with db information
89sqlrc=$mars/sql.rc
90
91
92#addresses to which the errors are sent
93erradrs="daniela.dorner@unige.ch"
94#addresses to which the changes are sent
95adrs="daniela.dorner@unige.ch"
96
97
98#
99#setup for jobmanager
100#
101sleeptime=150 #600 #30
102sleeptimelimit=360 #360
103errorsleeptimedefault=60 #60
104
105algorithm=2
106
107#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
108pnototal=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
109pnototalwe=( 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 )
110
111
112# set variables for jobmanager
113#scripts=( "RunCallisto.sh" "RunStar.sh" "RunMerpp.sh" )
114scripts=( "RunCallisto.sh" "RunStar.sh" )
115#scriptscolname=( "Callisto" "Star" "Merpp" )
116scriptscolname=( "Callisto" "Star" )
117#ratio=( 0.6 0.2 0.2 )
118ratio=( 0.6 0.4 )
119#maxjobs=( 20 10 20 )
120maxjobs=( 24 10 )
121
122
123# further wishlist: adapt ratio automatically
124
Note: See TracBrowser for help on using the repository browser.