export LANG=C
fr=/net/user/dima/X/$2

export PATH=.:/usr/bin:$PATH
if test "$_CONDOR_SCRATCH_DIR" != ""; then TMPDIR=$_CONDOR_SCRATCH_DIR; fi
if test "$TMPDIR" = ""; then TMPDIR=/mnt/`hostname -s`/scratch; fi
if ! test -d "$TMPDIR"; then TMPDIR=/tmp; fi
echo TMPDIR=$TMPDIR

opts="--xnum=50000 --itop=10000 --hvsl=0 --dsat=0 --sumw=7 --thrs=1 --rnum=6 --rwin=50000 --intr=0"
topo="--topo=1:500.:30:1000.:4:40000:-10000:2"
inix="--text=-1 --inic=10000 --mmin=3 --rmsk=$[1+2+32] $topo -f --denc=1"
finx="--text=4 --inic=6"
rmsk=$[1+8+16+32+128+256]
