[dune-pdelab] Fwd: dune-pdelab post from ansgar.bohmann at bioquant.uni-heidelberg.de requires approval

Ansgar Bohmann ansgar.bohmann at bioquant.uni-heidelberg.de
Fri Apr 17 13:16:53 CEST 2015


Hello!

I'm digging into the error messages now. If this is not the right way to
go, please ignore this message.

With

>> 1) Both DUNE (2.3.1) and PDELab (2.0.0) from tarball

I get the following messages (starting from the first error):
======================================================================
[...]
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:11:21:
fatal error: solver.hh: Datei oder Verzeichnis nicht gefunden
 #include "solver.hh"
                     ^
compilation terminated.
make[4]: *** [laplacedirichletccfv_eigen-laplacedirichletccfv.o] Fehler 1
make[4]: Verzeichnis
»/[...]/dune-pdelab-howto-2.0.0/src/convection-diffusion« wird verlassen
make[3]: *** [all-recursive] Fehler 1
make[3]: Verzeichnis
»/[...]/dune-pdelab-howto-2.0.0/src/convection-diffusion« wird verlassen
make[2]: *** [all-recursive] Fehler 1
make[2]: Verzeichnis »/[...]/dune-pdelab-howto-2.0.0/src« wird verlassen
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis »/[...]/dune-pdelab-howto-2.0.0« wird verlassen
make: *** [all] Fehler 2
--- Failed to build dune-pdelab-howto ---
Terminating dunecontrol due to previous errors!
======================================================================


After simply creating an empty file

/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solver.hh

(that was the most obvious thing to try) I get (starting from the first
warnings/errors):

======================================================================
[...]
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigenvectorbackend.hh:7:2:
warning: #warning this header is deprecated, please use
dune/pdelab/backend/eigen.hh [-Wcpp]
 #warning this header is deprecated, please use dune/pdelab/backend/eigen.hh
  ^
In file included from laplacedirichletccfv.cc:32:0:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigenmatrixbackend.hh:8:2:
warning: #warning this header is deprecated, please use
dune/pdelab/backend/eigen.hh [-Wcpp]
 #warning this header is deprecated, please use dune/pdelab/backend/eigen.hh
  ^
In file included from laplacedirichletccfv.cc:33:0:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigensolverbackend.hh:8:2:
warning: #warning this header is deprecated, please use
dune/pdelab/backend/eigen.hh [-Wcpp]
 #warning this header is deprecated, please use dune/pdelab/backend/eigen.hh
  ^
In file included from
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen.hh:9:0,
                 from
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigensolverbackend.hh:6,
                 from laplacedirichletccfv.cc:33:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:28:5:
