Build problem version 9.3.0-pre

25 views
Skip to first unread message

Kaushik Das

unread,
Jan 2, 2021, 10:01:02 AM1/2/21
to deal.II User Group
Hi all:

I have been building deal.ii via a github fork for last few months successfully., This morning I did a  git fetch upstream and then git merge  upstream/master and I am getting a number of build errors. 
Any idea what I may be doing wrong?
Here is my config and the build errors. 

###
#
#  deal.II configuration:
#        CMAKE_BUILD_TYPE:       DebugRelease
#        BUILD_SHARED_LIBS:      ON
#        CMAKE_INSTALL_PREFIX:   /home/kdas/dealii/install
#        CMAKE_SOURCE_DIR:       /home/kdas/dealii
#                                (version 9.3.0-pre, shortrev 67887ee247)
#        CMAKE_BINARY_DIR:       /home/kdas/dealii/build
#        CMAKE_CXX_COMPILER:     GNU 9.3.0 on platform Linux x86_64
#                                /usr/bin/c++
#
#  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_ARPACK set up with external dependencies
#        DEAL_II_WITH_ASSIMP set up with external dependencies
#        DEAL_II_WITH_BOOST set up with external dependencies
#        DEAL_II_WITH_COMPLEX_VALUES = ON
#      ( DEAL_II_WITH_CUDA = OFF )
#      ( DEAL_II_WITH_GINKGO = OFF )
#        DEAL_II_WITH_GMSH set up with external dependencies
#        DEAL_II_WITH_GSL set up with external dependencies
#      ( DEAL_II_WITH_HDF5 = OFF )
#        DEAL_II_WITH_LAPACK set up with external dependencies
#        DEAL_II_WITH_METIS set up with external dependencies
#        DEAL_II_WITH_MPI set up with external dependencies
#        DEAL_II_WITH_MUPARSER set up with external dependencies
#        DEAL_II_WITH_OPENCASCADE set up with external dependencies
#        DEAL_II_WITH_P4EST set up with external dependencies
#        DEAL_II_WITH_PETSC set up with external dependencies
#        DEAL_II_WITH_SCALAPACK set up with external dependencies
#      ( DEAL_II_WITH_SIMPLEX_SUPPORT = OFF )
#      ( DEAL_II_WITH_SLEPC = OFF )
#      ( DEAL_II_WITH_SUNDIALS = OFF )
#      ( DEAL_II_WITH_SYMENGINE = OFF )
#        DEAL_II_WITH_TASKFLOW set up with bundled packages
#        DEAL_II_WITH_TBB set up with external dependencies
#        DEAL_II_WITH_TRILINOS set up with external dependencies
#        DEAL_II_WITH_UMFPACK set up with external dependencies
#        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
#
###

[ 15%] Building CXX object source/fe/CMakeFiles/obj_fe_debug.dir/fe.cc.o
/home/kdas/dealii/source/fe/fe.cc:1290:13: error: ‘QCollection’ in namespace ‘dealii::hp’ does not name a template type; did you mean ‘FECollection’?
 1290 |   const hp::QCollection<dim - 1> &quadrature,
      |             ^~~~~~~~~~~
      |             FECollection
/home/kdas/dealii/source/fe/fe.cc:1290:24: error: expected ‘,’ or ‘...’ before ‘<’ token
 1290 |   const hp::QCollection<dim - 1> &quadrature,
      |                        ^
/home/kdas/dealii/source/fe/fe.cc:1287:1: error: no declaration matches ‘std::unique_ptr<dealii::FiniteElement<<anonymous>, <anonymous> >::InternalDataBase> dealii::FiniteElement<<anonymous>, <anonymous> >::get_face_data(dealii::UpdateFlags, const dealii::Mapping<dim, spacedim>&, int) const’
 1287 | FiniteElement<dim, spacedim>::get_face_data(
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/kdas/dealii/build/include/deal.II/hp/fe_collection.h:22,
                 from /home/kdas/dealii/build/include/deal.II/dofs/dof_handler.h:38,
                 from /home/kdas/dealii/build/include/deal.II/dofs/dof_accessor.h:22,
                 from /home/kdas/dealii/source/fe/fe.cc:20:
/home/kdas/dealii/build/include/deal.II/fe/fe.h:2770:3: note: candidate is: ‘virtual std::unique_ptr<dealii::FiniteElement<<anonymous>, <anonymous> >::InternalDataBase> dealii::FiniteElement<<anonymous>, <anonymous> >::get_face_data(dealii::UpdateFlags, const dealii::Mapping<dim, spacedim>&, const dealii::Quadrature<(dim - 1)>&, dealii::internal::FEValuesImplementation::FiniteElementRelatedData<dim, spacedim>&) const’
 2770 |   get_face_data(const UpdateFlags             update_flags,
      |   ^~~~~~~~~~~~~


And number of other errors.

Thank you,
Kaushik 

Kaushik Das

unread,
Jan 2, 2021, 12:03:15 PM1/2/21
to dea...@googlegroups.com
update: I deleted the build folder and then run the cmake configuration again. Then make install. That solved the problem. Thanks. 

--
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 a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dealii/PLt-WZ5iJpc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dealii/ff754f6c-0268-4992-89e3-5875299a7de5n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages