CMake Error at /usr/local/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find CUDA: Found unsuitable version “9.1”, but required is at least “11.0” (found /usr) Call Stack (most recent call first): /usr/local/share/cmake-3.30/Modules/FindPackageHandleStandardArgs.cmake:601 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake-3.30/Modules/FindCUDA.cmake:1294 (find_package_handle_standard_args) cmake/gmxManageCuda.cmake:42 (find_package) CMakeLists.txt:610 (include)
The above one is error that pop ups during gromacs installation with cuda. But we already have installed cuda version 12.1, but the error says it has unsuitable version 9.1. Please help to fix this error
Are you sure you installed version 12.1? What is the result if you check the version with something like nvcc --version?
If you have two cuda installations you have to point to the correct one when installing, so or add the path to the installation to your paths/library paths or refer to them during the cmake passage in the installation.
show the results for nvcc --version and nvidia-smi. The versions of these will likely not match, which is fine because they are separate. I am guessing that nvidia-smi is the 9.1, or you need to mess around with $PATH. I’ve attached a helpful post to better understand how CUDA works
We have even checked the nvcc --version and it shows version 12.1 and we checked using path and still it shows 12.1. But we dont know why this error still pops up.