#!/bin/bash # basic variables executable=tct-linux-x86_64 gtimeout=$(( $STAREXEC_WALLCLOCK_LIMIT - 2 )) # TcT timeout ptimeout=$(( $STAREXEC_WALLCLOCK_LIMIT - 3 )) # Processor timeout cores=4 # number of cpu cores memlimit=${STAREXEC_MAX_MEM}M # maximal memory in megabyte stacksize=32M # stacksize of program LD_LIBRARY_PATH=../lib # PATH FOR ADDITIONAL LIBRARIES PATH=$PWD:$PATH # binaries path # competition specific variables strategy=competition # tct strategy comptype=irc # competition type outputtype=p # type of output program="./$executable v $outputtype -a $comptype -s \"$strategy :timeout $ptimeout\" $1 +RTS -N$cores -M$memlimit -K$stacksize -RTS" #echo $program eval $program