--- slurm-slurm-20-02-4-1/auxdir/x_ac_nvml.m4.old 2020-09-22 15:09:44.376709293 -0400 +++ slurm-slurm-20-02-4-1/auxdir/x_ac_nvml.m4 2020-09-22 15:10:03.973210772 -0400 @@ -29,7 +29,7 @@ AC_DEFUN([X_AC_NVML], AC_MSG_WARN([support for nvml disabled]) else # /usr/local/cuda/include is the main location. Others are just in case - nvml_includes="-I/usr/local/cuda/include -I/usr/cuda/include" + nvml_includes="-I/usr/local/cuda/include -I/usr/cuda/include -I/opt/cuda/include" # Check for NVML header and library in the default locations AC_MSG_RESULT([]) cppflags_save="$CPPFLAGS"