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

02QuickInstall.txt 3.7 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. Quick installation for GotoBLAS2
  2. ***************************************************************************
  3. ***************************************************************************
  4. ** **
  5. ** **
  6. ** Just type "make" <<return>>. **
  7. ** **
  8. ** If you're not satisfied with this library, **
  9. ** please read following instruction and customize it. **
  10. ** **
  11. ** **
  12. ***************************************************************************
  13. ***************************************************************************
  14. 1. REALLY REALLY quick way to build library
  15. Type "make" or "gmake".
  16. $shell> make
  17. The script will detect Fortran compiler, number of cores and
  18. architecture which you're using. If default gcc binary type is
  19. 64bit, 64 bit library will be created. Otherwise 32 bit library
  20. will be created.
  21. After finishing compile, you'll find various information about
  22. generated library.
  23. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  24. GotoBLAS2 build complete.
  25. OS ... Linux
  26. Architecture ... x86_64
  27. BINARY ... 64bit
  28. C compiler ... GCC (command line : gcc)
  29. Fortran compiler ... PATHSCALE (command line : pathf90)
  30. Library Name ... libgoto_barcelonap-r1.27.a (Multi threaded; Max
  31. num-threads is 16)
  32. =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
  33. 2. Specifying 32bit or 64bit library
  34. If you need 32bit binary,
  35. $shell> make BINARY=32
  36. If you need 64bit binary,
  37. $shell> make BINARY=64
  38. 3. Specifying target architecture
  39. If you need library for different architecture, you can use TARGET
  40. option. You can find current available options in top of getarch.c.
  41. For example, if you need library for Intel core2 architecture,
  42. you'll find FORCE_CORE2 option in getarch.c. Therefore you can
  43. specify TARGET=CORE2 (get rid of FORCE_) with make.
  44. $shell> make TARGET=CORE2
  45. Also if you want GotoBLAS2 to support multiple architecture,
  46. $shell> make DYNAMIC_ARCH=1
  47. All kernel will be included in the library and dynamically switched
  48. the best architecutre at run time.
  49. 4. Specifying for enabling multi-threaded
  50. Script will detect number of cores and will enable multi threaded
  51. library if number of cores is more than two. If you still want to
  52. create single threaded library,
  53. $shell> make USE_THREAD=0
  54. Or if you need threaded library by force,
  55. $shell> make USE_THREAD=1
  56. 5. Specifying target OS
  57. Target architecture will be determined by the CC. If you
  58. specify cross compiler for MIPS, you can create library for
  59. MIPS architecture.
  60. $shell> make CC=mips64el-linux-gcc TARGET=SICORTEX
  61. Or you can specify your favorite C compiler with absolute path.
  62. $shell> make CC=/opt/intel/cc/32/10.0.026/bin/icc TARGET=BARCELONA
  63. Binary type (32bit/64bit) is determined by checking CC, you
  64. can control binary type with this option.
  65. $shell> make CC="pathcc -m32"
  66. In this case, 32bit library will be created.
  67. 6. Specifying Fortran compiler
  68. If you need to support other Fortran compiler, you can specify with
  69. FC option.
  70. $shell> make FC=gfortran
  71. 7. Other useful options
  72. You'll find other useful options in Makefile.rule.

OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.

Contributors (1)