conda-forge / cuda-nvtx-feedstock

A conda-smithy repository for cuda-nvtx.
BSD 3-Clause "New" or "Revised" License
0 stars 9 forks source link

Missing Headers #8

Closed cwharris closed 11 months ago

cwharris commented 11 months ago

Solution to issue cannot be found in the documentation.

Issue

After installing cuda-nvtx, I expected the nvtx3/nvToolsExt.h header to be available in my conda environment, but that is not the case. Notice that the header is installed as part of nsight-compute in a different environment (cyber), but that the header does not exist anywhere in the test environment, which is the active environment.

(test) coder ➜ ~/morpheus $ mamba list | grep cuda-nvtx
cuda-nvtx                 12.1.105             h59595ed_0    conda-forge
(test) coder ➜ ~/morpheus $ sudo find / -name "nvToolsExt.h"
/home/coder/.conda/pkgs/nsight-compute-2023.1.0.15-0/nsight-compute/2023.1.0/host/target-linux-x64/nvtx/include/nvtx3/nvToolsExt.h
/home/coder/.conda/pkgs/nsight-compute-2022.4.0.15-0/nsight-compute/2022.4.0/host/target-linux-x64/nvtx/include/nvtx3/nvToolsExt.h
/home/coder/.conda/pkgs/cuda-nvtx-12.1.105-0/include/nvToolsExt.h
/home/coder/.conda/pkgs/cuda-nvtx-12.1.105-0/include/nvtx3/nvToolsExt.h
/home/coder/.conda/pkgs/cuda-nvtx-11.8.86-0/include/nvToolsExt.h
/home/coder/.conda/pkgs/cuda-nvtx-11.8.86-0/include/nvtx3/nvToolsExt.h
/home/coder/.conda/envs/cyber/nsight-compute/2023.1.0/host/target-linux-x64/nvtx/include/nvtx3/nvToolsExt.h
(test) coder ➜ ~/morpheus $

Installed packages

(test) coder ➜ ~/morpheus $ conda list
# packages in environment at /home/coder/.conda/envs/test:
#
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       2_gnu    conda-forge
bzip2                     1.0.8                hd590300_5    conda-forge
ca-certificates           2023.11.17           hbcca054_0    conda-forge
cuda-nvtx                 12.1.105             h59595ed_0    conda-forge
cuda-version              12.1                 h1d6eff3_2    conda-forge
ld_impl_linux-64          2.40                 h41732ed_0    conda-forge
libffi                    3.4.2                h7f98852_5    conda-forge
libgcc-ng                 13.2.0               h807b86a_3    conda-forge
libgomp                   13.2.0               h807b86a_3    conda-forge
libnsl                    2.0.1                hd590300_0    conda-forge
libsqlite                 3.44.2               h2797004_0    conda-forge
libstdcxx-ng              13.2.0               h7e041cc_3    conda-forge
libuuid                   2.38.1               h0b41bf4_0    conda-forge
libxcrypt                 4.4.36               hd590300_1    conda-forge
libzlib                   1.2.13               hd590300_5    conda-forge
ncurses                   6.4                  h59595ed_2    conda-forge
openssl                   3.2.0                hd590300_1    conda-forge
pip                       23.3.2             pyhd8ed1ab_0    conda-forge
python                    3.10.13         hd12c33a_1_cpython    conda-forge
readline                  8.2                  h8228510_1    conda-forge
setuptools                69.0.3             pyhd8ed1ab_0    conda-forge
tk                        8.6.13          noxft_h4845f30_101    conda-forge
tzdata                    2023d                h0c530f3_0    conda-forge
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h166bdaf_0    conda-forge

### Environment info

```shell
RAPIDS 23.12 devcontainer: https://github.com/rapidsai/devcontainers
jakirkham commented 11 months ago

Headers should be in the dev package ( cuda-nvtx-dev )

https://github.com/conda-forge/cuda-nvtx-feedstock/blob/61f9df0b08701bd3dba72f7e4a0fc202e5681bb9/recipe/meta.yaml#L75-L85

cwharris commented 11 months ago

Thanks!