Main Lemma Repository
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Bench.sh 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #!/bin/bash
  2. # this is a simple benchmarking script for Hantenna
  3. for i in {1..12}
  4. do
  5. echo "Welcome $i times"
  6. export OMP_NUM_THREADS=$i
  7. ./Hantenna inp/trans.inp inp/cond.inp inp/points.inp inp/config.inp
  8. done
  9. sed -i -- 's/FHTKEY51/FHTKEY101/g' inp/config.inp
  10. for i in {1..12}
  11. do
  12. echo "Welcome $i times"
  13. export OMP_NUM_THREADS=$i
  14. ./Hantenna inp/trans.inp inp/cond.inp inp/points.inp inp/config.inp
  15. done
  16. sed -i -- 's/FHTKEY101/FHTKEY201/g' inp/config.inp
  17. for i in {1..12}
  18. do
  19. echo "Welcome $i times"
  20. export OMP_NUM_THREADS=$i
  21. ./Hantenna inp/trans.inp inp/cond.inp inp/points.inp inp/config.inp
  22. done
  23. sed -i -- 's/FHTKEY201/ANDERSON801/g' inp/config.inp
  24. for i in {1..12}
  25. do
  26. echo "Welcome $i times"
  27. export OMP_NUM_THREADS=$i
  28. ./Hantenna inp/trans.inp inp/cond.inp inp/points.inp inp/config.inp
  29. done
  30. sed -i -- 's/ANDERSON801/QWEKEY/g' inp/config.inp
  31. for i in {1..12}
  32. do
  33. echo "Welcome $i times"
  34. export OMP_NUM_THREADS=$i
  35. ./Hantenna inp/trans.inp inp/cond.inp inp/points.inp inp/config.inp
  36. done
  37. sed -i -- 's/QWEKEY/CHAVE/g' inp/config.inp
  38. for i in {1..12}
  39. do
  40. echo "Welcome $i times"
  41. export OMP_NUM_THREADS=$i
  42. ./Hantenna inp/trans.inp inp/cond.inp inp/points.inp inp/config.inp
  43. done