2025-plovdiv-comp-arch/parallel/submit.sh
2025-08-13 13:57:19 +02:00

8 lines
250 B
Bash
Executable file

# the number of python processes to start, P=3 if not set
P=${1:-3}
# the size of the matrix, use the default in overcommit.py if not set
N=$2
for i in $(seq $P); do
echo -n "Starting process ${i}"
python overcommit.py $N & echo $!
done