-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
edit bash scripts to receive env vars
- Loading branch information
1 parent
8b93998
commit d74e35b
Showing
2 changed files
with
7 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
#!/usr/bin/env sh | ||
#!/bin/sh | ||
# Receives the desired cube number as $1 | ||
|
||
gcc 6hole-cube.c -o cube_gen | ||
./cube_gen $1 vars.out > .tmp_cube_$1 | ||
python3 cube_join.py -f 6-30.cnf -c .tmp_cube_$1 -o with_cube_$1.cnf | ||
cadical with_cube_$1.cnf proof_cube_$1.lrat --lrat | ||
cake_lpr with_cube_$1.cnf proof_cube_$1.lrat | ||
${CADICAL:-cadical} with_cube_$1.cnf proof_cube_$1.lrat --lrat | ||
${CAKELPR:-cake_lpr} with_cube_$1.cnf proof_cube_$1.lrat | ||
|
||
rm with_cube_$1.cnf proof_cube_$1.lrat .tmp_cube_$1 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/sh | ||
|
||
gcc 6hole-cube.c -o cube_gen | ||
./cube_gen 0 vars.out > cubes.icnf | ||
python3 cube_join.py -f 6-30.cnf -c cubes.icnf --tautcheck -o taut_if_unsat.cnf | ||
cadical taut_if_unsat.cnf tautology_proof.lrat --lrat | ||
cake_lpr taut_if_unsat.cnf tautology_proof.lrat | ||
${CADICAL:-cadical} taut_if_unsat.cnf tautology_proof.lrat --lrat | ||
${CAKELPR:-cake_lpr} taut_if_unsat.cnf tautology_proof.lrat |