csci5451/assignments/03/bench.sh
2023-11-25 09:28:49 +00:00

8 lines
No EOL
363 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"
echo $processors $file;
mpirun -n $processors ./lpa $file graphout.txt >> stdout.txt
done
done