Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Conflict between cuOpt.jl & CUDA.jl

オープン
#28 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
julia
領域
backend

調査の方向性

LD_LIBRARY_PATH の設定に関する README の手順から始め、cuOpt ライブラリのパスを export した後に CUDA を読み込んで警告を再現します。~/.julia/packages/CUDA/x8d2s/src/initialization.jl:216 に記載されている CUDA 初期化警告の場所を確認し、cuOpt.jl と CUDA.jl を共存させるためのサポートされている方法を特定します。ドキュメント化されたセットアップで、これらのライブラリ読み込み警告が発生しなくなるか、制限事項が明確に記載されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

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
主要言語
Mathematical Programming System
スター
31
フォーク
7
平均マージ
20時間 38分
マージ済み PR(30日)
1

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

似ている issue

Backend & API Design の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。