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.

57 lines
2.0 KiB

  1. #!/bin/bash
  2. if [ $# < 1 ]; then
  3. echo "Usage: $0 working_directory [tiny|large [prefix]]"
  4. else
  5. mkdir -p $1
  6. ##cp ../libs/*/*.dat $1
  7. mode=large
  8. if [ $# > 2 ]; then
  9. mode=$2
  10. fi
  11. if [ $# > 3 ]; then
  12. prefix=$3
  13. fi
  14. EIGENDIR=`cat eigen_root_dir.txt`
  15. webpagefilename=$1/index.html
  16. meanstatsfilename=$1/mean.html
  17. echo '' > $meanstatsfilename
  18. echo '' > $webpagefilename
  19. echo '<p><strong>Configuration</strong>' >> $webpagefilename
  20. echo '<ul>'\
  21. '<li>' `cat /proc/cpuinfo | grep "model name" | head -n 1`\
  22. ' (' `uname -m` ')</li>'\
  23. '<li> compiler: ' `cat compiler_version.txt` '</li>'\
  24. '<li> eigen3: ' `hg identify -i $EIGENDIR` '</li>'\
  25. '</ul>' \
  26. '</p>' >> $webpagefilename
  27. source mk_mean_script.sh axpy $1 11 2500 100000 250000 $mode $prefix
  28. source mk_mean_script.sh axpby $1 11 2500 100000 250000 $mode $prefix
  29. source mk_mean_script.sh matrix_vector $1 11 50 300 1000 $mode $prefix
  30. source mk_mean_script.sh atv $1 11 50 300 1000 $mode $prefix
  31. source mk_mean_script.sh matrix_matrix $1 11 100 300 1000 $mode $prefix
  32. source mk_mean_script.sh aat $1 11 100 300 1000 $mode $prefix
  33. # source mk_mean_script.sh ata $1 11 100 300 1000 $mode $prefix
  34. source mk_mean_script.sh trmm $1 11 100 300 1000 $mode $prefix
  35. source mk_mean_script.sh trisolve_vector $1 11 100 300 1000 $mode $prefix
  36. source mk_mean_script.sh trisolve_matrix $1 11 100 300 1000 $mode $prefix
  37. source mk_mean_script.sh cholesky $1 11 100 300 1000 $mode $prefix
  38. source mk_mean_script.sh partial_lu_decomp $1 11 100 300 1000 $mode $prefix
  39. source mk_mean_script.sh tridiagonalization $1 11 100 300 1000 $mode $prefix
  40. source mk_mean_script.sh hessenberg $1 11 100 300 1000 $mode $prefix
  41. source mk_mean_script.sh symv $1 11 50 300 1000 $mode $prefix
  42. source mk_mean_script.sh syr2 $1 11 50 300 1000 $mode $prefix
  43. source mk_mean_script.sh ger $1 11 50 300 1000 $mode $prefix
  44. source mk_mean_script.sh rot $1 11 2500 100000 250000 $mode $prefix
  45. source mk_mean_script.sh complete_lu_decomp $1 11 100 300 1000 $mode $prefix
  46. fi
  47. ## compile the web page ##
  48. #echo `cat footer.html` >> $webpagefilename