Skip to content

Commit

Permalink
fix(v2): Ensure Parallel uses one list at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
T145 committed Jul 10, 2024
1 parent 7dd2ec0 commit ce4cfb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/v2/build_lists.bash
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ main() {

find -P -O3 "$cache" -maxdepth 1 -type f -print0 |
# https://www.gnu.org/software/parallel/parallel_tutorial.html#controlling-the-execution
parallel --use-cpus-instead-of-cores -0 --joblog "logs/${method}-${format}-jobs.log" --tmpdir "$results" --files -X ./scripts/v2/apply_filters.bash {} "$method" "$format"
parallel --use-cpus-instead-of-cores -0 -N1 --joblog "logs/${method}-${format}-jobs.log" --tmpdir "$results" --files -X ./scripts/v2/apply_filters.bash {} "$method" "$format"

list="${OUTDIR}/${method}_${format}.txt"

Expand Down

0 comments on commit ce4cfb8

Please sign in to comment.