Skip to content

Commit

Permalink
fixes numbers.
Browse files Browse the repository at this point in the history
  • Loading branch information
youngdae committed Jun 4, 2021
1 parent 84c53cd commit fad55a1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion figure6.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export JULIA_MPI_BINARY="system"
DATA=("case2868rte" "case6515rte" "case9241pegase" "case13659pegase" "case19402_goc")
PQ=(10 20 50 50 500)
VA=(1000 2000 5000 5000 50000)
ITER=(6000 15000 35000 45000 30000)
ITER=(5648 13651 30927 41126 28358)
NGPU=(2 3 4 5 6)

for j in ${!NGPU[@]}; do
Expand Down
2 changes: 1 addition & 1 deletion figure8.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export JULIA_MPI_BINARY="system"
DATA=("case2868rte" "case6515rte" "case9241pegase" "case13659pegase" "case19402_goc")
PQ=(10 20 50 50 500)
VA=(1000 2000 5000 5000 50000)
ITER=(6000 15000 35000 45000 30000)
ITER=(5718 13640 30932 41140 28358)

for i in ${!DATA[@]}; do
mpirun -np 40 julia --project ./src/launch_mpi.jl "./data/${DATA[$i]}" ${PQ[$i]} ${VA[$i]} ${ITER[$i]} false > output_cpu40_${DATA[$i]}.txt 2>&1
Expand Down
15 changes: 11 additions & 4 deletions table5.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,14 @@
export JULIA_CUDA_VERBOSE=1
export JULIA_MPI_BINARY="system"

DATA=("2868rte" "6515rte" "9241pegase" "13659pegase" "19402goc")
for i in ${!DATA[@]}; do
julia --project ./src/load_imbalance.jl "./br_time_gpu_${DATA[$i]}.txt"
done
function usage() {
echo "Usage: ./table5.sh case"
echo " case: the case file containing branch computation time of each GPU"
}

if [[ $# != 1 ]]; then
usage
exit
fi

julia --project ./src/load_imbalance.jl $1

0 comments on commit fad55a1

Please sign in to comment.