ContinuumIO / anaconda-issues

Anaconda issue tracking
648 stars 224 forks source link

cudatoolkit install incomplete #9676

Open scopatz opened 6 years ago

scopatz commented 6 years ago

Actual Behavior

The example script cuda-install-samples-9.0.sh is not included in the cudatoolkit package

Expected Behavior

This script, and others, should be installed.

Steps to Reproduce

$ conda install cudatoolkit
$ which cuda-install-samples-9.0.sh
Anaconda or Miniconda version:
Operating System:
conda info

     active environment : None
       user config file : /home/scopatz/.condarc
 populated config files : /home/scopatz/.condarc
          conda version : 4.5.4
    conda-build version : 3.10.9
         python version : 3.6.3.final.0
       base environment : /home/scopatz/miniconda3  (writable)
           channel URLs : https://conda.anaconda.org/conda-forge/linux-64
                          https://conda.anaconda.org/conda-forge/noarch
                          https://repo.anaconda.com/pkgs/main/linux-64
                          https://repo.anaconda.com/pkgs/main/noarch
                          https://repo.anaconda.com/pkgs/free/linux-64
                          https://repo.anaconda.com/pkgs/free/noarch
                          https://repo.anaconda.com/pkgs/r/linux-64
                          https://repo.anaconda.com/pkgs/r/noarch
                          https://repo.anaconda.com/pkgs/pro/linux-64
                          https://repo.anaconda.com/pkgs/pro/noarch
          package cache : /home/scopatz/miniconda3/pkgs
                          /home/scopatz/.conda/pkgs
       envs directories : /home/scopatz/miniconda3/envs
                          /home/scopatz/.conda/envs
               platform : linux-64
             user-agent : conda/4.5.4 requests/2.19.1 CPython/3.6.3 Linux/4.15.0-20-generic ubuntu/18.04 glibc/2.27
                UID:GID : 1000:1000
             netrc file : None
           offline mode : False
