[dune-pdelab] UGGrid error

Dominic Kempf dominic.r.kempf at gmail.com
Tue Sep 15 12:43:16 CEST 2020


Hey Amir,

is this happening on the master branch of dune-uggrid/dune-grid/dune-pdelab
or on a release branch?
Please make sure that you are using consistent branches and report which
one you are using.
If the branch is master, it would be very insightful if you could try the
releases/2.7 branch as well.
There were changes in dune-grid regarding UG's capabilities that have
caused similar issues before.

Best,
Dominic

On Tue, Sep 15, 2020 at 11:00 AM Amir Peiraviminaei <apminaei at gmail.com>
wrote:

> Hi everyone,
> I'm using DG method to solve a system of PDEs in parallel. When I use YASP
> Grid, It works fine. Now I want to solve it on the unstructured grid, but
> UGGrid doesn't work.
> Errors:
> In function `Dune::UG_NS<2>::DDD_IFOneway(DDD::DDDContext&, unsigned int,
> (anonymous namespace)::D2::DDD_IF_DIR, unsigned long, int
> (*)(DDD::DDDContext&, char*, void*), int (*)(DDD::DDDContext&, char*,
> void*))':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:119: undefined
> reference to `(anonymous namespace)::D2::DDD_IFOneway(DDD::DDDContext&,
> unsigned int, (anonymous namespace)::D2::DDD_IF_DIR, unsigned long, int
> (*)(DDD::DDDContext&, char*, void*), int (*)(DDD::DDDContext&, char*,
> void*))'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::Corner_Coordinates((anonymous namespace)::D2::element
> const*, double**)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined
> reference to `(anonymous namespace)::D2::n_offset'
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined
> reference to `(anonymous namespace)::D2::n_offset'
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined
> reference to `(anonymous namespace)::D2::n_offset'
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined
> reference to `(anonymous namespace)::D2::n_offset'
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined
> reference to `(anonymous namespace)::D2::n_offset'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o:/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452:
> more undefined references to `(anonymous namespace)::D2::n_offset' follow
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::Sides_Of_Elem((anonymous namespace)::D2::element const*)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:548: undefined
> reference to `(anonymous namespace)::D2::element_descriptors'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::Side_On_Bnd((anonymous namespace)::D2::element const*,
> int)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:576: undefined
> reference to `(anonymous namespace)::D2::side_offset'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::Edges_Of_Elem((anonymous namespace)::D2::element const*)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:591: undefined
> reference to `(anonymous namespace)::D2::element_descriptors'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::Corners_Of_Elem((anonymous namespace)::D2::element
> const*)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:598: undefined
> reference to `(anonymous namespace)::D2::element_descriptors'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::isLeaf((anonymous namespace)::D2::element const*)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:708: undefined
> reference to `(anonymous namespace)::D2::control_entries'
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:708: undefined
> reference to `(anonymous namespace)::D2::control_entries'
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:708: undefined
> reference to `(anonymous namespace)::D2::control_entries'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::Corner((anonymous namespace)::D2::element const*, int)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:947: undefined
> reference to `(anonymous namespace)::D2::n_offset'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::GetEdge((anonymous namespace)::D2::node*, (anonymous
> namespace)::D2::node*)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:962: undefined
> reference to `(anonymous namespace)::D2::GetEdge((anonymous
> namespace)::D2::node const*, (anonymous namespace)::D2::node const*)'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UGGridEntity<0, 2, Dune::UGGrid<2> const>::UGGridEntity((anonymous
> namespace)::D2::element*, Dune::UGGrid<2> const*)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/uggridentity.hh:619:
> undefined reference to `Dune::UGGridEntity<0, 2, Dune::UGGrid<2>
> const>::setToTarget((anonymous namespace)::D2::element*, Dune::UGGrid<2>
> const*)'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UG_NS<2>::DDD_InfoProcList(DDD::DDDContext&, DDD::DDD_HEADER*)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:134: undefined
> reference to `(anonymous namespace)::D2::DDD_InfoProcList(DDD::DDDContext&,
> DDD::DDD_HEADER*)'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UGGridLeafIterator<0, (Dune::PartitionIteratorType)4,
> Dune::UGGrid<2> const>::globalIncrement()':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/uggridleafiterator.hh:161:
> undefined reference to `Dune::UGGridEntity<0, 2, Dune::UGGrid<2>
> const>::setToTarget((anonymous namespace)::D2::element*, Dune::UGGrid<2>
> const*)'
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/uggridleafiterator.hh:176:
> undefined reference to `Dune::UGGridEntity<0, 2, Dune::UGGrid<2>
> const>::setToTarget((anonymous namespace)::D2::element*, Dune::UGGrid<2>
> const*)'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UGGridLeafIterator<0, (Dune::PartitionIteratorType)4,
> Dune::UGGrid<2> const>::UGGridLeafIterator(Dune::UGGrid<2> const&)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/uggridleafiterator.hh:54:
> undefined reference to `Dune::UGGridEntity<0, 2, Dune::UGGrid<2>
> const>::setToTarget((anonymous namespace)::D2::element*, Dune::UGGrid<2>
> const*)'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UGGridLeafIterator<0, (Dune::PartitionIteratorType)4,
> Dune::UGGrid<2> const>::UGGridLeafIterator()':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/uggridleafiterator.hh:73:
> undefined reference to `Dune::UGGridEntity<0, 2, Dune::UGGrid<2>
> const>::setToTarget((anonymous namespace)::D2::element*, Dune::UGGrid<2>
> const*)'
> CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function
> `Dune::UGGridLeafIterator<0, (Dune::PartitionIteratorType)1,
> Dune::UGGrid<2> const>::UGGridLeafIterator(Dune::UGGrid<2> const&)':
> /home/peiravim/dune/dune-grid/dune/grid/uggrid/uggridleafiterator.hh:58:
> undefined reference to `Dune::UGGridEntity<0, 2, Dune::UGGrid<2>
> const>::setToTarget((anonymous namespace)::D2::element*, Dune::UGGrid<2>
> const*)'
>
> Does anyone know what these errors are about and how can I fix it?
> Thank you.
> Amir
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at lists.dune-project.org
> https://lists.dune-project.org/mailman/listinfo/dune-pdelab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20200915/bfd5c047/attachment.htm>


More information about the dune-pdelab mailing list