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

Installation error on Apple M1 #272

Open
filipstefanovski opened this issue Dec 4, 2023 · 2 comments
Open

Installation error on Apple M1 #272

filipstefanovski opened this issue Dec 4, 2023 · 2 comments

Comments

@filipstefanovski
Copy link

When i try to execute the make command on apple m1 i'm getting error that 'cusparse.h' is not found.
How can i build the project without CUDA(GPU) support on mac?

cmake \ -DUSE_CUDA=OFF \ -DOpenMP_C_FLAGS="-Xpreprocessor -fopenmp -I/opt/homebrew/Cellar/libomp/17.0.6/include" \ -DOpenMP_C_LIB_NAMES=omp \ -DOpenMP_CXX_FLAGS="-Xpreprocessor -fopenmp -I/opt/homebrew/Cellar/libomp/17.0.6/include" \ -DOpenMP_CXX_LIB_NAMES=omp \ -DOpenMP_omp_LIBRARY=/opt/homebrew/Cellar/libomp/17.0.6/lib/libomp.dylib \ ..

make -j [ 3%] Building CXX object src/thundersvm/CMakeFiles/thundersvm.dir/kernelmatrix.cpp.o /Users/filipstefanovski/numerai-ml/thundersvm/src/thundersvm/kernelmatrix.cpp:7:10: fatal error: 'cusparse.h' file not found #include <cusparse.h> ^~~~~~~~~~~~ 1 error generated. make[2]: *** [src/thundersvm/CMakeFiles/thundersvm.dir/kernelmatrix.cpp.o] Error 1 make[1]: *** [src/thundersvm/CMakeFiles/thundersvm.dir/all] Error 2 make: *** [all] Error 2

@filipstefanovski
Copy link
Author

It seems that the include was added in this commit: e8e66ae

@junhao-ray
Copy link

It seems that the include was added in this commit: e8e66ae

Same problem.

Solved by skipping that commit, using previous commit.

However new problem occurred that 'Eigen/Dense' file not found, solved by install eigen brew install eigen and move corresponding fils to thundersvm/eigen.

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