NVML support can't be disabled in the build system
If the user wants to disable NVML support (even though all dependencies are found by CMake), this is not possible without editing the cache manually.
Allowed NVML support to be toggled
A new CMake advanced option GMX_USE_NVML takes its default value from
the result of the NVML detection, thus by default NVML support is on
only if the detection succeeds. It can be turned off or on at will,
but when set on, it will give a fatal error if the detection did not
Split the NVML section of the install guide into its own paragraph.
#4 Updated by Szilárd Páll almost 5 years ago
No, it is not. The build system will still link against NVML if the dependencies are detected at any point. The user can't do much about it except reconfiguring and manually "hiding" some of the NVML components from CMake or by editing the cache manually.