Commits

Anonymous committed 52c42f0

remove multi_solve, replaced by multi

Comments (0)

Files changed (1)

stand_alone/multi_solve

-#!/bin/sh
-cores=${1:-$(grep -c processor /proc/cpuinfo)}
-
-for i in $(seq 1 $cores); do
-	mkfifo ._${i}
-	mkfifo .${i}_
-	./solve < ._${i} > .${i}_ &
-	in="$in ._${i}"
-	out="$out .${i}_"
-done
-
-./gather $out &
-./distribute $in
-
-wait
-
-rm $out $in