Why do I get the error "UnknownSe​rverPort_D​iagnostics - 0" when running gpucoder.profile on Windows?

1 次查看(过去 30 天)
When running gpucoder.profile, I receive an error output that looks like this:
UnknownServerPort_Diagnostics - 0
UnknownServerPort_Diagnostics - 1
UnknownServerPort_Diagnostics - 2
Error using gpucoder.profile (line 41)
Could not parse server port number from application output:
To manually test launching the executable run the command line:
C:\Temp\foo\codegen\dll\foo\sil\foo.exe
-port 0 -blocking 1.

采纳的回答

Erik Meade
Erik Meade 2021-6-21
Ensure that you have a proper installation of nvprof.exe from Nvidia. All versions of MATLAB prior to and including R2021a use nvprof.exe to perform gpucoder.profile. An easy way to ensure that nvprof.exe is installed properly is to simply open up a Command Prompt window and run you local nvprof.exe installation.
nvprof.exe relies on several DLL's from Nvidia, such as the CUPTI (CUDA Profiling Tools Interface) DLL. Verify that your nvprof.exe has run properly by calling:
nvprof.exe --version
If it has been properly installed, you should see corresponding version information, otherwise, if you see a missing DLL error or if the error returns a Windows error code of -1073741515 (0xc0000135), then nvprof.exe has not been properly installed. Follow instructions for installing nvprof at the Nvidia website.
Once you are able to run nvprof.exe from a command prompt window, you should be able to run gpucoder.profile with no problem!

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by