Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cblass_sgemm error in libblass #3

Open
Joaggi opened this issue May 29, 2020 · 2 comments
Open

cblass_sgemm error in libblass #3

Joaggi opened this issue May 29, 2020 · 2 comments

Comments

@Joaggi
Copy link

Joaggi commented May 29, 2020

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
Copy link
Owner

dnbaker commented May 29, 2020

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
Copy link
Author

Joaggi commented May 29, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants