Admin/isatest/isatest-settings
author blanchet
Fri, 17 Dec 2010 15:30:43 +0100
changeset 41242 8edeb1dbbc76
parent 38250 b32a44361186
child 41663 4030fcc5c785
permissions -rw-r--r--
run the SMT relevance filter only once, then run the normalization/monomorphization code once _per class_ of SMT solvers

# -*- shell-script -*- :mode=shellscript:
#
# Author: Gerwin Klein, NICTA
#
# DESCRIPTION: common settings for the isatest-* scripts

# source bashrc, we're called by cron
. ~/.bashrc

# canoncical home for all platforms
HOME=/home/isatest

## send email on failure to
MAILTO="\
kleing@cse.unsw.edu.au \
nipkow@in.tum.de \
berghofe@in.tum.de \
schirmer@in.tum.de \
lp15@cam.ac.uk \
makarius@sketis.net \
blanchet@in.tum.de \
boehmes@in.tum.de \
bulwahn@in.tum.de \
haftmann@in.tum.de \
hoelzl@in.tum.de \
krauss@in.tum.de \
noschinl@in.tum.de"

LOGPREFIX=$HOME/log
MASTERLOG=$LOGPREFIX/isatest.log
LOGSERVER=macbroy28.informatik.tu-muenchen.de

ERRORDIR=$HOME/var
ERRORLOG=$ERRORDIR/error.log

RUNNING=$HOME/var/running

DISTPREFIX=$HOME/isadist

# this function avoids NFS inconsistencies with multiple writers by
# sshing to one central machine and writing locally. There is stil a
# race condition, but at least it should not corrupt a whole set of entries
# any more.
function log()
{
  MSG="$1"
  TIMESTAMP="$(date)"
  echo "[$TIMESTAMP $HOSTNAME $PRG]: $MSG" | ssh $LOGSERVER "cat >> $MASTERLOG"
}