Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
# usage: li-results-parallel.sh instances_path > out.txt
# Number of threads to use
N_THREADS=8
INSTANCES_PATH=$1
ls $INSTANCES_PATH/*.cnf | xargs -n 1 -P $N_THREADS sh li-results-single.sh