#!/bin/sh

input_language=`egrep -om1 "^(thf|tff|tcf|fof|cnf)" $1`
if test "$input_language" = "thf"
then
	exec ./vampire-hol --cores 7 --input_syntax tptp --proof tptp --output_axiom_names on --mode portfolio --schedule snake_tptp_hol $1 -m 16384 -t $STAREXEC_WALLCLOCK_LIMIT
else
	exec ./vampire --mode casc -m 16384 --cores 7 -t $STAREXEC_WALLCLOCK_LIMIT $1
fi
