Skip to content

Commit

Permalink
[klas3] streamline the throughput12.sh script command line argument p…
Browse files Browse the repository at this point in the history
…arsing
  • Loading branch information
valassi committed Apr 27, 2021
1 parent 61a1ee6 commit 39f4ac3
Showing 1 changed file with 15 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,27 +1,24 @@
#!/bin/bash

omp=0
if [ "$1" == "-omp" ]; then
omp=1
shift
fi

avxall=0
if [ "$1" == "-avxall" ]; then
avxall=1
shift
fi

ep2=0
if [ "$1" == "-ep2" ]; then
ep2=1
shift
fi

if [ "$1" != "" ]; then
echo "Usage: $0 [-omp] [-avxall] [-ep2]"
exit 1
fi
while [ "$1" != "" ]; do
if [ "$1" == "-omp" ]; then
omp=1
shift
elif [ "$1" == "-avxall" ]; then
avxall=1
shift
elif [ "$1" == "-ep2" ]; then
ep2=1
shift
else
echo "Usage: $0 [-omp] [-avxall] [-ep2]"
exit 1
fi
done

exes=
exes="$exes ../../../../../epoch1/cuda/ee_mumu/SubProcesses/P1_Sigma_sm_epem_mupmum/build.none/check.exe"
Expand Down

0 comments on commit 39f4ac3

Please # to comment.