Hey everyone,
Sorry I have been working on this problem for a few day. I believe the
problem is with the mating of deal.II and CUDA because after installing
CUDA it passed all the post installation tests. The error mentions the
atomicAdd() function for doubles which is only for compute capability 6.x+
according to CUDA and my gpu is 5.0 but deal.II says it only needs compute
capability of 3.2+ so I figure the problem isn't that simple. Below is the
error code and attached are the log files.
Thanks for any help ahead of time! And sorry if there is anything I missed
to include as this is my first post on here. I will correct it as soon as I
can when notified. Thank you again!
Building CUDA object
source/lac/CMakeFiles/obj_lac_release.dir/cuda_kernels.cu.o
nvcc warning : The 'compute_35', 'compute_37', 'compute_50', 'sm_35',
'sm_37' and 'sm_50' architectures are deprecated, and may be removed in a
future release (Use -Wno-deprecated-gpu-targets to suppress warning).
/home/sjohnson/Downloads/dealii-9.4.1/include/deal.II/lac/cuda_atomic.h(54):
error: no instance of overloaded function "atomicAdd" matches the argument
list
argument types are: (double *, double)
/home/sjohnson/Downloads/dealii-9.4.1/include/deal.II/lac/cuda_kernels.templates.h(96):
error: no instance of overloaded function "atomicAdd" matches the argument
list
argument types are: (double *, const double)
detected during instantiation of "Number
dealii::LinearAlgebra::CUDAWrappers::kernel::ElemSum<Number>::atomic_op(Number
*, Number) [with Number=double]"
/home/sjohnson/Downloads/dealii-9.4.1/source/lac/cuda_kernels.cu(160): here
/home/sjohnson/Downloads/dealii-9.4.1/include/deal.II/lac/cuda_kernels.templates.h(132):
error: no instance of overloaded function "atomicAdd" matches the argument
list
argument types are: (double *, const double)
detected during instantiation of "Number
dealii::LinearAlgebra::CUDAWrappers::kernel::L1Norm<Number>::atomic_op(Number
*, Number) [with Number=double]"
/home/sjohnson/Downloads/dealii-9.4.1/source/lac/cuda_kernels.cu(161): here
/home/sjohnson/Downloads/dealii-9.4.1/include/deal.II/lac/cuda_kernels.templates.h(272):
error: no instance of overloaded function "atomicAdd" matches the argument
list
argument types are: (double *, const double)
detected during instantiation of "Number
dealii::LinearAlgebra::CUDAWrappers::kernel::DotProduct<Number>::atomic_op(Number
*, Number) [with Number=double]"
/home/sjohnson/Downloads/dealii-9.4.1/source/lac/cuda_kernels.cu(175): here
4 errors detected in the compilation of
"/home/sjohnson/Downloads/dealii-9.4.1/source/lac/cuda_kernels.cu".
make[2]: *** [source/lac/CMakeFiles/obj_lac_release.dir/build.make:583:
source/lac/CMakeFiles/obj_lac_release.dir/cuda_kernels.cu.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:3790:
source/lac/CMakeFiles/obj_lac_release.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/eb4eb66d-b139-4d5e-b33b-859e9838a119n%40googlegroups.com.
###
#
# deal.II configuration:
# CMAKE_BUILD_TYPE: DebugRelease
# BUILD_SHARED_LIBS: ON
# CMAKE_INSTALL_PREFIX: /home/sjohnson
# CMAKE_SOURCE_DIR: /home/sjohnson/Downloads/dealii-9.4.1
# (version 9.4.1)
# CMAKE_BINARY_DIR: /home/sjohnson/Downloads/dealii-9.4.1/build
# CMAKE_CXX_COMPILER: GNU 9.4.0 on platform Linux x86_64
# /usr/bin/c++
# C++ language standard: C++14
# CMAKE_C_COMPILER: /usr/bin/cc
# CMAKE_Fortran_COMPILER: /usr/bin/gfortran
# CMAKE_GENERATOR: Unix Makefiles
#
# Base configuration (prior to feature configuration):
# DEAL_II_CXX_FLAGS: -fPIC -Wall -Wextra -Wmissing-braces -Woverloaded-virtual -Wpointer-arith -Wsign-compare -Wsuggest-override -Wswitch -Wsynth -Wwrite-strings -Wno-placement-new -Wno-deprecated-declarations -Wno-literal-suffix -Wno-psabi -Wno-class-memaccess -fopenmp-simd
# DEAL_II_CXX_FLAGS_RELEASE: -O2 -funroll-loops -funroll-all-loops -fstrict-aliasing -Wno-unused-local-typedefs
# DEAL_II_CXX_FLAGS_DEBUG: -O0 -ggdb -Wa,--compress-debug-sections
# DEAL_II_LINKER_FLAGS: -rdynamic -fuse-ld=gold -lpthread -fopenmp
# DEAL_II_LINKER_FLAGS_RELEASE:
# DEAL_II_LINKER_FLAGS_DEBUG: -ggdb
# DEAL_II_DEFINITIONS:
# DEAL_II_DEFINITIONS_RELEASE: NDEBUG
# DEAL_II_DEFINITIONS_DEBUG: DEBUG
# DEAL_II_USER_DEFINITIONS:
# DEAL_II_USER_DEFINITIONS_REL: NDEBUG
# DEAL_II_USER_DEFINITIONS_DEB: DEBUG
# DEAL_II_INCLUDE_DIRS
# DEAL_II_USER_INCLUDE_DIRS:
# DEAL_II_BUNDLED_INCLUDE_DIRS:
# DEAL_II_LIBRARIES:
# DEAL_II_LIBRARIES_RELEASE:
# DEAL_II_LIBRARIES_DEBUG:
# DEAL_II_VECTORIZATION_WIDTH_IN_BITS: 0
# DEAL_II_HAVE_CXX14
#
# Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
# ( DEAL_II_WITH_64BIT_INDICES = OFF )
# ( DEAL_II_WITH_ADOLC = OFF )
# ( DEAL_II_WITH_ARBORX = OFF )
# ( DEAL_II_WITH_ARPACK = OFF )
# ( DEAL_II_WITH_ASSIMP = OFF )
# DEAL_II_WITH_BOOST set up with bundled packages
# BOOST_CXX_FLAGS = -Wno-unused-local-typedefs
# BOOST_DEFINITIONS = BOOST_NO_AUTO_PTR
# BOOST_USER_DEFINITIONS = BOOST_NO_AUTO_PTR
# BOOST_BUNDLED_INCLUDE_DIRS = /home/sjohnson/Downloads/dealii-9.4.1/bundled/boost-1.70.0/include
# BOOST_LIBRARIES = rt
# ( DEAL_II_WITH_CGAL = OFF )
# DEAL_II_WITH_COMPLEX_VALUES = ON
# DEAL_II_WITH_CUDA set up with external dependencies
# CUDA_VERSION = 11.4
# CMAKE_CUDA_COMPILER = /usr/local/cuda-11.4/bin/nvcc
# CUDA_COMPUTE_CAPABILITY = 5.0
# DEAL_II_CUDA_FLAGS = -arch=sm_50
# DEAL_II_CUDA_FLAGS_RELEASE =
# DEAL_II_CUDA_FLAGS_DEBUG = -G
# CUDA_INCLUDE_DIRS = /usr/local/cuda-11.4/include
# CUDA_USER_INCLUDE_DIRS = /usr/local/cuda-11.4/include
# CUDA_LIBRARIES = /usr/local/cuda-11.4/lib64/libcudart.so;/usr/local/cuda-11.4/lib64/libcusparse.so;/usr/local/cuda-11.4/lib64/libcusolver.so
# ( DEAL_II_WITH_GINKGO = OFF )
# ( DEAL_II_WITH_GMSH = OFF )
# DEAL_II_WITH_GSL set up with external dependencies
# GSL_VERSION = 2.5
# GSL_INCLUDE_DIRS = /usr/include
# GSL_USER_INCLUDE_DIRS = /usr/include
# GSL_LIBRARIES = /usr/lib/x86_64-linux-gnu/libgsl.so;/usr/lib/x86_64-linux-gnu/libgslcblas.so
# ( DEAL_II_WITH_HDF5 = OFF )
# ( DEAL_II_WITH_KOKKOS = OFF )
# DEAL_II_WITH_LAPACK set up with external dependencies
# LAPACK_WITH_64BIT_BLAS_INDICES = OFF
# LAPACK_LIBRARIES = /usr/lib/x86_64-linux-gnu/liblapack.so;/usr/lib/x86_64-linux-gnu/libblas.so
# ( DEAL_II_WITH_METIS = OFF )
# DEAL_II_WITH_MPI set up with external dependencies
# MPI_VERSION = 3.1
# MPI_C_COMPILER = /usr/bin/mpicc
# MPI_CXX_COMPILER = /usr/bin/mpicxx
# MPI_Fortran_COMPILER = /usr/bin/mpif90
# MPI_LINKER_FLAGS = -Wl,-Bsymbolic-functions
# MPI_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu/mpich
# MPI_USER_INCLUDE_DIRS = /usr/include/x86_64-linux-gnu/mpich
# MPI_LIBRARIES = /usr/lib/x86_64-linux-gnu/libmpichcxx.so;/usr/lib/x86_64-linux-gnu/libmpichfort.so;/usr/lib/x86_64-linux-gnu/libmpich.so
# DEAL_II_WITH_MUPARSER set up with bundled packages
# MUPARSER_BUNDLED_INCLUDE_DIRS = /home/sjohnson/Downloads/dealii-9.4.1/bundled/muparser_v2_3_3//include
# ( DEAL_II_WITH_OPENCASCADE = OFF )
# DEAL_II_WITH_P4EST set up with external dependencies
# P4EST_VERSION = 2.8.5.5-9ddbb
# P4EST_DIR = /home/sjohnson
# P4EST_INCLUDE_DIRS = /home/sjohnson/FAST/include
# P4EST_USER_INCLUDE_DIRS = /home/sjohnson/FAST/include
# P4EST_LIBRARIES = optimized;/home/sjohnson/FAST/lib/libp4est.so;/home/sjohnson/FAST/lib/libsc.so;debug;/home/sjohnson/DEBUG/lib/libp4est.so;/home/sjohnson/DEBUG/lib/libsc.so;general;/usr/lib/x86_64-linux-gnu/liblapack.so;/usr/lib/x86_64-linux-gnu/libblas.so;/usr/lib/x86_64-linux-gnu/libmpich.so
# ( DEAL_II_WITH_PETSC = OFF )
# ( DEAL_II_WITH_SCALAPACK = OFF )
# ( DEAL_II_WITH_SLEPC = OFF )
# ( DEAL_II_WITH_SUNDIALS = OFF )
# ( DEAL_II_WITH_SYMENGINE = OFF )
# DEAL_II_WITH_TBB set up with external dependencies
# TBB_VERSION = 2020.1
# TBB_INCLUDE_DIRS = /usr/include
# TBB_USER_INCLUDE_DIRS = /usr/include
# TBB_LIBRARIES = /usr/lib/x86_64-linux-gnu/libtbb.so
# ( DEAL_II_WITH_TRILINOS = OFF )
# DEAL_II_WITH_UMFPACK set up with bundled packages
# UMFPACK_BUNDLED_INCLUDE_DIRS = /home/sjohnson/Downloads/dealii-9.4.1/bundled/umfpack/UMFPACK/Include;/home/sjohnson/Downloads/dealii-9.4.1/bundled/umfpack/AMD/Include
# DEAL_II_WITH_ZLIB set up with external dependencies
# ZLIB_VERSION = 1.2.11
# ZLIB_INCLUDE_DIRS = /usr/local/include
# ZLIB_LIBRARIES = /usr/local/lib/libz.so
#
# Component configuration:
# ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
# DEAL_II_COMPONENT_EXAMPLES
# ( DEAL_II_COMPONENT_PACKAGE = OFF )
# ( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
#
###
###
#
# deal.II configuration:
# CMAKE_BUILD_TYPE: DebugRelease
# BUILD_SHARED_LIBS: ON
# CMAKE_INSTALL_PREFIX: /home/sjohnson
# CMAKE_SOURCE_DIR: /home/sjohnson/Downloads/dealii-9.4.1
# (version 9.4.1)
# CMAKE_BINARY_DIR: /home/sjohnson/Downloads/dealii-9.4.1/build
# CMAKE_CXX_COMPILER: GNU 9.4.0 on platform Linux x86_64
# /usr/bin/c++
# C++ language standard: C++14
#
# Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
# ( DEAL_II_WITH_64BIT_INDICES = OFF )
# ( DEAL_II_WITH_ADOLC = OFF )
# ( DEAL_II_WITH_ARBORX = OFF )
# ( DEAL_II_WITH_ARPACK = OFF )
# ( DEAL_II_WITH_ASSIMP = OFF )
# DEAL_II_WITH_BOOST set up with bundled packages
# ( DEAL_II_WITH_CGAL = OFF )
# DEAL_II_WITH_COMPLEX_VALUES = ON
# DEAL_II_WITH_CUDA set up with external dependencies
# ( DEAL_II_WITH_GINKGO = OFF )
# ( DEAL_II_WITH_GMSH = OFF )
# DEAL_II_WITH_GSL set up with external dependencies
# ( DEAL_II_WITH_HDF5 = OFF )
# ( DEAL_II_WITH_KOKKOS = OFF )
# DEAL_II_WITH_LAPACK set up with external dependencies
# ( DEAL_II_WITH_METIS = OFF )
# DEAL_II_WITH_MPI set up with external dependencies
# DEAL_II_WITH_MUPARSER set up with bundled packages
# ( DEAL_II_WITH_OPENCASCADE = OFF )
# DEAL_II_WITH_P4EST set up with external dependencies
# ( DEAL_II_WITH_PETSC = OFF )
# ( DEAL_II_WITH_SCALAPACK = OFF )
# ( DEAL_II_WITH_SLEPC = OFF )
# ( DEAL_II_WITH_SUNDIALS = OFF )
# ( DEAL_II_WITH_SYMENGINE = OFF )
# DEAL_II_WITH_TBB set up with external dependencies
# ( DEAL_II_WITH_TRILINOS = OFF )
# DEAL_II_WITH_UMFPACK set up with bundled packages
# DEAL_II_WITH_ZLIB set up with external dependencies
#
# Component configuration:
# ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
# DEAL_II_COMPONENT_EXAMPLES
# ( DEAL_II_COMPONENT_PACKAGE = OFF )
# ( DEAL_II_COMPONENT_PYTHON_BINDINGS = OFF )
#
# Detailed information (compiler flags, feature configuration) can be found in detailed.log
#
# Run $ make info to print a help message with a list of top level targets
#
###