Skip to content

Conflict between cuOpt.jl & CUDA.jl #28

@guimarqu

Description

@guimarqu

The README says you need to put the folder that contains libcuopt.so in the LD_LIBRARY_PATH env variable.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions