ECP-WarpX / WarpX

WarpX is an advanced electromagnetic & electrostatic Particle-In-Cell code.
https://ecp-warpx.github.io
Other
294 stars 189 forks source link

Doc: NVTX in Nvidia Conda #5345

Closed ax3l closed 15 hours ago

ax3l commented 1 day ago

The package cuda-nvtx-dev does not seem to be part of the cuda package. https://anaconda.org/nvidia/repo

This fixes:

CMake Error at build/_deps/fetchedamrex-src/Tools/CMake/AMReXParallelBackends.cmake:71 (target_link_libraries):
  Target "amrex_3d" links to:

    CUDA::nvToolsExt

  but the target was not found.  Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.

Call Stack (most recent call first):
  build/_deps/fetchedamrex-src/Src/CMakeLists.txt:40 (include)
ax3l commented 1 day ago

Tested locally, ready for merge :)