csci5451/assignments/03/bench.sh

7 lines
382 B
Bash
Raw Normal View History

2023-11-25 09:28:49 +00:00
for dataset in $(echo "1000.txt" "10000.txt" "100000.txt" "1000000.txt"); do
2023-11-25 09:18:56 +00:00
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"
2023-12-10 22:58:28 +00:00
mpirun -n $processors ./lpa $file "graph_out/$dataset-$processors.txt" >> "stdout_out/$dataset-$processors.txt"
2023-11-25 09:18:56 +00:00
done
done