I use the following command to install g++ in my conda enviroment:
conda install gxx
After installation, use g++ --version to check the version and got this output:
g++ (conda-forge gcc 12.2.0-19) 12.2.0
However my CUDA version is 11.3 which doesn't work with g++ 12.2.0. Below is the error when I tried to run sh ./make.sh according to this repo:
RuntimeError: The current installed version of g++ (12.2.0) is
greater than the maximum required version by CUDA 11.3 (10.2.1).
Please make sure to use an adequate version of g++ (>=5.0.0,
<=10.2.1).
So my question is what is the conda command to install version 10.2.1 g++?
I tried the following commands and none of them are working:
conda install gxx-10.2.1
conda install gxx@10.2.1
conda install gxx==10.2.1
conda install gxx 10.2.1