conda list --show-channel-urls
# packages in environment at /home/scopatz/miniconda3:
#
# Name                    Version                   Build  Channel
_license                  1.1                      py36_1    defaults
absl-py                   0.2.2                      py_0    conda-forge
alabaster                 0.7.11                   py36_2    conda-forge
alsa-lib                  1.1.5                         0    conda-forge
anaconda-client           1.6.14                     py_0    conda-forge
appdirs                   1.4.3                      py_1    conda-forge
argcomplete               1.8.2                    py36_0    conda-forge
asn1crypto                0.24.0                   py36_0    conda-forge
astor                     0.6.2                      py_0    conda-forge
asttokens                 1.1.10                     py_0    conda-forge
atomicwrites              1.1.5                    py36_0    conda-forge
attrs                     18.1.0                     py_1    conda-forge
audioread                 2.1.4                    py36_2    conda-forge
autoconf                  2.69               pl5.22.2.1_5    conda-forge
automake                  1.15.1             pl5.22.2.1_0    conda-forge
awscli                    1.15.45                  py36_0    conda-forge
babel                     2.6.0                    py36_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
backports                 1.0                      py36_1    conda-forge
backports.functools_lru_cache 1.5                      py36_0    conda-forge
backports.shutil_get_terminal_size 1.0.0                      py_3    conda-forge
backports.weakref         1.0rc1                   py36_1    conda-forge
bcolz                     1.2.1                    py36_1    conda-forge
beautifulsoup4            4.6.0                    py36_0    conda-forge
bibtexparser              1.0.1                    py36_0    conda-forge
binstar                   0.12                          2    defaults
bitarray                  0.8.1            py36h470a237_0    conda-forge
bkcharts                  0.2                      py36_0    conda-forge
black                     18.6b2                     py_0    conda-forge
blas                      1.1                    openblas    conda-forge
bleach                    1.5.0                    py36_0    conda-forge
blinker                   1.4                        py_1    conda-forge
blz                       removed                       0    defaults
bokeh                     0.12.16                  py36_0    conda-forge
boost                     1.65.1                   py36_0    conda-forge
boost-cpp                 1.65.1                        1    conda-forge
boto                      2.48.0           py36h6e4cd66_1    defaults
boto3                     1.7.45                     py_0    conda-forge
botocore                  1.10.45                    py_0    conda-forge
bz2file                   0.98                     py36_0    defaults
bzip2                     1.0.6                         1    conda-forge
ca-certificates           2018.4.16                     0    conda-forge
cairo                     1.14.6                        5    conda-forge
cerberus                  1.2                      py36_0    conda-forge
certifi                   2018.4.16                py36_0    conda-forge
cffi                      1.11.5                   py36_0    conda-forge
chardet                   3.0.4                    py36_0    conda-forge
chrpath                   0.16                          0    conda-forge
clangdev                  6.0.0                 default_0    conda-forge
click                     6.7                        py_1    conda-forge
cloog                     0.18.0                        0    defaults
cloudpickle               0.5.3                      py_0    conda-forge
clyent                    1.2.2                    py36_0    conda-forge
cmake                     3.11.4                        0    conda-forge
coincbc                   2.9.9           blas_openblas_0  [blas_openblas]  conda-forge
colorama                  0.3.9                    py36_0    conda-forge
conda                     4.5.4                    py36_0    conda-forge
conda-build               3.10.9                   py36_0    conda-forge
conda-build-all           1.1.3                      py_0    conda-forge
conda-env                 2.6.0                         0    conda-forge
conda-forge-pinning       2018.06.19                    1    conda-forge
conda-smithy              3.1.6                      py_0    conda-forge
conda-verify              2.0.0                    py36_0    conda-forge
configobj                 5.0.6                    py36_0    defaults
cryptography              2.2.1                    py36_0    conda-forge
cudatoolkit               9.0                  h13b8566_0    defaults
curl                      7.60.0                        0    conda-forge
cycler                    0.10.0                   py36_0    conda-forge
cyclus-build-deps         1.5.0           py36_blas_openblas_4  [blas_openblas]  conda-forge
cython                    0.28.3           py36hfc679d8_0    conda-forge
cytoolz                   0.9.0.1                  py36_0    conda-forge
dask                      0.18.1                     py_0    conda-forge
dask-core                 0.18.1                     py_0    conda-forge
datashape                 0.5.4                    py36_0    conda-forge
dbus                      1.13.0               h3a4f0e9_0    conda-forge
decorator                 4.3.0                      py_0    conda-forge
defusedxml                0.5.0                    py36_0    conda-forge
distributed               1.22.0                   py36_0    conda-forge
django                    2.0.6                    py36_0    conda-forge
django-extensions         2.0.7                      py_0    conda-forge
django-haystack           2.8.1                      py_0    conda-forge
django-widget-tweaks      1.4.2                      py_0    conda-forge
djangorestframework       3.8.2                      py_0    conda-forge
docutils                  0.14                     py36_0    conda-forge
drf-haystack              1.8.2                      py_0    conda-forge
dynd-python               removed                       0    defaults
embree                    2.14.0                        0    conda-forge
entrypoints               0.2.3                    py36_1    conda-forge
et_xmlfile                1.0.1                    py36_0    conda-forge
eventlet                  0.23.0                   py36_0    conda-forge
expat                     2.2.5                         0    conda-forge
fastcache                 1.0.2                    py36_0    conda-forge
ffmpeg                    2.8.6                         5    conda-forge
filelock                  3.0.4                    py36_0    conda-forge
flake8                    3.5.0                    py36_0    conda-forge
flake8-import-order       0.17.1                     py_0    conda-forge
flake8-polyfill           1.0.2                      py_0    conda-forge
flask                     1.0.2                      py_1    conda-forge
flask-socketio            3.0.1                      py_0    conda-forge
fontconfig                2.12.1                        6    conda-forge
freetype                  2.7                           2    conda-forge
funcsigs                  1.0.2                      py_2    conda-forge
future                    0.16.0                   py36_0    conda-forge
gast                      0.2.0                      py_0    conda-forge
gcc                       4.8.5                         7    defaults
gensim                    3.4.0                    py36_0    conda-forge
gettext                   0.19.8.1                      0    conda-forge
ghostscript               9.22                          0    conda-forge
git-lfs                   2.4.2                         0    conda-forge
gitdb                     0.6.4                    py36_1    conda-forge
gitdb2                    2.0.3                      py_0    conda-forge
github3.py                1.1.0                    py36_0    conda-forge
gitpython                 2.1.10                     py_0    conda-forge
glib                      2.51.4                        0    conda-forge
glibmm                    2.48.1                        2    conda-forge
glob2                     0.6                        py_0    conda-forge
gmp                       6.1.2                hfc679d8_0    conda-forge
gmpy2                     2.0.8                    py36_1    conda-forge
gnutls                    3.5.17                        0    conda-forge
graphite2                 1.3.11               hfc679d8_0    conda-forge
graphviz                  2.38.0                        6    conda-forge
greenlet                  0.4.13                   py36_0    conda-forge
grpcio                    1.12.1           py36hdbcaa40_0    defaults
gst-plugins-base          1.8.0                         0    conda-forge
gstreamer                 1.8.0                         2    conda-forge
h5py                      2.7.1                    py36_1    conda-forge
harfbuzz                  1.4.3                         0    conda-forge
hdf5                      1.8.18                        3    conda-forge
heapdict                  1.0.0                    py36_0    conda-forge
html5lib                  0.9999999                py36_0    conda-forge
icu                       58.2                 hfc679d8_0    conda-forge
idna                      2.7                      py36_0    conda-forge
imageio                   2.3.0                    py36_0    conda-forge
imagesize                 1.0.0                    py36_0    conda-forge
intel-openmp              2018.0.3                      0    defaults
ipykernel                 4.8.2                    py36_0    conda-forge
ipython                   6.4.0                    py36_0    conda-forge
ipython_genutils          0.2.0                    py36_0    conda-forge
ipywidgets                7.2.1                    py36_1    conda-forge
isl                       0.12.2                        0    defaults
itsdangerous              0.24                       py_2    conda-forge
itypes                    1.1.0                      py_0    conda-forge
jbig                      2.1                           0    conda-forge
jdcal                     1.4                      py36_0    conda-forge
jedi                      0.12.0                   py36_0    conda-forge
jinja2                    2.10                     py36_0    conda-forge
jmespath                  0.9.3                    py36_0    conda-forge
joblib                    0.12                       py_0    conda-forge
jpeg                      9b                            2    conda-forge
jsoncpp                   1.8.1                h2d50403_1    conda-forge
jsonschema                2.6.0                    py36_1    conda-forge
jupyter                   1.0.0                      py_1    conda-forge
jupyter_client            5.2.3                    py36_0    conda-forge
jupyter_console           5.2.0                    py36_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
keras                     2.1.6                    py36_0    conda-forge
kiwisolver                1.0.1                    py36_1    conda-forge
krb5                      1.14.6                        0    conda-forge
lapack                    3.6.1                         1    conda-forge
latexcodec                1.0.5                    py36_0    conda-forge
libarchive                3.3.2                         0    conda-forge
libcurl                   7.60.0               h1ad7b7a_0    defaults
libdynd                   0.7.2                         0    defaults
libffi                    3.2.1                         3    conda-forge
libflac                   1.3.1                         0    conda-forge
libgcc                    7.2.0                h69d50b8_2    defaults
libgcc-ng                 7.2.0                hdf63c60_3    defaults
libgfortran               3.0.0                         1    defaults
libgpuarray               0.7.6                         0    conda-forge
libiconv                  1.15                 h470a237_1    conda-forge
libidn11                  1.33                          0    conda-forge
libogg                    1.3.2                         0    conda-forge
libpng                    1.6.28                        2    conda-forge
libprotobuf               3.5.2                         0    conda-forge
libsigcpp                 2.10.0               hfc679d8_0    conda-forge
libsndfile                1.0.28                        0    conda-forge
libsodium                 1.0.16                        0    conda-forge
libssh2                   1.8.0                h5b517e9_2    conda-forge
libstdcxx-ng              7.2.0                hdf63c60_3    defaults
libtiff                   4.0.7                         1    conda-forge
libtool                   2.4.6                         0    conda-forge
libuuid                   1.0.3                         1    conda-forge
libuv                     1.20.3                        0    conda-forge
libvorbis                 1.3.5                         0    conda-forge
libxcb                    1.13                 h470a237_0    conda-forge
libxml2                   2.9.8                         0    conda-forge
libxmlpp                  2.40.1                        2    conda-forge
libxslt                   1.1.32                        0    conda-forge
line_profiler             2.1.2            py36h470a237_1    conda-forge
llvm-meta                 6.0.0                         0    conda-forge
llvmdev                   6.0.0                 default_3    conda-forge
llvmlite                  0.23.0                   py36_1    conda-forge
locket                    0.2.0                    py36_1    conda-forge
lxml                      4.2.2            py36hc9114bc_0    conda-forge
lzo                       2.10                          0    conda-forge
m4                        1.4.18                        0    conda-forge
make                      4.2.1                         0    conda-forge
mako                      1.0.7                    py36_0    conda-forge
markdown                  2.6.11                     py_0    conda-forge
markupsafe                1.0                      py36_0    conda-forge
matplotlib                2.1.1                    py36_0    conda-forge
mccabe                    0.6.1                    py36_0    conda-forge
mistune                   0.8.3                    py36_1    conda-forge
mkl                       2018.0.3                      1    defaults
mkl-rt                    11.1                         p0    defaults
mock                      2.0.0                    py36_0    conda-forge
more-itertools            4.2.0                      py_0    conda-forge
mpc                       1.1.0                         4    conda-forge
mpfr                      3.1.5                         0    conda-forge
mpi                       1.0                       mpich    conda-forge
mpich                     3.2.1                         1    conda-forge
mpmath                    1.0.0                      py_0    conda-forge
msgpack-python            0.5.6            py36h2d50403_2    conda-forge
multipledispatch          0.5.0                    py36_0    conda-forge
nbconvert                 5.3.1                      py_1    conda-forge
nbformat                  4.4.0                    py36_0    conda-forge
ncurses                   5.9                          10    conda-forge
ndg-httpsclient           0.4.4                    py36_0    conda-forge
nettle                    3.3                           0    conda-forge
networkx                  2.1                      py36_0    conda-forge
nltk                      3.2.5                      py_0    conda-forge
nodejs                    9.11.1                        0    conda-forge
nose                      1.3.7                    py36_2    conda-forge
notebook                  5.5.0                    py36_0    conda-forge
numba                     0.38.1                   py36_0    conda-forge
numexpr                   2.6.5                    py36_0    conda-forge
numpy                     1.13.3          py36_blas_openblas_200  [blas_openblas]  conda-forge
numpydoc                  0.8.0                    py36_0    conda-forge
oauthlib                  2.1.0                      py_0    conda-forge
odo                       0.5.1                    py36_0    conda-forge
olefile                   0.45.1                   py36_0    conda-forge
openblas                  0.2.19                        2    conda-forge
openmc                    0.10.0           py36hd48d353_1    conda-forge
openpyxl                  2.5.4                    py36_0    conda-forge
openssl                   1.0.2o                        0    conda-forge
oset                      0.1.3                    py36_0    conda-forge
packaging                 17.1                       py_0    conda-forge
pandas                    0.23.1                   py36_0    conda-forge
pandoc                    2.2.1                         0    conda-forge
pandocfilters             1.4.2                    py36_0    conda-forge
pango                     1.40.4                        0    conda-forge
parso                     0.2.1                      py_0    conda-forge
partd                     0.3.8                    py36_0    conda-forge
patchelf                  0.9                           2    conda-forge
path.py                   11.0.1                     py_0    conda-forge
patsy                     0.5.0                    py36_0    conda-forge
pbr                       4.0.4                      py_0    conda-forge
pcre                      8.41                          1    conda-forge
pep8                      1.7.1                      py_0    conda-forge
pep8-naming               0.7.0                      py_0    conda-forge
perl                      5.22.2.1                      0    conda-forge
pexpect                   4.6.0                    py36_0    conda-forge
pickleshare               0.7.4                    py36_0    conda-forge
pillow                    4.3.0                    py36_1    conda-forge
pip                       9.0.3                    py36_0    conda-forge
pixman                    0.34.0                        2    conda-forge
pkg-config                0.29.2                        1    conda-forge
pkginfo                   1.4.2                    py36_0    conda-forge
pluggy                    0.6.0                      py_0    conda-forge
ply                       3.11                     py36_0    conda-forge
portaudio                 19.6.0                        0    conda-forge
pprintpp                  0.3.0                    py36_0    conda-forge
prettytable               0.7.2                    py36_1    conda-forge
profimp                   0.0.3                      py_0    conda-forge
prompt_toolkit            1.0.15                   py36_0    conda-forge
protobuf                  3.5.2                    py36_0    conda-forge
psutil                    5.4.6                    py36_0    conda-forge
ptyprocess                0.6.0                    py36_0    conda-forge
pv                        1.6.6                         0    conda-forge
py                        1.5.3                      py_0    conda-forge
pyasn1                    0.4.3                      py_0    conda-forge
pybtex                    0.21                     py36_0    conda-forge
pybtex-docutils           0.2.1                    py36_0    conda-forge
pycodestyle               2.3.1                    py36_0    conda-forge
pycosat                   0.6.3                    py36_0    conda-forge
pycparser                 2.18                     py36_0    conda-forge
pycrypto                  2.6.1                    py36_1    conda-forge
pycurl                    7.43.0.2         py36hb7f436b_0    defaults
pyflakes                  1.6.0                    py36_0    conda-forge
pygithub                  1.39                     py36_0    conda-forge
pygments                  2.2.0                    py36_0    conda-forge
pygpu                     0.7.6                    py36_0    conda-forge
pyjwt                     1.6.4                      py_0    conda-forge
pyopenssl                 18.0.0                   py36_0    conda-forge
pyparsing                 2.2.0                    py36_0    conda-forge
pyqt                      5.6.0                    py36_5    conda-forge
pysocks                   1.6.8                    py36_1    conda-forge
pysoundfile               0.10.1                     py_0    conda-forge
pystan                    2.17.1.0                 py36_0    conda-forge
pytables                  3.4.2                    py36_6    conda-forge
pytest                    3.6.2                    py36_0    conda-forge
pytest-django             3.3.2                      py_0    conda-forge
pytest-django-haystack    0.3.0                      py_0    conda-forge
pytest-tornado            0.5.0                      py_0    conda-forge
python                    3.6.3                         1    conda-forge
python-coreapi            2.3.3                      py_0    conda-forge
python-coreschema         0.0.4                      py_0    conda-forge
python-crfsuite           0.9.5            py36h470a237_0    conda-forge
python-dateutil           2.7.3                      py_0    conda-forge
python-engineio           2.1.1                      py_0    conda-forge
python-graphviz           0.8.3                    py36_0    conda-forge
python-socketio           1.9.0                      py_0    conda-forge
python-sounddevice        0.3.11                     py_0    conda-forge
python3-openid            3.1.0                    py36_0    conda-forge
pytz                      2018.4                     py_0    conda-forge
pywavelets                0.5.2                    py36_1    conda-forge
pyyaml                    3.12                     py36_1    conda-forge
pyzmq                     17.0.0                   py36_4    conda-forge
qt                        5.6.2                         6    conda-forge
qtconsole                 4.3.1                    py36_0    conda-forge
qtpy                      1.4.2            py36h8a2030e_0    conda-forge
readline                  6.2                           0    conda-forge
redis                     4.0.10               h14c3975_0    defaults
redis-py                  2.10.6                     py_0    conda-forge
requests                  2.19.1                   py36_0    conda-forge
requests-oauthlib         0.8.0                    py36_1    conda-forge
rhash                     1.3.4                         0    conda-forge
rope                      0.10.7                   py36_0    conda-forge
rsa                       3.4.2                    py36_0    conda-forge
ruamel.yaml               0.15.40                  py36_0    conda-forge
ruamel_yaml               0.15.40          py36h470a237_0    conda-forge
ruby                      2.4.2                         1    conda-forge
s3fs                      0.1.5                      py_0    conda-forge
s3transfer                0.1.13                   py36_0    conda-forge
scikit-image              0.14.0           py36hfc679d8_1    conda-forge
scikit-learn              0.19.1          py36_blas_openblas_200  [blas_openblas]  conda-forge
scipy                     0.19.1          py36_blas_openblas_202  [blas_openblas]  conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                39.2.0                   py36_0    conda-forge
sigcpp                    2.30.0                        0    cyclus
simplegeneric             0.8.1                    py36_0    conda-forge
simplejson                3.15.0                   py36_0    conda-forge
sip                       4.18                     py36_1    conda-forge
six                       1.11.0                   py36_1    conda-forge
smart_open                1.5.7                    py36_0    conda-forge
smmap                     0.9.0                    py36_1    conda-forge
smmap2                    2.0.3                    py36_0    conda-forge
snowballstemmer           1.2.1                    py36_0    conda-forge
social-auth-app-django    2.1.0                      py_0    conda-forge
social-auth-core          1.7.0                      py_0    conda-forge
sockjs-tornado            1.0.3                    py36_0    defaults
sortedcontainers          2.0.4                    py36_0    conda-forge
sphinx                    1.7.5                    py36_0    conda-forge
sphinx_rtd_theme          0.4.0                    py36_0    conda-forge
sphinxcontrib-bibtex      0.4.0                    py36_0    conda-forge
sphinxcontrib-websupport  1.0.1                    py36_0    conda-forge
sqlalchemy                1.2.8                    py36_0    conda-forge
sqlite                    3.13.0                        1    conda-forge
statsmodels               0.9.0                    py36_0    conda-forge
sympy                     1.1.1                    py36_0    conda-forge
system                    5.8                           2    defaults
tblib                     1.3.2                    py36_0    conda-forge
tensorboard               1.8.0                    py36_1    conda-forge
tensorflow                1.8.0                    py36_1    conda-forge
termcolor                 1.1.0                    py36_1    conda-forge
terminado                 0.8.1                    py36_0    conda-forge
testpath                  0.3.1                    py36_0    conda-forge
theano                    1.0.2                    py36_0    conda-forge
tk                        8.5.19                        2    conda-forge
toml                      0.9.4                      py_0    conda-forge
toolz                     0.9.0                      py_0    conda-forge
tornado                   5.0.2                    py36_0    conda-forge
tox                       2.9.1                      py_0    conda-forge
tqdm                      4.23.4                     py_0    conda-forge
traitlets                 4.3.2                    py36_0    conda-forge
twython                   3.7.0                      py_0    conda-forge
typing                    3.6.4                    py36_0    conda-forge
ujson                     1.35                     py36_0    conda-forge
uncertainties             3.0.2                    py36_1    conda-forge
unyt                      1.0.4                    py36_0    conda-forge
uritemplate               3.0.0                    py36_0    conda-forge
uritemplate.py            3.0.2                    py36_0    conda-forge
urllib3                   1.23                     py36_0    conda-forge
urwid                     1.3.1                    py36_0    conda-forge
util-linux                2.21                          0    defaults
virtualenv                15.1.0                   py36_0    conda-forge
vitables                  3.0.0                         3    conda-forge
wcwidth                   0.1.7                    py36_0    conda-forge
webencodings              0.5                      py36_0    conda-forge
websockets                5.0.1                    py36_0    conda-forge
werkzeug                  0.14.1                     py_0    conda-forge
wheel                     0.31.0                   py36_0    conda-forge
whoosh                    2.7.4                    py36_0    conda-forge
widgetsnbextension        3.2.1                    py36_0    conda-forge
x264                      20131218                      0    conda-forge
xlrd                      1.1.0                      py_2    conda-forge
xlsxwriter                1.0.5                      py_0    conda-forge
xlwt                      1.3.0                    py36_0    conda-forge
xonsh                     0.6.7                     <pip>
xorg-kbproto              1.0.7                         1    conda-forge
xorg-libice               1.0.9                         2    conda-forge
xorg-libsm                1.2.2                         2    conda-forge
xorg-libx11               1.6.5                         0    conda-forge
xorg-libxau               1.0.8                         3    conda-forge
xorg-libxdmcp             1.1.2                         3    conda-forge
xorg-libxext              1.3.3                         2    conda-forge
xorg-libxrender           0.9.10                        0    conda-forge
xorg-libxt                1.1.5                         0    conda-forge
xorg-renderproto          0.11.1                        1    conda-forge
xorg-xextproto            7.3.0                         1    conda-forge
xorg-xproto               7.0.31                        6    conda-forge
xz                        5.2.3                         0    conda-forge
yaml                      0.1.7                         0    conda-forge
yasm                      1.3.0                         0    conda-forge
zeromq                    4.2.5                         1    conda-forge
zict                      0.1.3                      py_0    conda-forge
zlib                      1.2.11               h470a237_3    conda-forge
jjhelmus commented 6 years ago

