Bruno, You are right. With installing gcc 5 and module load it, deal.II can be successfully installed with CUDA in the GPU machine I am using. Thanks!
Right now, I would like to know this: is there any existing deal.II code example I could use to run on a machine with CUDA-aware MPI? Thanks! Sincerely, Chih-Che On Thu, Nov 8, 2018 at 10:58 PM Bruno Turcksin <bruno.turck...@gmail.com> wrote: > Chih-Che, > > Le jeu. 8 nov. 2018 à 09:49, Chih-Che Chueh <chue...@gmail.com> a écrit : > > -- The CUDA compiler identification is unknown > > -- Check for working CUDA compiler: /pkg/cuda/8.0.61/bin/nvcc > > -- Check for working CUDA compiler: /pkg/cuda/8.0.61/bin/nvcc -- broken > > CMake Error at /usr/share/cmake3/Modules/CMakeTestCUDACompiler.cmake:46 > (message): > > The CUDA compiler > > > > "/pkg/cuda/8.0.61/bin/nvcc" > > > > is not able to compile a simple test program. > > > > It fails with the following output: > > > > Change Dir: /work1/chueh5851a/CUDA/dealii/build/CMakeFiles/CMakeTmp > > > > Run Build Command:"/usr/bin/gmake" "cmTC_67f8a/fast" > > /usr/bin/gmake -f CMakeFiles/cmTC_67f8a.dir/build.make > CMakeFiles/cmTC_67f8a.dir/build > > gmake[1]: Entering directory > `/work1/chueh5851a/CUDA/dealii/build/CMakeFiles/CMakeTmp' > > Building CUDA object CMakeFiles/cmTC_67f8a.dir/main.cu.o > > /pkg/cuda/8.0.61/bin/nvcc -x cu -c > /work1/chueh5851a/CUDA/dealii/build/CMakeFiles/CMakeTmp/main.cu -o > CMakeFiles/cmTC_67f8a.dir/main.cu.o > > nvcc warning : The 'compute_20', 'sm_20', and 'sm_21' architectures > are deprecated, and may be removed in a future release (Use > -Wno-deprecated-gpu-targets to suppress warning). > > In file included from > /pkg/cuda/8.0.61/bin/..//include/cuda_runtime.h:78:0, > > from <command-line>:0: > > /pkg/cuda/8.0.61/bin/..//include/host_config.h:119:2: error: #error > -- unsupported GNU version! gcc versions later than 5 are not supported! > > #error -- unsupported GNU version! gcc versions later than 5 are > not supported! > > ^~~~~ > > gmake[1]: *** [CMakeFiles/cmTC_67f8a.dir/main.cu.o] Error 1 > > gmake[1]: Leaving directory > `/work1/chueh5851a/CUDA/dealii/build/CMakeFiles/CMakeTmp' > > gmake: *** [cmTC_67f8a/fast] Error 2 > This is because of a change we just did here > <https://github.com/dealii/dealii/pull/7370>. You will need to use GCC 5 > instead of GCC 6. > > Best, > > Bruno > > -- > The deal.II project is located at http://www.dealii.org/ > For mailing list/forum options, see > https://groups.google.com/d/forum/dealii?hl=en > --- > You received this message because you are subscribed to the Google Groups > "deal.II User Group" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to dealii+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- The deal.II project is located at http://www.dealii.org/ For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en --- You received this message because you are subscribed to the Google Groups "deal.II User Group" group. To unsubscribe from this group and stop receiving emails from it, send an email to dealii+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.