2024-heraklion-parallel-python/exercises/exerciseC/run_with_all_configurations.sh

14 lines
269 B
Bash
Executable file

#!/bin/bash
set -ex
# This is a bash script.
# It runs the python program multiple times with different arguments.
for i in {1..5} # Number of processes
do
for j in {1..5} # Number of threads
do
python process_images.py $i $j images/*
done
done