<div><div dir="auto">That’s the expected behavior. See <div><a href="https://gist.github.com/ax3l/9489132">https://gist.github.com/ax3l/9489132</a> for details on GCC version requirements of various CUDA releases. </div><div dir="auto"><br></div><div dir="auto">Jeff</div></div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jan 24, 2020 at 10:23 PM Itaru Kitayama via Openmp-dev <<a href="mailto:openmp-dev@lists.llvm.org">openmp-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">CUDA 9.1 installed on to a system that I have access to, when building openmp project<div>with offloading support I get:</div><div><br></div><div>[22/1456] Building NVCC (Device) object projects/...common/src/omptarget-nvptx_generated_support.cu.o<br>FAILED: projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src/omptarget-nvptx_generated_support.cu.o<br>cd /home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src && /home/usr4/c74014i/opt/cmake-3.15.5-Linux-x86_64/bin/cmake -E make_directory /home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src/. && /home/usr4/c74014i/opt/cmake-3.15.5-Linux-x86_64/bin/cmake -D verbose:BOOL=OFF -D build_configuration:STRING=Release -D generated_file:STRING=/home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src/./omptarget-nvptx_generated_support.cu.o -D generated_cubin_file:STRING=/home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src/./omptarget-nvptx_generated_support.cu.o.cubin.txt -P /home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src/omptarget-nvptx_generated_support.cu.o.Release.cmake<br>In file included from /home/app/cuda/9.1/include/host_config.h:50,<br>                 from /home/app/cuda/9.1/include/cuda_runtime.h:78,<br>                 from <command-line>:<br>/home/app/cuda/9.1/include/crt/host_config.h:121:2: error: #error -- unsupported GNU version! gcc versions later than 6 are not supported!<br>  121 | #error -- unsupported GNU version! gcc versions later than 6 are not supported!<br>      |  ^~~~~<br>CMake Error at omptarget-nvptx_generated_support.cu.o.Release.cmake:215 (message):<br>  Error generating<br>  /home/usr4/c74014i/work/build/202001251008/projects/openmp/libomptarget/deviceRTLs/nvptx/CMakeFiles/omptarget-nvptx.dir/__/common/src/./omptarget-nvptx_generated_support.cu.o<br><br></div><div>Should I discuss this with the local admin saying CUDA 9.1 installation is not</div><div>done properly or just this is a limitation of the 9.1 release?</div><div><br></div></div>
_______________________________________________<br>
Openmp-dev mailing list<br>
<a href="mailto:Openmp-dev@lists.llvm.org" target="_blank">Openmp-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev</a><br>
</blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a></div>