-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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 build using CMAKE on Manjaro Linux #5955
Comments
I have the same quenstion. @jameslamb |
Here is the problem: "g++ (GCC) 13.1.1 20230429". It turns out CUDA 12.x has issues with this version of the GCC. You'll need to downgrade GCC to 12.x in order to solve it. In my case everything works fine and the error was gone when I downgraded to "GCC 12.2.1-4". You may want to follow this conversation as well: https://forums.developer.nvidia.com/t/identifier-float32-is-undefined-etc-cuda-12-2-0-gcc-13-1/258930 |
I didn't work for me after downloading gcc12 (12.3.0) and setting the variables with |
This issue has been automatically closed because it has been awaiting a response for too long. When you have time to to work with the maintainers to resolve this issue, please post a new comment and it will be re-opened. If the issue has been locked for editing by the time you return to it, please open a new issue and reference this one. Thank you for taking the time to improve LightGBM! |
Description
Reproducible example
Environment info
Computer - MSI GF65 Thin
Intel® Core™ i5-9300H × 8
Nvidia RTX 2060 Mobile
Linux 6.1.31-2-MANJARO
gcc (GCC) 13.1.1 20230429
nvcc: NVIDIA (R) Cuda compiler driver
Cuda compilation tools, release 12.1, V12.1.105
Build cuda_12.1.r12.1/compiler.32688072_0
g++ (GCC) 13.1.1 20230429
boost 1.81.0-6
boost-libs 1.81.0-6
glibc 2.37-3
cmake version 3.26.4
Command(s) you used to install LightGBM
git clone --recursive https://github.com/Microsoft/LightGBM mkdir build cd build cmake -DUSE_CUDA=1 ..
##Additional Comments
I tried to reinstall pretty much every package I saw mentioned in link with lightgbm or cuda without success.
The text was updated successfully, but these errors were encountered: