<div dir="ltr"><div>Hey Amir,</div><div><br></div><div>is this happening on the master branch of dune-uggrid/dune-grid/dune-pdelab or on a release branch?</div><div>Please make sure that you are using consistent branches and report which one you are using.</div><div>If the branch is master, it would be very insightful if you could try the releases/2.7 branch as well.<br></div><div>There were changes in dune-grid regarding UG's capabilities that have caused similar issues before.</div><div><br></div><div>Best,</div><div>Dominic<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Sep 15, 2020 at 11:00 AM Amir Peiraviminaei <<a href="mailto:apminaei@gmail.com">apminaei@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi everyone,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">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.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Errors:</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">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*))':<br>/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*))'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::Corner_Coordinates((anonymous namespace)::D2::element const*, double**)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined reference to `(anonymous namespace)::D2::n_offset'<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined reference to `(anonymous namespace)::D2::n_offset'<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined reference to `(anonymous namespace)::D2::n_offset'<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined reference to `(anonymous namespace)::D2::n_offset'<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:452: undefined reference to `(anonymous namespace)::D2::n_offset'<br>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<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::Sides_Of_Elem((anonymous namespace)::D2::element const*)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:548: undefined reference to `(anonymous namespace)::D2::element_descriptors'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::Side_On_Bnd((anonymous namespace)::D2::element const*, int)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:576: undefined reference to `(anonymous namespace)::D2::side_offset'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::Edges_Of_Elem((anonymous namespace)::D2::element const*)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:591: undefined reference to `(anonymous namespace)::D2::element_descriptors'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::Corners_Of_Elem((anonymous namespace)::D2::element const*)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:598: undefined reference to `(anonymous namespace)::D2::element_descriptors'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::isLeaf((anonymous namespace)::D2::element const*)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:708: undefined reference to `(anonymous namespace)::D2::control_entries'<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:708: undefined reference to `(anonymous namespace)::D2::control_entries'<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:708: undefined reference to `(anonymous namespace)::D2::control_entries'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::Corner((anonymous namespace)::D2::element const*, int)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:947: undefined reference to `(anonymous namespace)::D2::n_offset'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::GetEdge((anonymous namespace)::D2::node*, (anonymous namespace)::D2::node*)':<br>/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*)'<br>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*)':<br>/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*)'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UG_NS<2>::DDD_InfoProcList(DDD::DDDContext&, DDD::DDD_HEADER*)':<br>/home/peiravim/dune/dune-grid/dune/grid/uggrid/ugwrapper.hh:134: undefined reference to `(anonymous namespace)::D2::DDD_InfoProcList(DDD::DDDContext&, DDD::DDD_HEADER*)'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UGGridLeafIterator<0, (Dune::PartitionIteratorType)4, Dune::UGGrid<2> const>::globalIncrement()':<br>/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*)'<br>/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*)'<br>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&)':<br>/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*)'<br>CMakeFiles/hydrateDG-Ex1.dir/hydrateDG-Ex1.cc.o: In function `Dune::UGGridLeafIterator<0, (Dune::PartitionIteratorType)4, Dune::UGGrid<2> const>::UGGridLeafIterator()':<br>/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*)'<br>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&)':<br>/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*)'<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Does anyone know what these errors are about and how can I fix it?</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Thank you.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Amir</div></div>
_______________________________________________<br>
dune-pdelab mailing list<br>
<a href="mailto:dune-pdelab@lists.dune-project.org" target="_blank">dune-pdelab@lists.dune-project.org</a><br>
<a href="https://lists.dune-project.org/mailman/listinfo/dune-pdelab" rel="noreferrer" target="_blank">https://lists.dune-project.org/mailman/listinfo/dune-pdelab</a></blockquote></div>