|
@@ -43,6 +43,35 @@ On X86 box, compile this library for loongson3a CPU with loongcc (based on Open6 |
|
|
|
|
|
|
|
|
make DEBUG=1 |
|
|
make DEBUG=1 |
|
|
|
|
|
|
|
|
|
|
|
### Compile with MASS Support on Power CPU (Optional dependency) |
|
|
|
|
|
|
|
|
|
|
|
[IBM MASS](http://www-01.ibm.com/software/awdtools/mass/linux/mass-linux.html) library consists of a set of mathematical functions for C, C++, and |
|
|
|
|
|
Fortran-language applications that are tuned for optimum performance on POWER architectures. OpenBLAS with MASS requires 64-bit, little-endian OS on POWER. |
|
|
|
|
|
The library can be installed as below - |
|
|
|
|
|
|
|
|
|
|
|
* 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.3 |
|
|
|
|
|
|
|
|
|
|
|
* 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.3 |
|
|
|
|
|
|
|
|
|
|
|
After installing MASS library, compile openblas with USE_MASS=1. |
|
|
|
|
|
|
|
|
|
|
|
Example: |
|
|
|
|
|
|
|
|
|
|
|
Compiling on Power8 with MASS support - |
|
|
|
|
|
|
|
|
|
|
|
make USE_MASS=1 TARGET=POWER8 |
|
|
|
|
|
|
|
|
### Install to the directory (optional) |
|
|
### Install to the directory (optional) |
|
|
|
|
|
|
|
|
Example: |
|
|
Example: |
|
|