csci5451/assignments/03/bench.sh

8 lines
348 B
Bash
Raw Normal View History

2023-11-25 09:18:56 +00:00
for dataset in $(echo "1000.txt" "10000.txt" "1000000.txt" "1000000.txt"); do
for processors in $(echo 1 2 4 8 16 | tr ' ' '\n'); do
# file="dataset/both_$dataset"
file="/export/scratch/CSCI5451_F23/assignment-3/dataset/$dataset"
echo $processors $file;
mpirun -n $processors ./lpa $file >> out.txt
done
done