Hi Deal.II people,

I am trying to run the step-32 example program (Boussinesq convection in a
spherical shell) and have been running into compilation problems.
Specifically, I get the following error upon trying to make the project
(making no changes to the code):

$HOME/dealii/deal.II-7.1.0/
include/deal.II/lac/trilinos_vector_base.h(84): error: implicitly generated
assignment operator cannot copy:
            reference member
"dealii::TrilinosWrappers::internal::VectorReference::vector"
            const member
"dealii::TrilinosWrappers::internal::VectorReference::index"
      class VectorReference
            ^
          detected during:
            implicit generation of
"dealii::TrilinosWrappers::internal::VectorReference
&dealii::TrilinosWrappers::internal::VectorReference::operator=(const
dealii::TrilinosWrappers::internal::VectorReference &)" at line 4031 of
"step-32.cc"
            instantiation of "void
Step32::BoussinesqFlowProblem<dim>::output_results() [with dim=2]" at line
4327 of "step-32.cc"
            instantiation of "void
Step32::BoussinesqFlowProblem<dim>::run() [with dim=2]" at line 4428 of
"step-32.cc"

step-32.cc(1244): warning #654: overloaded virtual function
"dealii::DataPostprocessor<dim>::compute_derived_quantities_vector [with
dim=2]" is only partially overridden in class
"Step32::BoussinesqFlowProblem<dim>::Postprocessor [with dim=2]"
        class Postprocessor;
              ^
          detected during:
            instantiation of class
"Step32::BoussinesqFlowProblem<dim>::Postprocessor [with dim=2]" at line
4055
            instantiation of "void
Step32::BoussinesqFlowProblem<dim>::output_results() [with dim=2]" at line
4327
            instantiation of "void
Step32::BoussinesqFlowProblem<dim>::run() [with dim=2]" at line 4428

compilation aborted for step-32.cc (code 2)
make: *** [step-32.g.o] Error 2


I take this to mean that the compiler has some problem with how the copy
constructor for for VectorReference is defined.  I have installed
deal.ii7.1.0, along with Trilinos 10.4 and p4est.  They are all
compiled using the
intel compiler suite (v 10.1) on a cluster running CentOS.  Other of the
example programs compile and run without issue.  I suspect the problem may
have something to do with using Intel rather than gcc, but I really don't
know.

Any ideas that anyone has would be greatly appreciated.
Thanks,
Ian Rose
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to