You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a bug in configure.ac when using NVTX where the wrong library name, libnvToolsExt64_1 is trying to be linked. This breaks the linker and autotools ends up not being able to build (error for missing OpenSSL and not finding lime, mpfr etc. which we link).
There are two possible simple solutions. The first is removing 4 chars from the lib name, 64_1, which is, to our knowledge, not used in any system we are using. The second is the fact that in more modern versions of CUDA, NVTX has changed to a header-only library (for C/C++ at least) and we can just not link the lib at all as it is no longer needed.
I'm testing both options to make sure that they not only compile but that tracePush() and tracePop()` work and will then create a PR for our version and then upstream.
Code example:
Target platform:
Linux / UNIX based with Nvidia and when trying o use NVTX for tracing.
Configure options:
--enable-tracing=nvtx`Before the suggested fixes, the config.log showed `/usr/bin/ld: cannot find -lnvToolsExt64_1` and configure failed. Now it has compiled and awaiting verification.
The text was updated successfully, but these errors were encountered:
Describe the issue:
There is a bug in configure.ac when using NVTX where the wrong library name,
libnvToolsExt64_1
is trying to be linked. This breaks the linker and autotools ends up not being able to build (error for missing OpenSSL and not finding lime, mpfr etc. which we link).There are two possible simple solutions. The first is removing 4 chars from the lib name,
64_1
, which is, to our knowledge, not used in any system we are using. The second is the fact that in more modern versions of CUDA, NVTX has changed to a header-only library (for C/C++ at least) and we can just not link the lib at all as it is no longer needed.I'm testing both options to make sure that they not only compile but that
tracePush()
and tracePop()` work and will then create a PR for our version and then upstream.Code example:
Target platform:
Linux / UNIX based with Nvidia and when trying o use NVTX for tracing.
Configure options:
The text was updated successfully, but these errors were encountered: