Created
June 21, 2018 17:26
-
-
Save bluebycode/c79fca5d73679cd55bfb627dba2c1c3b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ./bench <app> N At t threads compilebeforerun? | |
| # ./bench app-p 1000 100 1 64 true | |
| app=${1} | |
| N=${2} | |
| At=${3:-"100"} | |
| t=${4:-"1"} | |
| threads=${5:-"64"} | |
| compile=${6:-"true"} | |
| if [ "$compile" = "true" ]; then | |
| make clean all | |
| fi | |
| echo "Threads....... $threads" | |
| echo "Particulas.... $N" | |
| echo "Time.... At($At) * $t" | |
| export OMP_NUM_THREADS=$threads && ./$app $N $At $t g && diff output.txt output_seq.txt | head -n 5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment