I have gcc version 5.4.0, which came with the installation of Ubuntu 16.04.12, and for specific reasons I have no way of upgrading my Ubuntu.I would like to ask in this case if I download the new gcc to solve my installation problem
hj:~/dealii-candi/home/hj/wyk/candi$ gcc --version gcc (Ubuntu 5.4.0-6ubuntu1~16.04.12) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. On Tuesday, May 28, 2024 at 9:42:26 PM UTC+8 Timo Heister wrote: > Ubuntu 16.04 is a very outdated (and unsupported) system. What compiler > version of GCC are you using? (gcc -v) > > > -- https://www.math.clemson.edu/~heister/ > > On Tue, May 28, 2024, 09:07 王艺康 <[email protected]> wrote: > >> Hello, everyone. >> I'm having a problem installing dealii with candi.I'm installing >> dealii-9.5.1 on Ubuntu 16.0.4 via candi, only then all the dependencies I >> need can be downloaded and installed correctly but I get an error when >> installing dealii. >> >> >> >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc: >> >> In instantiation of ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > > >> dealii::GridTools::internal::guess_owners_of_entities(MPI_Comm, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<ContainedType>&, double) [with int spacedim = 1; T = >> dealii::Point<1>; MPI_Comm = int]’: >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:6195:71: >> >> required from >> ‘dealii::GridTools::internal::DistributedComputePointLocationsInternal<dim, >> spacedim> >> dealii::GridTools::internal::distributed_compute_point_locations(const >> dealii::GridTools::Cache<dim, spacedim>&, const >> std::vector<dealii::Point<spacedim> >&, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<bool>&, double, bool, bool) [with int dim = 1; int spacedim = >> 1]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/build/deal.II-v9.5.1/source/grid/grid_tools.inst:1289:12: >> >> required from here >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:5970:67: >> >> error: converting to ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > >’ from initializer list would use explicit >> constructor ‘constexpr std::tuple< <template-parameter-1-1> >> >::tuple(_UElements&& ...) [with _UElements = {std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >}; <template-parameter-2-2> = void; _Elements >> = {std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >}]’ >> return {std::move(ranks), std::move(ptr), std::move(indices)}; >> ^ >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc: >> >> In instantiation of ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > > >> dealii::GridTools::internal::guess_owners_of_entities(MPI_Comm, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<ContainedType>&, double) [with int spacedim = 2; T = >> dealii::Point<2, double>; MPI_Comm = int]’: >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:6195:71: >> >> required from >> ‘dealii::GridTools::internal::DistributedComputePointLocationsInternal<dim, >> spacedim> >> dealii::GridTools::internal::distributed_compute_point_locations(const >> dealii::GridTools::Cache<dim, spacedim>&, const >> std::vector<dealii::Point<spacedim> >&, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<bool>&, double, bool, bool) [with int dim = 1; int spacedim = >> 2]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/build/deal.II-v9.5.1/source/grid/grid_tools.inst:1388:12: >> >> required from here >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:5970:67: >> >> error: converting to ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > >’ from initializer list would use explicit >> constructor ‘constexpr std::tuple< <template-parameter-1-1> >> >::tuple(_UElements&& ...) [with _UElements = {std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >}; <template-parameter-2-2> = void; _Elements >> = {std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >}]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc: >> >> In instantiation of ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > > >> dealii::GridTools::internal::guess_owners_of_entities(MPI_Comm, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<ContainedType>&, double) [with int spacedim = 3; T = >> dealii::Point<3, double>; MPI_Comm = int]’: >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:6195:71: >> >> required from >> ‘dealii::GridTools::internal::DistributedComputePointLocationsInternal<dim, >> spacedim> >> dealii::GridTools::internal::distributed_compute_point_locations(const >> dealii::GridTools::Cache<dim, spacedim>&, const >> std::vector<dealii::Point<spacedim> >&, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<bool>&, double, bool, bool) [with int dim = 1; int spacedim = >> 3]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/build/deal.II-v9.5.1/source/grid/grid_tools.inst:1487:12: >> >> required from here >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:5970:67: >> >> error: converting to ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > >’ from initializer list would use explicit >> constructor ‘constexpr std::tuple< <template-parameter-1-1> >> >::tuple(_UElements&& ...) [with _UElements = {std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >}; <template-parameter-2-2> = void; _Elements >> = {std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >}]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc: >> >> In instantiation of ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > > >> dealii::GridTools::internal::guess_owners_of_entities(MPI_Comm, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<ContainedType>&, double) [with int spacedim = 1; T = >> std::vector<dealii::Point<1> >; MPI_Comm = int]’: >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:6587:71: >> >> required from >> ‘dealii::GridTools::internal::DistributedComputeIntersectionLocationsInternal<structdim, >> >> spacedim> >> dealii::GridTools::internal::distributed_compute_intersection_locations(const >> >> dealii::GridTools::Cache<dim, spacedim>&, const >> std::vector<std::vector<dealii::Point<spacedim> > >&, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<bool>&, double) [with int structdim = 1; int dim = 1; int >> spacedim = 1]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/build/deal.II-v9.5.1/source/grid/grid_tools.inst:2240:14: >> >> required from here >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:5970:67: >> >> error: converting to ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > >’ from initializer list would use explicit >> constructor ‘constexpr std::tuple< <template-parameter-1-1> >> >::tuple(_UElements&& ...) [with _UElements = {std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >}; <template-parameter-2-2> = void; _Elements >> = {std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >}]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc: >> >> In instantiation of ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > > >> dealii::GridTools::internal::guess_owners_of_entities(MPI_Comm, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<ContainedType>&, double) [with int spacedim = 2; T = >> std::vector<dealii::Point<2, double>, std::allocator<dealii::Point<2, >> double> > >; MPI_Comm = int]’: >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:6587:71: >> >> required from >> ‘dealii::GridTools::internal::DistributedComputeIntersectionLocationsInternal<structdim, >> >> spacedim> >> dealii::GridTools::internal::distributed_compute_intersection_locations(const >> >> dealii::GridTools::Cache<dim, spacedim>&, const >> std::vector<std::vector<dealii::Point<spacedim> > >&, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<bool>&, double) [with int structdim = 1; int dim = 1; int >> spacedim = 2]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/build/deal.II-v9.5.1/source/grid/grid_tools.inst:2272:14: >> >> required from here >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:5970:67: >> >> error: converting to ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > >’ from initializer list would use explicit >> constructor ‘constexpr std::tuple< <template-parameter-1-1> >> >::tuple(_UElements&& ...) [with _UElements = {std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >}; <template-parameter-2-2> = void; _Elements >> = {std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >}]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc: >> >> In instantiation of ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > > >> dealii::GridTools::internal::guess_owners_of_entities(MPI_Comm, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<ContainedType>&, double) [with int spacedim = 3; T = >> std::vector<dealii::Point<3, double>, std::allocator<dealii::Point<3, >> double> > >; MPI_Comm = int]’: >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:6587:71: >> >> required from >> ‘dealii::GridTools::internal::DistributedComputeIntersectionLocationsInternal<structdim, >> >> spacedim> >> dealii::GridTools::internal::distributed_compute_intersection_locations(const >> >> dealii::GridTools::Cache<dim, spacedim>&, const >> std::vector<std::vector<dealii::Point<spacedim> > >&, const >> std::vector<std::vector<dealii::BoundingBox<spacedim> > >&, const >> std::vector<bool>&, double) [with int structdim = 1; int dim = 1; int >> spacedim = 3]’ >> /home/hj/dealii-candi/home/hj/wyk/candi/build/deal.II-v9.5.1/source/grid/grid_tools.inst:2304:14: >> >> required from here >> /home/hj/dealii-candi/home/hj/wyk/candi/deal.II-v9.5.1/source/grid/grid_tools.cc:5970:67: >> >> error: converting to ‘std::tuple<std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> > >’ from initializer list would use explicit >> constructor ‘constexpr std::tuple< <template-parameter-1-1> >> >::tuple(_UElements&& ...) [with _UElements = {std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >, std::vector<unsigned int, >> std::allocator<unsigned int> >}; <template-parameter-2-2> = void; _Elements >> = {std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >, >> std::vector<unsigned int, std::allocator<unsigned int> >}]’ >> >> source/grid/CMakeFiles/object_grid_release.dir/build.make:355: recipe for >> target 'source/grid/CMakeFiles/object_grid_release.dir/grid_tools.cc.o' >> failed >> make[2]: *** >> [source/grid/CMakeFiles/object_grid_release.dir/grid_tools.cc.o] Error 1 >> make[2]: *** Waiting for unfinished jobs.... >> >> >> >> >> >> >> >> -- >> 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/e08e22fc-5877-43a6-b469-7a4170ae5cfdn%40googlegroups.com >> >> <https://groups.google.com/d/msgid/dealii/e08e22fc-5877-43a6-b469-7a4170ae5cfdn%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/85e44bc2-cbbf-4c40-9072-4a66d2328d09n%40googlegroups.com.
