Bruno


> See the attached file for your reference and checking.
> The testsuite only runs for CUDA 8.0 and 9.0 can you try one of this
> version of CUDA and see if that helps?
>

When I am using cuda/8.0.61, I get the following error after I do cmake.

[chueh5851a@glogin1 build]$ module list
Currently Loaded Modulefiles:
  1) gcc/6.3.0                        3) blas/gcc/64/3.7.0
5) scalapack/openmpi/gcc/64/2.0.2
  2) mpi/openmpi-3.0.0/gcc630         4) lapack/gcc/64/3.7.0
6) cuda/8.0.61

 -- Include
/work1/chueh5851a/CUDA/dealii/cmake/configure/configure_1_cuda.cmake
-- Found CUDA: /pkg/cuda/8.0.61 (found version "8.0")
-- Configured to use CUDA installation at /pkg/cuda/8.0.61
--   CUDA_VERSION: 8.0
--   CUDA_LIBRARIES:
/pkg/cuda/8.0.61/lib64/libcudart.so;/pkg/cuda/8.0.61/lib64/libcusparse.so;/pkg/cuda/8.0.61/lib64/libcusolver.so
--   CUDA_INCLUDE_DIRS: /pkg/cuda/8.0.61/include
--   CUDA_USER_INCLUDE_DIRS: /pkg/cuda/8.0.61/include
-- Found CUDA
-- Found OpenMP_C: -fopenmp (found version "4.5")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP_Fortran: -fopenmp (found version "4.0")
-- Found OpenMP: TRUE (found version "4.5")
-- 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




  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  cmake/configure/configure_1_cuda.cmake:124 (ENABLE_LANGUAGE)
  build/CMakeFiles/CMakeTmp/evaluate_expression.tmp:1
(FEATURE_CUDA_CONFIGURE_EXTERNAL)
  cmake/macros/macro_evaluate_expression.cmake:30 (INCLUDE)
  cmake/macros/macro_configure_feature.cmake:244 (EVALUATE_EXPRESSION)
  cmake/configure/configure_1_cuda.cmake:164 (CONFIGURE_FEATURE)
  cmake/macros/macro_verbose_include.cmake:19 (INCLUDE)
  CMakeLists.txt:124 (VERBOSE_INCLUDE)


-- Configuring incomplete, errors occurred!
See also "/work1/chueh5851a/CUDA/dealii/build/CMakeFiles/CMakeOutput.log".
See also "/work1/chueh5851a/CUDA/dealii/build/CMakeFiles/CMakeError.log".

Sincerely,

Chih-Che

-- 
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.

Reply via email to