Browse Source

build: fix libxlmass errors building on Power CPU

IBM MASS library is upgraded to 8.1.5 and 8.1.3 is not available.
Update README.md and Makefile.power to use version 8.1.5 of libxlmass.
tags/v0.2.20^2
Lei YU 8 years ago
parent
commit
87dde1fde6
No known key found for this signature in database GPG Key ID: 9BC49EEC04F17302
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      Makefile.power
  2. +2
    -2
      README.md

+ 1
- 1
Makefile.power View File

@@ -43,7 +43,7 @@ endif

ifeq ($(USE_MASS), 1)
# Path to MASS libs, change it if the libs are installed at any other location
MASSPATH = /opt/ibm/xlmass/8.1.3/lib
MASSPATH = /opt/ibm/xlmass/8.1.5/lib
COMMON_OPT += -mveclibabi=mass -ftree-vectorize -funsafe-math-optimizations -DUSE_MASS
EXTRALIB += -L$(MASSPATH) -lmass -lmassvp8 -lmass_simdp8
endif


+ 2
- 2
README.md View File

@@ -54,7 +54,7 @@ The library can be installed as below -
wget -q http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/ubuntu/public.gpg -O- | sudo apt-key add -</br>
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</br>
sudo apt-get update</br>
sudo apt-get install libxlmass-devel.8.1.3</br>
sudo apt-get install libxlmass-devel.8.1.5</br>

* On RHEL/CentOS:

@@ -62,7 +62,7 @@ The library can be installed as below -
sudo rpm --import repomd.xml.key</br>
wget http://public.dhe.ibm.com/software/server/POWER/Linux/xl-compiler/eval/ppc64le/rhel7/ibm-xl-compiler-eval.repo</br>
sudo cp ibm-xl-compiler-eval.repo /etc/yum.repos.d/</br>
sudo yum install libxlmass-devel.8.1.3</br>
sudo yum install libxlmass-devel.8.1.5</br>

After installing MASS library, compile openblas with USE_MASS=1.



Loading…
Cancel
Save