Conflict between cuOpt.jl & CUDA.jl
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
Línea de trabajo
Empieza con las instrucciones del README para configurar LD_LIBRARY_PATH y reproduce las advertencias cargando CUDA después de exportar la ruta de la biblioteca de cuOpt. Comprueba la ubicación de la advertencia de inicialización de CUDA mencionada en ~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216 y determina la forma compatible de hacer que cuOpt.jl y CUDA.jl coexistan. Se considera terminado cuando la configuración documentada ya no provoque estas advertencias de carga de bibliotecas o documente claramente la limitación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Mathematical Programming System
- Estrellas
- 31
- Forks
- 7
- Merge medio
- 20 h 38 min
- PR fusionados (30 d)
- 1
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
OpenSourceAWE/SymbolicAWEModels.jl#431 ·
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100