error: expected class-name before ‘{’ token
     {
     ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh: In member
function ‘void
Dune::PDELab::EigenBackend_BiCGSTAB_Base<PreconditionerImp>::apply(M&,
V&, W&, typename W::field_type)’:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:60:9:
error: ‘res’ was not declared in this scope
         res.converged  = solver.info() == Eigen::ComputationInfo::Success;
         ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh: At global
scope:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:100:30:
error: expected class-name before ‘,’ token
       : public SequentialNorm, public LinearResultStorage
                              ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:101:5:
error: expected class-name before ‘{’ token
     {
     ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh: In member
function ‘void Dune::PDELab::EigenBackend_CG_Base<Preconditioner,
UpLo>::apply(M&, V&, W&, typename W::field_type)’:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:133:9:
error: ‘res’ was not declared in this scope
         res.converged  = solver.info() == Eigen::ComputationInfo::Success;
         ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh: At global
scope:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:184:30:
error: expected class-name before ‘,’ token
       : public SequentialNorm, public LinearResultStorage
                              ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:185:5:
error: expected class-name before ‘{’ token
     {
     ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh: In member
function ‘void Dune::PDELab::EigenBackend_SPD_Base<Solver,
UpLo>::apply(M&, V&, W&, typename W::field_type)’:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:213:9:
error: ‘res’ was not declared in this scope
         res.converged  = solver.info() == Eigen::ComputationInfo::Success;
         ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh: At global
scope:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:287:30:
error: expected class-name before ‘,’ token
       : public SequentialNorm, public LinearResultStorage
                              ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:288:5:
error: expected class-name before ‘{’ token
     {
     ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh: In member
function ‘void Dune::PDELab::EigenBackend_LeastSquares::apply(M&, V&,
W&, typename W::field_type)’:
/[...]/dune-pdelab-2.0.0/dune/pdelab/backend/eigen/solvers.hh:318:9:
error: ‘res’ was not declared in this scope
         res.converged  = solver.info() == Eigen::ComputationInfo::Success;
         ^
laplacedirichletccfv.cc: In function ‘void test(const GV&, std::string)’:
laplacedirichletccfv.cc:113:11: error: ‘SparseEigenMatrixBackend’ in
namespace ‘Dune::PDELab’ does not name a type
   typedef Dune::PDELab::SparseEigenMatrixBackend MBE;
           ^
laplacedirichletccfv.cc:123:38: error: ‘MBE’ was not declared in this scope
                                      MBE,
                                      ^
laplacedirichletccfv.cc:124:115: error: template argument 4 is invalid

RF,RF,RF,Dune::PDELab::EmptyTransformation,Dune::PDELab::EmptyTransformation
> GO;

                                           ^
laplacedirichletccfv.cc:124:119: error: invalid type in declaration
before ‘;’ token

RF,RF,RF,Dune::PDELab::EmptyTransformation,Dune::PDELab::EmptyTransformation
> GO;

                                               ^
laplacedirichletccfv.cc:126:19: error: expression list treated as
compound expression in initializer [-fpermissive]
   GO go(gfs,gfs,la);
                   ^
laplacedirichletccfv.cc:132:20: error: ‘GO’ is not a class, namespace,
or enumeration
   typedef typename GO::Traits::Domain V;
                    ^
laplacedirichletccfv.cc:132:40: error: invalid type in declaration
before ‘;’ token
   typedef typename GO::Traits::Domain V;
                                        ^
laplacedirichletccfv.cc:138:14: error: expression list treated as
compound expression in initializer [-fpermissive]
   V x(gfs,0.0);
              ^
In file included from laplacedirichletccfv.cc:40:0:
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh: In
instantiation of ‘class Dune::PDELab::StationaryLinearProblemSolver<int,
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal, int>’:
laplacedirichletccfv.cc:148:6:   required from here
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:47:39:
error: ‘int’ is not a class, struct, or union type
       typedef typename V::ElementType Real;
                                       ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:48:45:
error: ‘int’ is not a class, struct, or union type
       typedef typename GO::Traits::Jacobian M;
                                             ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:49:59:
error: ‘int’ is not a class, struct, or union type
       typedef typename GO::Traits::TrialGridFunctionSpace
TrialGridFunctionSpace;
                                                           ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:50:95:
error: ‘int’ is not a class, struct, or union type
       typedef typename
Dune::PDELab::BackendVectorSelector<TrialGridFunctionSpace,Real>::Type W;

                       ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:56:7:
error: ‘int’ is not a class, struct, or union type
       StationaryLinearProblemSolver(const GO& go, V& x, LS& ls,
typename V::ElementType reduction, typename V::ElementType min_defect =
1e-99, int verbose=1) DUNE_DEPRECATED_MSG("Use
StationaryLinearProblemSolver(const GO&, LS&, V&, ...) instead.")
       ^
In file included from laplacedirichletccfv.cc:40:0:
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:67:7:
error: ‘int’ is not a class, struct, or union type
       StationaryLinearProblemSolver(const GO& go, LS& ls, V& x,
typename V::ElementType reduction, typename V::ElementType min_defect =
1e-99, int verbose=1)
       ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:78:7:
error: ‘int’ is not a class, struct, or union type
       StationaryLinearProblemSolver (const GO& go, LS& ls, typename
V::ElementType reduction, typename V::ElementType min_defect = 1e-99,
int verbose=1)
       ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:279:21:
error: ‘int’ is not a class, struct, or union type
       shared_ptr<M> _jacobian;
                     ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:280:31:
error: ‘int’ is not a class, struct, or union type
       typename V::ElementType _reduction;
                               ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:281:31:
error: ‘int’ is not a class, struct, or union type
       typename V::ElementType _min_defect;
                               ^
laplacedirichletccfv.cc: In instantiation of ‘void test(const GV&,
std::string) [with GV =
Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>,
(Dune::PartitionIteratorType)4u> >; std::string = std::basic_string<char>]’:
laplacedirichletccfv.cc:183:50:   required from here
laplacedirichletccfv.cc:126:19: warning: left operand of comma operator
has no effect [-Wunused-value]
   GO go(gfs,gfs,la);
                   ^
laplacedirichletccfv.cc:126:19: warning: right operand of comma operator
has no effect [-Wunused-value]
laplacedirichletccfv.cc:126:19: error: cannot convert ‘LOP {aka
Dune::PDELab::LaplaceDirichletCCFV<G<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >, double> >}’ to
‘GO {aka int}’ in initialization
laplacedirichletccfv.cc:133:11: error: cannot convert ‘GFS {aka
Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>,
Dune::PDELab::NoConstraints, Dune::PDELab::EigenVectorBackend,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
> }’ to ‘V {aka int}’ in initialization
   V x0(gfs);
           ^
laplacedirichletccfv.cc:138:14: warning: left operand of comma operator
has no effect [-Wunused-value]
   V x(gfs,0.0);
              ^
laplacedirichletccfv.cc:147:24: error: no matching function for call to
‘Dune::PDELab::StationaryLinearProblemSolver<int,
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal,
int>::StationaryLinearProblemSolver(GO&, LS&, V&, double)’
   SLP slp(go,ls,x,1e-12);
                        ^
laplacedirichletccfv.cc:147:24: note: candidates are:
In file included from laplacedirichletccfv.cc:40:0:
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:136:7:
note: Dune::PDELab::StationaryLinearProblemSolver<GO, LS,
V>::StationaryLinearProblemSolver(const GO&, LS&, const
Dune::ParameterTree&) [with GO = int; LS =
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal; V = int]
       StationaryLinearProblemSolver(const GO& go, LS& ls, const
ParameterTree& params)
       ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:136:7:
note:   candidate expects 3 arguments, 4 provided
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:107:7:
note: Dune::PDELab::StationaryLinearProblemSolver<GO, LS,
V>::StationaryLinearProblemSolver(const GO&, LS&, V&, const
Dune::ParameterTree&) [with GO = int; LS =
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal; V = int]
       StationaryLinearProblemSolver(const GO& go, LS& ls, V& x, const
ParameterTree& params)
       ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:107:7:
note:   no known conversion for argument 4 from ‘double’ to ‘const
Dune::ParameterTree&’
In file included from laplacedirichletccfv.cc:40:0:
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:45:11:
note: constexpr Dune::PDELab::StationaryLinearProblemSolver<int,
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal,
int>::StationaryLinearProblemSolver(const
Dune::PDELab::StationaryLinearProblemSolver<int,
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal, int>&)
     class StationaryLinearProblemSolver
           ^
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:45:11:
note:   candidate expects 1 argument, 4 provided
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:45:11:
note: constexpr Dune::PDELab::StationaryLinearProblemSolver<int,
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal,
int>::StationaryLinearProblemSolver(Dune::PDELab::StationaryLinearProblemSolver<int,
Dune::PDELab::EigenBackend_BiCGSTAB_Diagonal, int>&&)
/[...]/dune-pdelab-2.0.0/dune/pdelab/stationary/linearproblem.hh:45:11:
note:   candidate expects 1 argument, 4 provided
In file included from
/[...]/dune-pdelab-2.0.0/dune/pdelab/gridfunctionspace/gridfunctionspace.hh:32:0,
                 from laplacedirichletccfv.cc:20:
/[...]/dune-pdelab-2.0.0/dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh:
In instantiation of ‘class
Dune::PDELab::DiscreteGridFunction<Dune::PDELab::GridFunctionSpace<Dune::GridView<Dune::DefaultLeafGridViewTraits<const
Dune::YaspGrid<2>, (Dune::PartitionIteratorType)4u> >,
Dune::PDELab::P0LocalFiniteElementMap<double, double, 2>,
Dune::PDELab::NoConstraints, Dune::PDELab::EigenVectorBackend,
Dune::PDELab::LeafOrderingTag<Dune::PDELab::DefaultLeafOrderingParams>
> , int>’:
laplacedirichletccfv.cc:152:7:   required from ‘void test(const GV&,
std::string) [with GV =
Dune::GridView<Dune::DefaultLeafGridViewTraits<const Dune::YaspGrid<2>,
(Dune::PartitionIteratorType)4u> >; std::string = std::basic_string<char>]’
laplacedirichletccfv.cc:183:50:   required from here
/[...]/dune-pdelab-2.0.0/dune/pdelab/gridfunctionspace/gridfunctionspaceutilities.hh:160:61:
error: ‘int’ is not a class, struct, or union type
       typedef typename X::template ConstLocalView<LFSCache> XView;
                                                             ^
make[4]: *** [laplacedirichletccfv_eigen-laplacedirichletccfv.o] Fehler 1
make[4]: Verzeichnis
»/[...]/dune-pdelab-howto-2.0.0/src/convection-diffusion« wird verlassen
make[3]: *** [all-recursive] Fehler 1
make[3]: Verzeichnis
»/[...]/dune-pdelab-howto-2.0.0/src/convection-diffusion« wird verlassen
make[2]: *** [all-recursive] Fehler 1
make[2]: Verzeichnis »/[...]/dune-pdelab-howto-2.0.0/src« wird verlassen
make[1]: *** [all-recursive] Fehler 1
make[1]: Verzeichnis »/[...]/dune-pdelab-howto-2.0.0« wird verlassen
make: *** [all] Fehler 2
--- Failed to build dune-pdelab-howto ---
Terminating dunecontrol due to previous errors!
======================================================================



Thank you in advance!

Ansgar2



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20150417/91333816/attachment.sig>


More information about the dune-pdelab mailing list