You should not expect cudatoolkit to contain all the files which are included in a full CUDA install. Rather cudatoolkit included the libraries which are redistributable and are used in downstream packages. cuda-install-samples-9.0.sh is not included in the list of redistributable files.

scopatz commented 6 years ago

Thanks for pointing this out @jjhelmus, but I would think that this would fall under section 2.1 of the license which says:

You may distribute the sample source code as delivered by NVIDIA and/or your Derivatives, 
provided that all NVIDIA copyright notices and trademarks are maintained and used
properly and the sample source code includes the following notice: “This software contains 
source code provided by NVIDIA Corporation.”
scopatz commented 6 years ago

Also it looks like according to Appendix B, CUDA-GDB seems to be redistributable, because it is GPL'd

jjhelmus commented 6 years ago

Lets back up a bit. The cudatoolkit conda package is intended to provide a common set of shared libraries which are needed by packages such as Tensorflow, PyTorch, XGBoost and CuPy which can make use of CUDA. By providing these libraries in the cudatoolkit package, the host system only needs to provide a compatible NVIDIA CUDA driver to run these various GPU accelerated software packages.

NVIDIA makes available other CUDA related libraries, executables and files. Some of these are available as separate conda packages. For example the NVIDIA CUDA Deep Neural Network (CuDNN) library is available via the cudnn package and the cupti package provides the CUDA Profiling Tools Interface library. Conda packages which make use of these libraries can declare them as dependencies.

