Commit d43e3691 by Riccardo Vicedomini

use of --line-buffer for parallel should speed up parallel processes

parent df097cce
......@@ -176,7 +176,7 @@ done
# Input parameters validation
PEXEC_CMD="parallel --halt now,fail=1 -j ${NTHREADS} ::::"
PEXEC_CMD="parallel --line-buffer --halt now,fail=1 -j ${NTHREADS} ::::"
if ! command -v parallel >/dev/null 2>&1; then
print_warning "cannot find GNU parallel, all jobs will be run sequentially"
NTHREADS=1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment