-
Notifications
You must be signed in to change notification settings - Fork 58
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 making Beagle library with CUDA option - WSL_Ubuntu_20.04 #169
Comments
I have the same issue - NVIDIA GeForce RTX 2080 |
Has anyone found a solution to this? I have an NVIDIA RTX 3080 and I encounter the same error with WSL. |
I am facing same kind of error while trying to install in Kaggle though the installation worked fine on google colab.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Making Beagle library from scratch with these commands
git clone --depth=1 https://github.com/beagle-dev/beagle-lib.git
cd beagle-lib
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr/local -DBUILD_OPENCL=OFF -DBUILD_CUDA=ON ..
sudo make install
results in error message
[ 70%] Linking CXX shared library libhmsbeagle-cuda.so
/usr/bin/ld: cannot find -lcuda
collect2: error: ld returned 1 exit status
make[2]: *** [libhmsbeagle/GPU/CMake_CUDA/CMakeFiles/hmsbeagle-cuda.dir/build.make:146: libhmsbeagle/GPU/CMake_CUDA/libhmsbeagle-cuda.so.40.0.0] Error 1
There is no cuda library installed by the CUDA toolkit. Changing the link.txt file to delete -lcuda or changing it to -lcudart allows the MAKE program to complete successfully (so I thought).
Running example hmctest in DEBUG mode fails to load the Beagle GPU plugin with the following error:
Loading hmsbeagle-cpu-sse
Loading hmsbeagle-cuda
Unable to load hmsbeagle-cuda: /usr/local/lib/libhmsbeagle-cuda.so.40.0.0: undefined symbol: cuModuleLoadData
Loading hmsbeagle-opencl
Unable to load hmsbeagle-opencl: libhmsbeagle-opencl.so.40.0.0: cannot open shared object file: No such file or directory
Available resources:
Resource 0:
Name : CPU (x86_64)
Desc :
Flags: PROCESSOR_CPU PRECISION_DOUBLE PRECISION_SINGLE COMPUTATION_SYNCH EIGEN_REAL EIGEN_COMPLEX SCALING_MANUAL SCALING_AUTO SCALING_ALWAYS SCALING_DYNAMIC SCALERS_RAW SCALERS_LOG VECTOR_NONE VECTOR_SSE THREADING_NONE FRAMEWORK_CPU
Using resource 0:
Rsrc Name : CPU (x86_64)
Impl Name : CPU-4State-SSE-Double
Impl Desc : none
Please fix this so that a NVIDIA GeForce RTX 2070 using the latest CUDA Toolkit 11.5.1 can use Beagle successfully.
The text was updated successfully, but these errors were encountered: