Hello,

It looks like the error is from boost. Which version are you using? What's 
your compiler?

Best,

Bruno

On Tuesday, March 7, 2023 at 12:58:10 AM UTC-5 me20...@iittp.ac.in wrote:

> Dear Sir/Ma'am,
> trying to install dealii-9.1.1 version using candi command. i just change 
> the version in candi.cfg from 9.4.2 to 9.1.1 as suggested.then uses candi 
> commands to install. But i am getting error.
> please help me out.
>
> Thank you.
>
> usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intracomm.h:101:22:
>  
> warning: ‘virtual MPI::Intracomm& MPI::Intracomm::Clone() const’ can be 
> marked override [-Wsuggest-override]
>   101 |   virtual Intracomm& Clone() const;
>       |                      ^~~~~
> In file included from /usr/lib/x86_64-linux-gnu/
> openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h:227,
>                  from /usr/lib/x86_64-linux-gnu/
> openmpi/include/mpi.h:2887,
>                  from /home/newton/dealii-candi/tmp/
> build/deal.II-v9.1.1/include/deal.II/base/config.h:439,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/tensor.h:19,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/derivative_form.h:19,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/numerics/vector_tools.
> templates.h:20,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/source/numerics/vector_tools_boundary.cc:17:
> /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology.h:65:21:
>  
> warning: ‘virtual MPI::Cartcomm& MPI::Cartcomm::Clone() const’ can be 
> marked override [-Wsuggest-override]
>    65 |   virtual Cartcomm& Clone() const;
>       |                     ^~~~~
> /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/topology.h:143:22:
>  
> warning: ‘virtual MPI::Graphcomm& MPI::Graphcomm::Clone() const’ can be 
> marked override [-Wsuggest-override]
>   143 |   virtual Graphcomm& Clone() const;
>       |                      ^~~~~
> In file included from /usr/lib/x86_64-linux-gnu/
> openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h:228,
>                  from /usr/lib/x86_64-linux-gnu/
> openmpi/include/mpi.h:2887,
>                  from /home/newton/dealii-candi/tmp/
> build/deal.II-v9.1.1/include/deal.II/base/config.h:439,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/tensor.h:19,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/derivative_form.h:19,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/numerics/vector_tools.
> templates.h:20,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/source/numerics/vector_tools_boundary.cc:17:
> /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/intercomm.h:75:22:
>  
> warning: ‘virtual MPI::Intercomm& MPI::Intercomm::Clone() const’ can be 
> marked override [-Wsuggest-override]
>    75 |   virtual Intercomm& Clone() const;
>       |                      ^~~~~
> In file included from /usr/lib/x86_64-linux-gnu/
> openmpi/include/openmpi/ompi/mpi/cxx/mpicxx.h:277,
>                  from /usr/lib/x86_64-linux-gnu/
> openmpi/include/mpi.h:2887,
>                  from /home/newton/dealii-candi/tmp/
> build/deal.II-v9.1.1/include/deal.II/base/config.h:439,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/tensor.h:19,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/derivative_form.h:19,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/numerics/vector_tools.
> templates.h:20,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/source/numerics/vector_tools_boundary.cc:17:
> /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h: 
> In member function ‘virtual void MPI::Op::Init(void (*)(const void*, void*, 
> int, const MPI::Datatype&), bool)’:
> /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h:121:25:
>  
> warning: cast between incompatible function types from ‘void (*)(void*, 
> void*, int*, ompi_datatype_t**, void (*)(void*, void*, int*, 
> ompi_datatype_t**))’ to ‘void (*)(void*, void*, int*, ompi_datatype_t**)’ 
> [-Wcast-function-type]
>   121 |     (void)MPI_Op_create((MPI_User_function*) 
> ompi_mpi_cxx_op_intercept,
>       |                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ~~~~~~~~~~~~~~~~
> /usr/lib/x86_64-linux-gnu/openmpi/include/openmpi/ompi/mpi/cxx/op_inln.h:123:38:
>  
> warning: cast between incompatible function types from ‘void (*)(const 
> void*, void*, int, const MPI::Datatype&)’ to ‘void (*)(void*, void*, int*, 
> ompi_datatype_t**)’ [-Wcast-function-type]
>   123 |     ompi_op_set_cxx_callback(mpi_op, (MPI_User_function*) func);
>       |                                      ^~~~~~~~~~~~~~~~~~~~~~~~~
> In file included from /usr/include/boost/smart_ptr/
> detail/sp_thread_sleep.hpp:22,
>                  from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23,
>                  from /usr/include/boost/smart_ptr/
> detail/spinlock_gcc_atomic.hpp:14,
>                  from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42,
>                  from /usr/include/boost/smart_ptr/
> detail/spinlock_pool.hpp:25,
>                  from /usr/include/boost/smart_ptr/shared_ptr.hpp:29,
>                  from /usr/include/boost/archive/
> detail/helper_collection.hpp:27,
>                  from /usr/include/boost/archive/
> detail/basic_iarchive.hpp:28,
>                  from /usr/include/boost/archive/
> detail/common_iarchive.hpp:21,
>                  from /usr/include/boost/archive/
> basic_binary_iarchive.hpp:30,
>                  from /usr/include/boost/archive/
> binary_iarchive_impl.hpp:21,
>                  from /usr/include/boost/archive/binary_iarchive.hpp:20,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/utilities.h:45,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/tensor.h:26,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/derivative_form.h:19,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/numerics/vector_tools.
> templates.h:20,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/source/numerics/vector_tools_boundary.cc:17:
> /usr/include/boost/detail/no_exceptions_support.hpp: At global scope:
> /usr/include/boost/detail/no_exceptions_support.hpp:17:1: note: ‘#pragma 
> message: This header is deprecated. Use 
> <boost/core/no_exceptions_support.hpp> 
> instead.’
>    17 | BOOST_HEADER_DEPRECATED("<boost/core/no_exceptions_support.hpp>")
>       | ^~~~~~~~~~~~~~~~~~~~~~~
> In file included from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/grid/grid_tools.h:45,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/numerics/vector_tools.
> templates.h:48,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/source/numerics/vector_tools_boundary.cc:17:
> /usr/include/boost/geometry/index/detail/serialization.hpp: In static 
> member function ‘static 
> boost::geometry::index::detail::rtree::load<MembersHolder>::node_pointer 
> boost::geometry::index::detail::rtree::load<MembersHolder>::raw_apply(Archive&,
>  
> unsigned int, 
> boost::geometry::index::detail::rtree::load<MembersHolder>::size_type, 
> boost::geometry::index::detail::rtree::load<MembersHolder>::size_type&, 
> const parameters_type&, const translator_type&, boost::geometry::index::
> detail::rtree::load<MembersHolder>::allocators_type&, 
> boost::geometry::index::detail::rtree::load<MembersHolder>::size_type)’:
> /usr/include/boost/geometry/index/detail/serialization.hpp:399:49: error: 
> ‘Allocators’ was not declared in this scope; did you mean ‘allocators’?
>   399 |             node_pointer n = rtree::create_node<Allocators, 
> internal_node>::apply(allocators);              // MAY THROW (A)
>       |                                                 ^~~~~~~~~~
>       |                                                 allocators
> /usr/include/boost/geometry/index/detail/serialization.hpp:399:74: error: 
> template argument 1 is invalid
>   399 |             node_pointer n = rtree::create_node<Allocators, 
> internal_node>::apply(allocators);              // MAY THROW (A)
>       |                                                                   
>        ^
> /usr/include/boost/geometry/index/detail/serialization.hpp:422:49: error: 
> ‘Allocators’ was not declared in this scope; did you mean ‘allocators’?
>   422 |             node_pointer n = rtree::create_node<Allocators, 
> leaf>::apply(allocators);                       // MAY THROW (A)
>       |                                                 ^~~~~~~~~~
>       |                                                 allocators
> /usr/include/boost/geometry/index/detail/serialization.hpp:422:65: error: 
> template argument 1 is invalid
>   422 |             node_pointer n = rtree::create_node<Allocators, 
> leaf>::apply(allocators);                       // MAY THROW (A)
>       |                                                                 ^
> /usr/include/boost/geometry/index/detail/serialization.hpp: In function 
> ‘void boost::serialization::load(Archive&, boost::geometry::index::rtree<V, 
> P, I, E, A>&, unsigned int)’:
> /usr/include/boost/geometry/index/detail/serialization.hpp:552:114: 
> error: wrong number of template arguments (5, should be 1)
>   552 |     typedef detail::rtree::subtree_destroyer<value_type, 
> options_type, translator_type, box_type, allocators_type> subtree_destroyer;
>       |                                                                   
>                                                ^
> In file included from /usr/include/boost/geometry/
> index/detail/rtree/visitors/insert.hpp:26,
>                  from /usr/include/boost/geometry/index/rtree.hpp:65,
>                  from /usr/include/boost/geometry/
> algorithms/detail/within/multi_point.hpp:33,
>                  from /usr/include/boost/geometry/
> algorithms/detail/within/implementation.hpp:42,
>                  from /usr/include/boost/geometry/
> algorithms/detail/covered_by/implementation.hpp:25,
>                  from /usr/include/boost/geometry/
> algorithms/covered_by.hpp:24,
>                  from /usr/include/boost/geometry/
> algorithms/detail/buffer/buffered_piece_collection.hpp:28,
>                  from /usr/include/boost/geometry/
> algorithms/detail/buffer/buffer_inserter.hpp:35,
>                  from /usr/include/boost/geometry/
> algorithms/buffer.hpp:41,
>                  from /usr/include/boost/geometry/geometry.hpp:63,
>                  from /usr/include/boost/geometry.hpp:17,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/point.h:26,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/base/function.h:24,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/numerics/vector_tools.
> templates.h:21,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/source/numerics/vector_tools_boundary.cc:17:
> /usr/include/boost/geometry/index/detail/rtree/node/subtree_destroyer.hpp:25:7:
>  
> note: provided for ‘template<class MembersHolder> class 
> boost::geometry::index::detail::rtree::subtree_destroyer’
>    25 | class subtree_destroyer
>       |       ^~~~~~~~~~~~~~~~~
> In file included from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/grid/grid_tools.h:45,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/include/deal.II/numerics/vector_tools.
> templates.h:48,
>                  from /home/newton/dealii-candi/tmp/
> unpack/deal.II-v9.1.1/source/numerics/vector_tools_boundary.cc:17:
> /usr/include/boost/geometry/index/detail/serialization.hpp:566:101: 
> error: wrong number of template arguments (5, should be 1)
>   566 |         n = detail::rtree::load<value_type, options_type, 
> translator_type, box_type, allocators_type>
>       |                                                                   
>                                   ^
> /usr/include/boost/geometry/index/detail/serialization.hpp:347:7: note: 
> provided for ‘template<class MembersHolder> class boost::geometry::index::
> detail::rtree::load’
>   347 | class load
>       |       ^~~~
> /usr/include/boost/geometry/index/detail/serialization.hpp:569:65: error: 
> expression list treated as compound expression in initializer [-fpermissive]
>   569 |         subtree_destroyer remover(n, tree.members().allocators());
>       |                                                                 ^
> /usr/include/boost/geometry/index/detail/serialization.hpp:572:17: error: 
> request for member ‘release’ in ‘remover’, which is of non-class type 
> ‘subtree_destroyer’ {aka ‘int’}
>   572 |         remover.release();
>       |                 ^~~~~~~
> /usr/include/boost/geometry/index/detail/serialization.hpp:579:79: error: 
> expression list treated as compound expression in initializer [-fpermissive]
>   579 |     subtree_destroyer remover(tree.members().root, 
> tree.members().allocators());
>       |                                                                   
>             ^
> make[2]: *** 
> [source/numerics/CMakeFiles/obj_numerics_debug.dir/build.make:230: 
> source/numerics/CMakeFiles/obj_numerics_debug.dir/vector_tools_boundary.cc.o] 
> Error 1
> make[1]: *** [CMakeFiles/Makefile2:2820: 
> source/numerics/CMakeFiles/obj_numerics_debug.dir/all] 
> Error 2
> make: *** [Makefile:136: 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 dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/69142671-854e-4483-a661-f621445bdfdcn%40googlegroups.com.

Reply via email to