Conflict between cuOpt.jl & CUDA.jl
- Dominant language
- Mathematical Programming System
- Stars
- 32
- Forks
- 7
- Avg merge
- 17h
- Merged PRs (30d)
- 3
Description
The README says you need to put the folder that contains libcuopt.so in the `LD_LIBRARY_PATH` env variable.
```bash
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/
```
If I do that and then I start working with CUDA, I have the following warnings.
```
julia> using CUDA
┌ Warning: CUDA runtime library `libcublas.so.13` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcublas.so.13`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcusparse.so.12` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcusparse.so.12`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcublasLt.so.13` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcublasLt.so.13`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcurand.so.10` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcurand.so.10`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libcusolver.so.12` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libcusolver.so.12`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
┌ Warning: CUDA runtime library `libnvJitLink.so.13` was loaded from a system path, `/home/guimarqu/.venv/lib/python3.12/site-packages/libcuopt/lib64/../../nvidia/cu13/lib/libnvJitLink.so.13`.
│ This may cause errors.
│
│ If you're running under a profiler, this situation is expected. Otherwise,
│ ensure that your library path environment variable (e.g., `PATH` on Windows
│ or `LD_LIBRARY_PATH` on Linux) does not include CUDA library paths.
│
│ In any other case, please file an issue.
└ @ CUDA ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216
```
Contributor guide
Assessment
This issue has not been assessed yet.