csci5451/assignments/03/bench.sh
2023-12-10 17:38:53 -06:00

7 lines
No EOL
382 B
Bash
Executable file

for dataset in $(echo "1000.txt" "10000.txt" "100000.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"
mpirun -n $processors ./lpa $file "graph_out/$dataset-$processors.txt" >> "stdout_out/$dataset-$processors.txt"
done
done