Last active
May 7, 2017 09:34
-
-
Save kevin47/4beb51f1f5a320f7539b90e55ff0edf9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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