There are other components which would be useful to include in conda packages but there are issues with redistribution. An example of this would be, nvcc which would allow run time compilation of CUDA kernels. In theses cases the recommendation is to install these tools directly on the host system.

Finally, there are components of the CUDA offering which could be included in conda packages if there is sufficient interest. My guess is that CUDA-GDB and cuda-install-samples-9.0.sh would be on this list. It would be good if these components were provided as separate packages rather than including them in the cudatoolkit package itself in order to keep the size of cudatoolkit down and to keep the contents consistent. If you have suggestions for the names, contents or even recipes of these other packages we would welcome them. As a referenc,e the recipe for cudatoolkit can be found in the numba/conda-recipe-cudatoolkit repository.

mikechen66 commented 5 years ago

How to delete cuda and cudnn from Conda?

Since Conda-installed CUDA has the error as follows, I want to remove conda-installed cuda and cudnn, and install independent CUDA and cudnn from Nvidia.

Error : Failed to get convolution algorithm. This is probably because cuDNN failed to initialize, so try looking to see if a warning log message was printed above.

However, while I use the commands as follows but can not remove them, I can not remove them.l conda remove --name cuda --all conda remove --name cudnn --all

I see that two documents including cudatoolkit-10.0.130-0 and cudnn-7.3.1-cuda10.0.0_0 in the path as follows.

/home/anaconda3/pkgs/cudatoolkit-10.0.130-0 /home/anaconda3/pkgs/cudnn-7.3.1-cuda10.0.0_0

How can I delete cuda and cudnn embedded in Anaconda.

Thanks in advance,

Mike