Help us understand the problem. What is going on with this article?

NVIDIA Visual Profiler "nvvp" を使おうとしたら起きたエラーと対処法

はじめに

タイトル通り,NVIDIAのprofile用のGUIアプリであるNVIDIA Visual Profiler (nvvp) を使おうとして起きたエラーとその対処法お話です.

環境

MacOS High Sierra

何が起こったか

CUDA Toolkit 10.2 (当記事執筆時点での最新版)をダウンロードしてnvvpを起動,nvprofでprofileした結果をimport後,Finishでloadする際

CUPTI initialization Failed

Unable to locate CUPTI library

等とエラーが発生
(エラー画像は撮るの忘れました.すみません.)

(ダウンロード等の詳しいことはHiroki11xさんのNVIDIA Visual Profiler 入門が詳しいです)

対処法

[CUPTIの説明ページ]に

CUPTI calls will fail with CUPTI_ERROR_NOT_INITIALIZED if the CUDA driver version is not compatible with the CUPTI version.

とあったので,CUDAのdriverとCUPTIのversionが合ってないと推測
CUDA Toolkit 10.2 を消去し,"CUPTI install"で検索をかけて出てきたCUDA Toolkit 10.1 Update 1 をダウンロードしたら動作しました.

fockl
物性物理の研究者の卵 主に計算手法開発を行っているが,色々手を出して大変なことに
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした