Skip to content

Instantly share code, notes, and snippets.

@kevin47
Last active May 7, 2017 09:34
Show Gist options
  • Save kevin47/4beb51f1f5a320f7539b90e55ff0edf9 to your computer and use it in GitHub Desktop.
Save kevin47/4beb51f1f5a320f7539b90e55ff0edf9 to your computer and use it in GitHub Desktop.
#!/bin/bash
#if [[ $# != 2 ]]
if [[ $# != 1 ]]
then
echo "Usage: $0 [directory]"
#echo "Usage: $0 [directory] [solver]"
exit 0
fi
mkdir -p result
#cvc4 dies
solvers=(msat z3 yices btor cvc4)
#parallel "{ time ./solve.py {1} {2}; } &> result/{1}_{2}" ::: $1 ::: ${solvers[*]}
parallel "{ time ./solve.py {1} {2}; } 2> result/{1}_{2}" ::: `find $1 -name '*.smt2'` ::: ${solvers[*]}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment