8 lines
348 B
Bash
8 lines
348 B
Bash
|
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
|