[dune-pdelab] Minimum compiler support for building the PDELab
Bård Skaflestad
Bard.Skaflestad at sintef.no
Wed Sep 11 16:12:12 CEST 2013
All,
I've been trying (and failing) to build the PDELab-howto using GCC 4.4
over the past couple of weeks. With Markus's latest changes to the
howto (commit e741a9d) I got most of the way there, but still not quite.
If I apply the hack outlined below (clearly not production ready), I
*am* able to build the -howto using GCC 4.4 with the following external
software packages
* ALUGrid: version 1.52 (parallel)
* BLAS: yes
* Eigen: yes
* METIS: yes
* OpenGL: yes (add GL_LIBS to LDADD manually, etc.)
* SuperLU: yes (version 4.2 or older, post 2005)
So, before I attempt to polish this thing, I'd just like to ask whether
or not PDELab (and its -howto module) is supposed to work (or, at least,
build) on older toolchains. I tried to search the website but was
unable to find any list of minimum required compiler versions.
Sincerely,
--
Bård Skaflestad <Bard.Skaflestad at sintef.no>
SINTEF Applied Mathematics
-------------8<------------------------8<-------------------------------
diff --git a/dune/pdelab/gridfunctionspace/subspacelocalfunctionspace.hh
b/dune/pdelab/gridfunctionspace/subspacelocalfunctionspace.hh
index 750f309..72d47f1 100644
--- a/dune/pdelab/gridfunctionspace/subspacelocalfunctionspace.hh
+++ b/dune/pdelab/gridfunctionspace/subspacelocalfunctionspace.hh
@@ -61,8 +61,16 @@ namespace Dune {
void bind(const E& e)
{
LFS::bind(e);
+#if 0
for (auto& di : this->_dof_index_storage)
complete_dof_index(di);
+#else
+ for (typename Traits::DOFIndexContainer::iterator
+ di = this->_dof_index_storage.begin(),
+ de = this->_dof_index_storage.end();
+ di != de; ++di)
+ complete_dof_index(*di);
+#endif
}
std::size_t subSpaceDepth() const
More information about the dune-pdelab
mailing list