Hi,
Thank you for your help!
Adding the following line to the CMakeLists.txt file resulted in a successful build:
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
During previous attempts at building I also received these two errors (not all at once):
nvcc fatal : Unknown option '-std:c++17'
nvcc fatal : Unsupported gpu architecture 'compute_35'
To solve these issues, I built with the flag -DGMX_CUDA_TARGET_SM=61
to target my specific GPU architecture.
I also see you commented here that
However, although I am building GROMACS 2023.2 and it successfully detected CUDA 12.2, I still received the compute_35
error when I did not use the -DGMX_CUDA_TARGET_SM
flag.