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

Can't compile test_blas.cpp #307

Closed
sbmaruf opened this issue Jan 12, 2018 · 4 comments
Closed

Can't compile test_blas.cpp #307

sbmaruf opened this issue Jan 12, 2018 · 4 comments
Labels

Comments

@sbmaruf
Copy link

sbmaruf commented Jan 12, 2018

make tests/test_blas

in the response to the command given above, I get the following output.

g++     test_blas.cpp   -o test_blas
/tmp/cc3aL3kc.o: In function `main':
test_blas.cpp:(.text+0x187): undefined reference to `sgemm_'
test_blas.cpp:(.text+0x346): undefined reference to `sgeqrf_'
collect2: error: ld returned 1 exit status
make: *** [test_blas] Error 1

Can anyone help me to install faiss? I don't have anaconda in my server and I'm not sudo-er in the server. Is there any reasonable way to install it or I've to request to the admin for some installing additional apis/library?

@mdouze mdouze added the invalid label Jan 17, 2018
@mdouze
Copy link
Contributor

mdouze commented Jan 17, 2018

Hi
You probably erased or overwrote the Makefile.

@sbmaruf
Copy link
Author

sbmaruf commented Jan 18, 2018

Yes. Finally successfully compiled.

@sbmaruf sbmaruf closed this as completed Jan 18, 2018
@ahappycutedog
Copy link

是。终于成功编译了。

How do you solve this problem? Can you describe it in detail?

@keything
Copy link

i solve it by add --with-lapack . it refers to #15

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

No branches or pull requests

4 participants