summaryrefslogtreecommitdiff
path: root/bin/run-all.sh
blob: 1c353886c967affc84a05ce3dbd44065f11fbbd8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

s="$1"

echo '"file","s-total-time","sr-clause-out","s-solve-time","sr-total-time","s-satisfiable","sr-timeout","s-nodes","s-timeout","s-sols","s-setup","flags"'

for p in P1/*.param ; do
    for a in "" \
{," -Dup_down_bounds"}\
{," -Dopposite_move_check"}\
{," -Dfill_all"}\
{," -Dno_block_moves"}\
{," -Dno_repeat_moves"} ; do
        echo "$s" "$p" $a
    done
done | xargs -L 1 -P $(nproc) sh run.sh