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

Error in "make" (Ubuntu GPU) #264

Open
Song-Yuqi opened this issue May 16, 2023 · 4 comments
Open

Error in "make" (Ubuntu GPU) #264

Song-Yuqi opened this issue May 16, 2023 · 4 comments

Comments

@Song-Yuqi
Copy link

Hello, I met a problem when building thundersvm on my Ubuntu 20.04 workstation (gcc version: 7.5.0). I set up a virture environment using anaconda in which I install CUDA 10.2.
I run the following commands:
git clone https://github.com/Xtra-Computing/thundersvm.git
mkdir build
cd build
cmake ..
make -j
But got following errors in the last step (either "make -j" or "make" doesn't work):
[ 3%] Building NVCC (Device) object src/thundersvm/CMakeFiles/thundersvm.dir/kernel/thundersvm_generated_kernelmatrix_kernel.cu.o
/home/dell/MLTools/thundersvm/src/thundersvm/kernel/kernelmatrix_kernel.cu:10:10: fatal error: cub/cub.cuh: No such file or directory
#include <cub/cub.cuh>
^~~~~~~~~~~~~
compilation terminated.
CMake Error at thundersvm_generated_kernelmatrix_kernel.cu.o.Release.cmake:220 (message):
Error generating
/home/dell/MLTools/thundersvm/build/src/thundersvm/CMakeFiles/thundersvm.dir/kernel/./thundersvm_generated_kernelmatrix_kernel.cu.o

make[2]: *** [src/thundersvm/CMakeFiles/thundersvm.dir/build.make:65: src/thundersvm/CMakeFiles/thundersvm.dir/kernel/thundersvm_generated_kernelmatrix_kernel.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:151: src/thundersvm/CMakeFiles/thundersvm.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

How can I fix the "make" error? Thanks so much!

@lchizhova
Copy link

lchizhova commented May 16, 2023

Same for me. I think the issue is this commit e8e66ae460dc16d929577e7c9e235877c3dc892e merged 3 days ago directly to main. Could you please revert it?

The build fails when I try to build the package w/out GPU though, but I guess the root-cause is the same

@BJTUpupil
Copy link

Same for me. I think the issue is this commit e8e66ae460dc16d929577e7c9e235877c3dc892e merged 3 days ago directly to main. Could you please revert it?

The build fails when I try to build the package w/out GPU though, but I guess the root-cause is the same

But it still doesn't work when I roll back to the previous version.

@ZeyuanLin0215
Copy link

Same for me. I think the issue is this commit e8e66ae460dc16d929577e7c9e235877c3dc892e merged 3 days ago directly to main. Could you please revert it?
The build fails when I try to build the package w/out GPU though, but I guess the root-cause is the same

But it still doesn't work when I roll back to the previous version.

Hello, I have encountered this issue as well. I wonder if you have resolved it now?

@BJTUpupil
Copy link

Same for me. I think the issue is this commit e8e66ae460dc16d929577e7c9e235877c3dc892e merged 3 days ago directly to main. Could you please revert it?
The build fails when I try to build the package w/out GPU though, but I guess the root-cause is the same

But it still doesn't work when I roll back to the previous version.

Hello, I have encountered this issue as well. I wonder if you have resolved it now?

I have resolved this problem, the main reason is that the cuda version is not supported. I successfully compiled it on cuda 12.1 and nvidia 535 versions of the driver.

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

4 participants