Output of make install when using cuda 9: [ 74%] Building NVCC (Device) object AmberTools/src/cpptraj/src/cuda_kernels/CMakeFiles/cpptraj_cuda_routines.dir/cpptraj_cuda_routines_generated_GistCudaSetup.cu.o In file included from /usr/local/cuda-9.0/include/host_config.h:50:0, from /usr/local/cuda-9.0/include/cuda_runtime.h:78, from :0: /usr/local/cuda-9.0/include/crt/host_config.h:119:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported! #error -- unsupported GNU version! gcc versions later than 6 are not supported! ^~~~~ CMake Error at cpptraj_cuda_routines_generated_GistCudaSetup.cu.o.RELEASE.cmake:220 (message): Error generating /home/sks/Desktop/SUCHETANA/amber20_src/build/AmberTools/src/cpptraj/src/cuda_kernels/CMakeFiles/cpptraj_cuda_routines.dir//./cpptraj_cuda_routines_generated_GistCudaSetup.cu.o AmberTools/src/cpptraj/src/cuda_kernels/CMakeFiles/cpptraj_cuda_routines.dir/build.make:84: recipe for target 'AmberTools/src/cpptraj/src/cuda_kernels/CMakeFiles/cpptraj_cuda_routines.dir/cpptraj_cuda_routines_generated_GistCudaSetup.cu.o' failed make[2]: *** [AmberTools/src/cpptraj/src/cuda_kernels/CMakeFiles/cpptraj_cuda_routines.dir/cpptraj_cuda_routines_generated_GistCudaSetup.cu.o] Error 1 CMakeFiles/Makefile2:6010: recipe for target 'AmberTools/src/cpptraj/src/cuda_kernels/CMakeFiles/cpptraj_cuda_routines.dir/all' failed make[1]: *** [AmberTools/src/cpptraj/src/cuda_kernels/CMakeFiles/cpptraj_cuda_routines.dir/all] Error 2 Makefile:151: recipe for target 'all' failed make: *** [all] Error 2