Is is possible for me to download older version of HPC SDK (for example 2018 version)? Because, I currently checked and found that NVIDIA only allow to download version 2020 onward. Thank for helping me!
The PGI compilers were re-branded in 2020 to be the NVHPC Compilers included with the NVHPC SDK. No versions of the NVHPC SDK existed before then.
Given the old PGI compilers had a fee, to access the archived releases you need to have had a purchased license. If you do, then you or or organization would have received instructions on accessing the online portal.
Thanks for responding. Could you answer me one more question, please? I found that some coders use “pgcpp” compiler to compile their code with CMake for years ago. However, I could not find this compiler anymore in the current SDK versions (available compilers are: g++, nvc++, nvc, gfortran, c++, gcc, pgc++, pgccc, etc. ). So is this also a problem of current versions and I should had a purchased license of older versions?
I found that some coders use “pgcpp” compiler to compile their code with CMake for years ago.
pgcpp is a very old name for the PGI C++ compiler. The “pgcpp” compiler was renamed back in early 2015 to “pgc++” and removed for the distribution package in 2016. I’m surprised that any cmake would still use it, given it’s not been available for 8 years.
You should be able to simply set the CMake CXX to use “nvc++” instead.