Skip to content

Commit

Permalink
Parallel run using make
Browse files Browse the repository at this point in the history
  • Loading branch information
Unmyth committed Aug 9, 2015
1 parent fe6f171 commit a8bb60c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ test: all
tests: all
time ./play_icfp2015 -f problems/problem_0.json -f problems/problem_1.json -f problems/problem_2.json -f problems/problem_3.json -f problems/problem_4.json -f problems/problem_5.json -f problems/problem_6.json -f problems/problem_7.json -f problems/problem_8.json -f problems/problem_9.json -f problems/problem_10.json -f problems/problem_11.json -f problems/problem_12.json -f problems/problem_13.json -f problems/problem_14.json -f problems/problem_15.json -f problems/problem_16.json -f problems/problem_17.json -f problems/problem_18.json -f problems/problem_19.json -f problems/problem_20.json -f problems/problem_21.json -f problems/problem_22.json -f problems/problem_23.json -p "ei!" -p "yuggoth" > result.txt

all-solutions: $(patsubst %,%.solution,$(basename $(wildcard problems/*.json)))

problems/%.solution : problems/%.json
time ./play_icfp2015 -f $< -p "ei!" -p "yuggoth" -p "ia! ia!" -p "r'lyeh" > $@
2 changes: 1 addition & 1 deletion src/other-searches.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@
do (let ((new-states nil)
(*current-solutions* (make-solutions-box))
(*solutions-limit* 3))
(format *error-output* "Processing unit #~A~%" unit-num)
;; (format *error-output* "Processing unit #~A~%" unit-num)
(loop for (est state path) in states-to-try
do
;; (format t "Est = ~A, Path = ~A~%" est path)
Expand Down

0 comments on commit a8bb60c

Please sign in to comment.