Are you sure you want to delete this task? Once this task is deleted, it cannot be recovered.
|
|
7 years ago | |
|---|---|---|
| benchmark | 7 years ago | |
| cmake | 7 years ago | |
| ctest | 7 years ago | |
| driver | 7 years ago | |
| exports | 7 years ago | |
| interface | 7 years ago | |
| kernel | 7 years ago | |
| lapack | 7 years ago | |
| lapack-netlib | 7 years ago | |
| reference | 11 years ago | |
| relapack | 8 years ago | |
| test | 7 years ago | |
| utest | 7 years ago | |
| .gitignore | 8 years ago | |
| .travis.yml | 7 years ago | |
| BACKERS.md | 12 years ago | |
| CMakeLists.txt | 7 years ago | |
| CONTRIBUTORS.md | 8 years ago | |
| Changelog.txt | 7 years ago | |
| GotoBLAS_00License.txt | 15 years ago | |
| GotoBLAS_01Readme.txt | 11 years ago | |
| GotoBLAS_02QuickInstall.txt | 11 years ago | |
| GotoBLAS_03FAQ.txt | 11 years ago | |
| GotoBLAS_04FAQ.txt | 15 years ago | |
| GotoBLAS_05LargePage.txt | 10 years ago | |
| GotoBLAS_06WeirdPerformance.txt | 11 years ago | |
| LICENSE | 11 years ago | |
| Makefile | 7 years ago | |
| Makefile.alpha | 11 years ago | |
| Makefile.arm | 8 years ago | |
| Makefile.arm64 | 8 years ago | |
| Makefile.generic | 12 years ago | |
| Makefile.ia64 | 11 years ago | |
| Makefile.install | 7 years ago | |
| Makefile.mips | 9 years ago | |
| Makefile.mips64 | 15 years ago | |
| Makefile.power | 8 years ago | |
| Makefile.prebuild | 7 years ago | |
| Makefile.rule | 7 years ago | |
| Makefile.sparc | 11 years ago | |
| Makefile.system | 7 years ago | |
| Makefile.tail | 11 years ago | |
| Makefile.x86 | 11 years ago | |
| Makefile.x86_64 | 7 years ago | |
| Makefile.zarch | 9 years ago | |
| README.md | 7 years ago | |
| TargetList.txt | 7 years ago | |
| USAGE.md | 7 years ago | |
| appveyor.yml | 8 years ago | |
| c_check | 7 years ago | |
| cblas.h | 7 years ago | |
| common.h | 7 years ago | |
| common_alpha.h | 10 years ago | |
| common_arm.h | 8 years ago | |
| common_arm64.h | 8 years ago | |
| common_c.h | 10 years ago | |
| common_d.h | 10 years ago | |
| common_ia64.h | 10 years ago | |
| common_interface.h | 10 years ago | |
| common_lapack.h | 15 years ago | |
| common_level1.h | 10 years ago | |
| common_level2.h | 11 years ago | |
| common_level3.h | 10 years ago | |
| common_linux.h | 9 years ago | |
| common_macro.h | 8 years ago | |
| common_mips.h | 8 years ago | |
| common_mips64.h | 8 years ago | |
| common_param.h | 8 years ago | |
| common_power.h | 9 years ago | |
| common_q.h | 15 years ago | |
| common_reference.h | 11 years ago | |
| common_s.h | 10 years ago | |
| common_sparc.h | 10 years ago | |
| common_stackalloc.h | 7 years ago | |
| common_thread.h | 11 years ago | |
| common_x.h | 15 years ago | |
| common_x86.h | 7 years ago | |
| common_x86_64.h | 7 years ago | |
| common_z.h | 10 years ago | |
| common_zarch.h | 9 years ago | |
| cpuid.S | 11 years ago | |
| cpuid.h | 7 years ago | |
| cpuid_alpha.c | 11 years ago | |
| cpuid_arm.c | 9 years ago | |
| cpuid_arm64.c | 7 years ago | |
| cpuid_ia64.c | 11 years ago | |
| cpuid_mips.c | 7 years ago | |
| cpuid_mips64.c | 8 years ago | |
| cpuid_power.c | 7 years ago | |
| cpuid_sparc.c | 7 years ago | |
| cpuid_x86.c | 7 years ago | |
| cpuid_zarch.c | 7 years ago | |
| ctest.c | 7 years ago | |
| ctest1.c | 15 years ago | |
| ctest2.c | 15 years ago | |
| f_check | 7 years ago | |
| ftest.f | 11 years ago | |
| ftest2.f | 15 years ago | |
| ftest3.f | 11 years ago | |
| gen_config_h.c | 8 years ago | |
| getarch.c | 7 years ago | |
| getarch_2nd.c | 9 years ago | |
| l1param.h | 13 years ago | |
| l2param.h | 12 years ago | |
| make.inc | 8 years ago | |
| openblas.pc.in | 8 years ago | |
| openblas_config_template.h | 8 years ago | |
| param.h | 7 years ago | |
| quickbuild.32bit | 15 years ago | |
| quickbuild.64bit | 15 years ago | |
| quickbuild.win32 | 13 years ago | |
| quickbuild.win64 | 11 years ago | |
| segfaults.patch | 11 years ago | |
| symcopy.h | 10 years ago | |
| version.h | 11 years ago | |
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
Please read the documentation on the OpenBLAS wiki pages: http://github.com/xianyi/OpenBLAS/wiki.
We provide official binary packages for the following platform:
You can download them from file hosting on sourceforge.net.
Download from project homepage, http://xianyi.github.com/OpenBLAS/, or check out the code
using Git from https://github.com/xianyi/OpenBLAS.git.
Building OpenBLAS requires the following to be installed:
Simply invoking make (or gmake on BSD) will detect the CPU automatically.
To set a specific target CPU, use make TARGET=xxx, e.g. make TARGET=NEHALEM.
The full target list is in the file TargetList.txt.
Set CC and FC to point to the cross toolchains, and set HOSTCC to your host C compiler.
The target must be specified explicitly when cross compiling.
Examples:
On an x86 box, compile this library for a loongson3a CPU:
make BINARY=64 CC=mips64el-unknown-linux-gnu-gcc FC=mips64el-unknown-linux-gnu-gfortran HOSTCC=gcc TARGET=LOONGSON3A
On an x86 box, compile this library for a loongson3a CPU with loongcc (based on Open64) compiler:
make CC=loongcc FC=loongf95 HOSTCC=gcc TARGET=LOONGSON3A CROSS=1 CROSS_SUFFIX=mips64el-st-linux-gnu- NO_LAPACKE=1 NO_SHARED=1 BINARY=32
A debug version can be built using make DEBUG=1.
The IBM MASS library
consists of a set of mathematical functions for C, C++, and Fortran applications that are
are tuned for optimum performance on POWER architectures.
OpenBLAS with MASS requires a 64-bit, little-endian OS on POWER.
The library can be installed as shown:
On Ubuntu:
wget -q http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/public.gpg -O- | sudo apt-key add -
echo "deb http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/ trusty main" | sudo tee /etc/apt/sources.list.d/ibm-xl-compiler-eval.list
sudo apt-get update
sudo apt-get install libxlmass-devel.8.1.5
On RHEL/CentOS:
wget http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/rhel7/repodata/repomd.xml.key
sudo rpm --import repomd.xml.key
wget http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/rhel7/ibm-xl-compiler-eval.repo
sudo cp ibm-xl-compiler-eval.repo /etc/yum.repos.d/
sudo yum install libxlmass-devel.8.1.5
After installing the MASS library, compile OpenBLAS with USE_MASS=1.
For example, to compile on Power8 with MASS support: make USE_MASS=1 TARGET=POWER8.
Use PREFIX= when invoking make, for example
make install PREFIX=your_installation_directory
The default installation directory is /opt/OpenBLAS.
Please read GotoBLAS_01Readme.txt.
USE_OPENMP=1Statically link with libopenblas.a or dynamically link with -lopenblas if OpenBLAS was
compiled as a shared library.
Environment variables are used to specify a maximum number of threads.
For example,
export OPENBLAS_NUM_THREADS=4
export GOTO_NUM_THREADS=4
export OMP_NUM_THREADS=4
The priorities are OPENBLAS_NUM_THREADS > GOTO_NUM_THREADS > OMP_NUM_THREADS.
If you compile this library with USE_OPENMP=1, you should set the OMP_NUM_THREADS
environment variable; OpenBLAS ignores OPENBLAS_NUM_THREADS and GOTO_NUM_THREADS when
compiled with USE_OPENMP=1.
We provide the following functions to control the number of threads at runtime:
void goto_set_num_threads(int num_threads);
void openblas_set_num_threads(int num_threads);
If you compile this library with USE_OPENMP=1, you should use the above functions too.
Please submit an issue in https://github.com/xianyi/OpenBLAS/issues.
Please see Changelog.txt to view the differences between OpenBLAS and GotoBLAS2 1.13 BSD version.
x86_64 (amd64),BIGNUMA=1.NO_AFFINITY=1 inmake test may fail with a pthread_create error (EAGAIN).CONTRIBUTORS.md.Please read this wiki page.
OpenBLAS is an optimized BLAS library based on GotoBLAS2 1.13 BSD version.
C Fortran Motorola 68K Assembly Makefile Unix Assembly other