[Dune] Error in building dune project

Kumar, Paras paras.kumar at fau.de
Mon Nov 20 19:23:33 CET 2017


Hi all,

I'm trying to build a dune project based on the following modules. Also 
given are the git links I used to obtain them.

git clone https://gitlab.dune-project.org/core/dune-common.git

git clone https://gitlab.dune-project.org/core/dune-geometry.git

git clone https://gitlab.dune-project.org/core/dune-grid.git

git clone https://gitlab.dune-project.org/core/dune-localfunctions.git

git clone https://gitlab.dune-project.org/core/dune-istl.git

git clone https://gitlab.dune-project.org/staging/dune-functions.git

git clone https://gitlab.dune-project.org/staging/dune-typetree

git clone https://git.imp.fu-berlin.de/agnumpde/dune-fufem.git

git clone https://git.imp.fu-berlin.de/agnumpde/dune-matrix-vector.git


All these modules build without any error but when I build my project 
dune-sample containing this statement,

#include <dune/fufem/assemblers/localassemblers/massassembler.hh>

The following error appears :

In file included from 
/home/rzlin/wo01xyci/Paras_Projects/JSC/CODE_Work/dune/dune-fufem/dune/fufem/quadraturerules/quadraturerulecache.hh:15:0,
                  from 
/home/rzlin/wo01xyci/Paras_Projects/JSC/CODE_Work/dune/dune-fufem/dune/fufem/assemblers/localassemblers/massassembler.hh:12,
                  from 
/home/rzlin/wo01xyci/Paras_Projects/JSC/CODE_Work/dune/dune-sample/src/dune-sample.cc:38:
/home/rzlin/wo01xyci/Paras_Projects/JSC/CODE_Work/dune/dune-fufem/dune/fufem/refinedfehelper.hh:23:101: 
error: template argument 1 is invalid
  struct IsRefinedLocalFiniteElement<typename Dune::template 
LocalFiniteElementVirtualInterfaceImp<T> >

The code compiles without any errors if I don't use this include file.

I use the following software spces:

1) gcc/6.2.0
2) openmpi/2.0.1-gnu
3) cmake 3.5.1

Could someone please help me find where I go wrong.

Thanks and best regards
Paras Kumar




More information about the Dune mailing list