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

3 vues (au cours des 30 derniers jours)
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.

Réponse acceptée

Erik Meade
Erik Meade le 21 Juin 2021
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!

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by