cblass_sgemm error in libblass
Opened this issue · 2 comments
Joaggi commented
Hi Daniel,
I tried to compiled again with the last commit, but unfortunately, I received another error.
The error is:
/usr/bin/ld: /tmp/ccfo33G4.o: reference without defined symbol 'cblas_sgemm'
//usr/lib/x86_64-linux-gnu/libblass.so.3: error adding symbols: DSO missing from command line
colect2: error: ld returned 1 exit status
Makefile:95L: recipe for target 'pcatestf' failed
make: *** [pcatestf] Error 1
The dependencies that I installed was the following:
sudo apt install libssl-dev
sudo apt-get install libz-dev
sudo apt-get install gfortran
sudo apt-get install libblas-dev liblapack-dev
apt-get install libfftw3-dev
I'm using Ubuntu 18.04
dnbaker commented
It seems to be a BLAS linking issue. You can either modify the Makefile to replace BLAZE_BLAS_MODE=1
with BLAZE_BLAS_MODE=0
(to eliminate using BLAS entirely), or try to enable blas linkage.
sudo apt-get install libblas-dev liblapack-dev
might be what you need.
Joaggi commented
I tried two things:
The first one:
sudo apt-get install libblas-dev liblapack-dev
It was not successful.
The second one:
apt-get install libatlas-base-dev
This also did not work as expected :(.
The only thing that worked as you told me, was to disable Blas :(.
I don't know why I couldn't compile with it.