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
nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2024 NVIDIA Corporation
Built on Thu_Mar_28_02:18:24_PDT_2024
Cuda compilation tools, release 12.4, V12.4.131
Build cuda_12.4.r12.4/compiler.34097967_0
Conda info
active environment : envname
active env location : Userdir/miniconda3/envs/envname
shell level : 2
user config file : storagedir/.condarc
populated config files : storagedir/.condarc
conda version : 24.1.2
conda-build version : not installed
python version : 3.12.1.final.0
solver : libmamba (default)
virtual packages : __archspec=1=skylake
__conda=24.1.2=0
__cuda=12.4=0
__glibc=2.35=0
__linux=5.15.0=0
__unix=0=0
base environment : Userdir/miniconda3 (writable)
conda av data dir : Userdir/miniconda3/etc/conda
conda av metadata url : None
channel URLs : https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
package cache : Userdir/miniconda3/pkgs
storagedir/.conda/pkgs
envs directories : Userdir/miniconda3/envs
storagedir/.conda/envs
platform : linux-64
user-agent : conda/24.1.2 requests/2.31.0 CPython/3.12.1 Linux/5.15.0-112-generic ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.3
UID:GID : 331909:5000093
netrc file : storagedir/.netrc
offline mode : False
The warning nvcc warning : incompatible redefinition for option 'compiler-bindir', the last value of this option was used typically indicates that the compiler-bindir option has been defined multiple times with different values in your build process, and the last one defined is the one that will be used.
Can you check to see if your build scripts (like Makefile, CMakeLists.txt, or any custom build scripts) have multiple definitions of the compiler-bindir option and ensure that it is defined only once.
This happens to me too. No matter what version specified, it always installs cuda 12.4. I have tested it on a new installed Ubuntu 20.04 and miniconda 24.5.0.
I encountered the same issue. It appears that using conda install {channel}::{package} assigns a lower priority to channel compared to defaults, causing version specifications to fail. In contrast, conda install -c {channel} {package} grants the highest priority and successfully applies the version specification. Have no idea why they changed the installation instructions to favor the former method...
Checklist
Impacted product
What happened?
Command -
conda install nvidia/label/cuda-11.8.0::cuda
Un-Expected behavior
nvcc --version
Conda info
Conda config
Conda list
Additional information
Even when I specified different cuda version, it is installing only cuda 12.4.
The text was updated successfully, but these errors were encountered: