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

when I compile CAFE5 in Ubuntu , I get some error and don't konw how to solve #156

Closed
Wangsiyuan526 opened this issue Nov 21, 2023 · 1 comment

Comments

@Wangsiyuan526
Copy link

I uncompressed the CAFE5-5.1.0.tar.gz. ThenI followed RADEME's steps to compile CAFE5:
$ cd CAFE5/
$ ./configure
$ make
when i type make ,the process of compile got some error As shown in the following code:
/home/jianxins/anaconda3/bin/x86_64-conda-linux-gnu-c++ -std=c++11 -I. -O3 -include config.h -DDOCTEST_CONFIG_DISABLE -fopenmp -c src/matrix_cache.cpp -o obj/matrix_cache.o
src/matrix_cache.cpp: In member function 'void matrix::multiply(const std::vector&, int, int, int, int, double*) const':
src/matrix_cache.cpp:43:17: error: 'CblasRowMajor' was not declared in this scope
43 | cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, k, alpha, sub, _size, &v[0], n, beta, result, n);
| ^~~~~~~~~~~~~
src/matrix_cache.cpp:43:32: error: 'CblasNoTrans' was not declared in this scope
43 | cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, k, alpha, sub, _size, &v[0], n, beta, result, n);
| ^~~~~~~~~~~~
src/matrix_cache.cpp:43:5: error: 'cblas_dgemm' was not declared in this scope
43 | cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, m, n, k, alpha, sub, _size, &v[0], n, beta, result, n);
| ^~~~~~~~~~~
make: *** [Makefile:35:obj/matrix_cache.o] error1

I'm a rookie about bioinformatics,and i can't find a right way to solve this error.
I wanna help,thank you

@benfulton
Copy link
Member

This says the configure step found a math library, but the make step is unable to read it. What math library do you have on your system?

@benfulton benfulton closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
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