【サイト内の関連ページ】
Windows での Visual Studio Community 2022 のインストール: 別ページ »で説明している.
【関連する外部ページ】
【サイト内の関連ページ】
NVIDIA グラフィックスボードを搭載しているパソコンの場合には, NVIDIA ドライバ, NVIDIA CUDA ツールキット, NVIDIA cuDNN のインストールを行う.
【関連する外部ページ】
https://github.com/MyCaffe/NCCLを使用.
の説明に従い,インストールを行う.
コマンドプロンプトを管理者として実行: 別ページ »で説明
「再ターゲットの終了: 完了 1、失敗 0、スキップ 0」と表示されるので確認する.
起動は,Windows のメニューで「Visual Studio 20..」の下の「x64 Native Tools コマンドプロンプト (x64 Native Tools Command Prompt)」を選ぶ.「x64」は,64ビット版の意味である.
Windows のシステム環境変数 Path に c:\NCCL\windows\x64\Debug を追加することにより,パスを通す.
コマンドプロンプトを管理者として実行: 別ページ »で説明
次のコマンドを実行
cd c:\
rmdir /s /q NCCL
git clone https://github.com/MyCaffe/NCCL
cd c:\NCCL
cd windows
nccl.11.8.vcxproj
cd c:\
cd NCCL
msbuild windows\nccl.11.8.vcxproj /p:Platform=x64
copy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\extras\visual_studio_integration\MSBuildExtensions\*.*" "C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\BuildCustomizations"
powershell -command "$oldpath = [System.Environment]::GetEnvironmentVariable(\"Path\", \"Machine\"); $oldpath += \";c:\NCCL\windows\x64\Debug\"; [System.Environment]::SetEnvironmentVariable(\"Path\", $oldpath, \"Machine\")"