-
Notifications
You must be signed in to change notification settings - Fork 89
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ginkgo currently does not support GCC 9.1 #323
Comments
Since this happens with add_subdirectory(custom-matrix-format) If it is the only example where it fails, working on this example to find the problem is interesting as it is (relatively) self contained. There is basically only the |
Your are right, But, for now, I will leave this as an issue, and revisit it if there is a specific request, or when I have time. |
Unfortunately, it did not work. I used this configuration:
And I pretty much got the same error again. full cmake output (with tests enabled)
and I got the following output: full make output (with tests enabled)Scanning dependencies of target generate_ginkgo_header
[ 0%] Built target generate_ginkgo_header
Scanning dependencies of target ginkgo_cuda_device
[ 1%] Building CXX object core/devices/cuda/CMakeFiles/ginkgo_cuda_device.dir/executor.cpp.o
[ 1%] Built target ginkgo_cuda_device
Scanning dependencies of target ginkgo_cuda
[ 2%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/exception.cpp.o
[ 2%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/executor.cpp.o
[ 2%] Building CXX object cuda/CMakeFiles/ginkgo_cuda.dir/base/version.cpp.o
[ 3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/components/zero_array.cu.o
[ 3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/factorization/par_ilu_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/include/ginkgo/core/factorization/par_ilu.hpp(151): warning: inheriting constructors must be inherited from a direct base class
[ 3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/coo_kernels.cu.o
[ 3%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/csr_kernels.cu.o
[ 4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/dense_kernels.cu.o
[ 4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/ell_kernels.cu.o
[ 4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/hybrid_kernels.cu.o
[ 4%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/matrix/sellp_kernels.cu.o
[ 5%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_advanced_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
[ 5%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_generate_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
[ 5%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
[ 6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/preconditioner/jacobi_simple_apply_kernel.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/include/ginkgo/core/preconditioner/jacobi.hpp(454): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __host__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(304): warning: __device__ annotation is ignored on a function("half") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __host__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
/home/thomas/projects/ginkgo_github/core/base/extended_float.hpp(437): warning: __device__ annotation is ignored on a function("truncated") that is explicitly defaulted on its first declaration
[ 6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/bicgstab_kernels.cu.o
[ 6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cg_kernels.cu.o
[ 6%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/cgs_kernels.cu.o
[ 7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/fcg_kernels.cu.o
[ 7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/gmres_kernels.cu.o
[ 7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/ir_kernels.cu.o
[ 7%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/solver/lower_trs_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/solver/lower_trs.hpp(127): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/include/ginkgo/core/solver/lower_trs.hpp(127): warning: inheriting constructors must be inherited from a direct base class
[ 8%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/criterion_kernels.cu.o
[ 8%] Building CUDA object cuda/CMakeFiles/ginkgo_cuda.dir/stop/residual_norm_reduction_kernels.cu.o
/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class
/home/thomas/projects/ginkgo_github/include/ginkgo/core/stop/residual_norm_reduction.hpp(81): warning: inheriting constructors must be inherited from a direct base class
[ 8%] Linking CXX shared library libginkgo_cudad.so
[ 8%] Built target ginkgo_cuda
Scanning dependencies of target ginkgo_omp_device
[ 8%] Building CXX object core/devices/omp/CMakeFiles/ginkgo_omp_device.dir/executor.cpp.o
[ 8%] Built target ginkgo_omp_device
Scanning dependencies of target ginkgo_omp
[ 8%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/base/version.cpp.o
[ 8%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/factorization/par_ilu_kernels.cpp.o
[ 8%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/coo_kernels.cpp.o
[ 9%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/csr_kernels.cpp.o
In file included from /home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:52:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:398:18: required from ‘void gko::kernels::omp::csr::sort_by_column_index(std::shared_ptr<const gko::OmpExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/omp/matrix/csr_kernels.cpp:402:1: required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:154:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
154 | operator element() const { return {dominant(), secondary()}; }
| ^~~~~~~~
[ 9%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/dense_kernels.cpp.o
[ 9%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/ell_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/hybrid_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/matrix/sellp_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/preconditioner/jacobi_kernels.cpp.o
[ 10%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/bicgstab_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cg_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/cgs_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/fcg_kernels.cpp.o
[ 11%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/gmres_kernels.cpp.o
[ 12%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/ir_kernels.cpp.o
[ 12%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/solver/lower_trs_kernels.cpp.o
[ 12%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/criterion_kernels.cpp.o
[ 13%] Building CXX object omp/CMakeFiles/ginkgo_omp.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 13%] Linking CXX shared library libginkgo_ompd.so
[ 13%] Built target ginkgo_omp
Scanning dependencies of target ginkgo_reference_device
[ 14%] Building CXX object core/devices/reference/CMakeFiles/ginkgo_reference_device.dir/dummy.cpp.o
[ 14%] Built target ginkgo_reference_device
Scanning dependencies of target ginkgo_reference
[ 14%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/base/version.cpp.o
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/factorization/par_ilu_kernels.cpp.o
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/coo_kernels.cpp.o
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/csr_kernels.cpp.o
In file included from /home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:51:
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp: In instantiation of ‘gko::detail::IteratorFactory<ToSortType, SecondaryType>::Reference::operator gko::detail::IteratorFactory<ToSortType, SecondaryType>::element() const [with ToSortType = int; SecondaryType = std::complex<float>]’:
/usr/include/c++/9.1.0/bits/stl_algo.h:1839:3: required from ‘void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1874:25: required from ‘void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:1960:31: required from ‘void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator; _Compare = __gnu_cxx::__ops::_Iter_less_iter]’
/usr/include/c++/9.1.0/bits/stl_algo.h:4818:18: required from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = gko::detail::IteratorFactory<int, std::complex<float> >::Iterator]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:486:18: required from ‘void gko::kernels::reference::csr::sort_by_column_index(std::shared_ptr<const gko::ReferenceExecutor>, gko::matrix::Csr<ValueType, IndexType>*) [with ValueType = std::complex<float>; IndexType = int]’
/home/thomas/projects/ginkgo_github/reference/matrix/csr_kernels.cpp:490:1: required from here
/home/thomas/projects/ginkgo_github/core/base/iterator_factory.hpp:154:9: note: the ABI of passing structure with complex float member has changed in GCC 4.4
154 | operator element() const { return {dominant(), secondary()}; }
| ^~~~~~~~
[ 15%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/dense_kernels.cpp.o
[ 16%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/ell_kernels.cpp.o
[ 16%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/hybrid_kernels.cpp.o
[ 16%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/matrix/sellp_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/preconditioner/jacobi_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/bicgstab_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cg_kernels.cpp.o
[ 17%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/cgs_kernels.cpp.o
[ 18%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/fcg_kernels.cpp.o
[ 18%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/gmres_kernels.cpp.o
[ 18%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/ir_kernels.cpp.o
[ 19%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/solver/lower_trs_kernels.cpp.o
[ 19%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/criterion_kernels.cpp.o
[ 19%] Building CXX object reference/CMakeFiles/ginkgo_reference.dir/stop/residual_norm_reduction_kernels.cpp.o
[ 19%] Linking CXX shared library libginkgo_referenced.so
[ 19%] Built target ginkgo_reference
Scanning dependencies of target ginkgo
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/combination.cpp.o
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/composition.cpp.o
[ 20%] Building CXX object core/CMakeFiles/ginkgo.dir/base/executor.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/base/mtx_io.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/base/perturbation.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/base/version.cpp.o
[ 21%] Building CXX object core/CMakeFiles/ginkgo.dir/factorization/par_ilu.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/convergence.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/logger.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/record.cpp.o
[ 22%] Building CXX object core/CMakeFiles/ginkgo.dir/log/stream.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/coo.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/csr.cpp.o
[ 23%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/dense.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/ell.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/hybrid.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/identity.cpp.o
[ 24%] Building CXX object core/CMakeFiles/ginkgo.dir/matrix/sellp.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/preconditioner/jacobi.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/bicgstab.cpp.o
[ 25%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cg.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/cgs.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/fcg.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/gmres.cpp.o
[ 26%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/ir.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/solver/lower_trs.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/combined.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/criterion.cpp.o
[ 27%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/iteration.cpp.o
[ 28%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/residual_norm_reduction.cpp.o
[ 28%] Building CXX object core/CMakeFiles/ginkgo.dir/stop/time.cpp.o
[ 28%] Linking CXX shared library libginkgod.so
[ 28%] Built target ginkgo
Scanning dependencies of target cuda_test_base_exception_helpers
[ 28%] Building CUDA object cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/exception_helpers.cu.o
[ 29%] Linking CUDA executable exception_helpers
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::Message::Message()':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:990: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::edit_distance::CreateUnifiedDiff(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, unsigned long)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1253: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::WideStringToUtf8[abi:cxx11](wchar_t const*, int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:1872: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatIntWidth2[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2005: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o): in function `testing::internal::String::FormatHexInt[abi:cxx11](int)':
/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2012: undefined reference to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()'
/usr/bin/ld: ../../../third_party/gtest/build/googlemock/gtest/./libgtestd.a(gtest-all.cc.o):/home/thomas/projects/ginkgo_github/build/debug/third_party/gtest/src/googletest/src/gtest.cc:2019: more undefined references to `std::__cxx11::basic_stringstream<char, std::char_traits<char>, std::allocator<char> >::basic_stringstream()' follow
/usr/bin/ld: ../../../core/libginkgod.so: undefined reference to `std::__cxx11::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream()@GLIBCXX_3.4.26'
collect2: error: ld returned 1 exit status
make[2]: *** [cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/build.make:90: cuda/test/base/exception_helpers] Error 1
make[1]: *** [CMakeFiles/Makefile2:1273: cuda/test/base/CMakeFiles/cuda_test_base_exception_helpers.dir/all] Error 2
make: *** [Makefile:163: all] Error 2 |
Could you try |
Makes sense, my bad (should have thought of that).
Everything else looks normal. |
Okay, |
Looks like it, but thanks for the input! |
I cannot get this problem anymore with either of these setups:
I think these were related to some bugs in the compiler which has now been fixed. I will push a CI and container update to have a GCC 9.1 container compilation (without CUDA) and close this issue if all goes well. |
This PR updates the CI setup in accordance with what was previously in #307. This allows to simplify #307 as well as multiple early benefits: testing ginkgo against CUDA 10.1, gcc 9, clang 7 and 8. In addition, this allows the usage of the AMDCI system as part of testing (CPU jobs, later AMD HIP ones also) which can help reduce contention on the fineci system. ### Closes #323 ### Overview + Test jobs are fusioned with build jobs, this removes the need for artifacts which Ginkgo overuses and can speedup the build process. + No CUDA containers are upgraded to gcc 9.1 and llvm 8 + New CUDA 10.1 container and related jobs are introduced. + Use tags to allow using the AMDCI system and track between CUDA and CPU requirements. ### Unrelated change + Temporarily disable codecov since wrong coverage results are reported all of a sudden ### Related PR: #365
After a update of my ArchLinux, my default compiler was set to
gcc 9.1.0
. When compiling ginkgo without tests (Seecmake
command below), I get the following linker error:CMake command:
full cmake output (with tests disabled)
full make -j 6 output (with tests disabled):
When enabling the tests, there are even more errors, so I think there is also an Issue with GTest (or it is the same that we have, I haven't looked too much into it yet).
CMake output with tests enabled
make -j 6 output with tests enabled
The text was updated successfully, but these errors were encountered: