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.

README 1.9 kB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. OpenBLAS Readme
  2. 1.Introduction
  3. OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version. OpenBLAS is an open source project supported by Lab of Parallel Software and Computational Science, ISCAS.(http://www.rdcps.ac.cn)
  4. 2.Intallation
  5. Download from project homepage. http://xianyi.github.com/OpenBLAS/
  6. Or,
  7. check out codes from git://github.com/xianyi/OpenBLAS.git
  8. 1)Normal compile
  9. Please read GotoBLAS_02QuickInstall.txt or type "make"
  10. 2)Cross compile
  11. Please set CC and FC with the cross toolchains. Then, set HOSTCC with your host C compiler. At last, set TARGET explicitly.
  12. examples:
  13. On X86 box, compile this library for loongson3a CPU.
  14. make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A
  15. 3)Debug version
  16. make DEBUG=1
  17. 3.Support CPU & OS
  18. Please read GotoBLAS_01Readme.txt
  19. Additional support CPU:
  20. x86_64:
  21. Intel Xeon 56xx (Westmere) //Used GotoBLAS2 Nehalem codes.
  22. MIPS64:
  23. ICT Loongson 3A //The initial version used GotoBLAS2 MIPS64 kernels. Thus, the performance is not good.
  24. 4.Usages
  25. Link with libopenblas.a or -lopenblas for shared library.
  26. 4.1 Set the number of threads with environment variables. for example,
  27. export OPENBLAS_NUM_THREADS=4
  28. or
  29. export GOTO_NUM_THREADS=4
  30. or
  31. export OMP_NUM_THREADS=4
  32. The priorities are OPENBLAS_NUM_THREAD > GOTO_NUM_THREADS > OMP_NUM_THREADS.
  33. 4.2 Set the number of threads with calling functions. for example,
  34. void goto_set_num_threads(int num_threads);
  35. or
  36. void openblas_set_num_threads(int num_threads);
  37. 5.Report Bugs
  38. Please add a issue in https://github.com/xianyi/OpenBLAS/issues
  39. 6.To-Do List:
  40. Optimization on ICT Loongson 3A CPU
  41. 7.Contact
  42. OpenBLAS users mailing list: http://list.rdcps.ac.cn/mailman/listinfo/openblas
  43. 8.ChangeLog
  44. Please see Changelog.txt to obtain the differences between GotoBLAS2 1.13 BSD version.

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