[dune-pdelab] dune-pdelab Digest, Vol 118, Issue 3

Amir Peiraviminaei apminaei at gmail.com
Tue Sep 15 15:11:28 CEST 2020


Dear Carsten and Dear Dominic,
I've tried to rebuild dune-uggrid and dune-grid both from the master
branch. Now I'm getting this error:
[ 50%] Linking CXX executable myprog
/usr/bin/ld: cannot find -lugS3
/usr/bin/ld: cannot find -lugS2
/usr/bin/ld: cannot find -lugL
/usr/bin/ld: cannot find -lugS3
/usr/bin/ld: cannot find -lugS2
/usr/bin/ld: cannot find -lugL
collect2: error: ld returned 1 exit status




On Tue, Sep 15, 2020 at 1:04 PM <dune-pdelab-request at lists.dune-project.org>
wrote:

> Send dune-pdelab mailing list submissions to
>         dune-pdelab at lists.dune-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://lists.dune-project.org/mailman/listinfo/dune-pdelab
> or, via email, send a message with subject or body 'help' to
>         dune-pdelab-request at lists.dune-project.org
>
> You can reach the person managing the list at
>         dune-pdelab-owner at lists.dune-project.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of dune-pdelab digest..."
>
>
> Today's Topics:
>
>    1. Re: UGGrid error (Dominic Kempf)
>    2. Re: UGGrid error (Carsten Gräser)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 15 Sep 2020 12:43:16 +0200
> From: Dominic Kempf <dominic.r.kempf at gmail.com>
> To: Amir Peiraviminaei <apminaei at gmail.com>
> Cc: dune-pdelab at lists.dune-project.org
> Subject: Re: [dune-pdelab] UGGrid error
> Message-ID:
>         <
> CA+Cg7M5GONxikHv5jRrCeOZe6bkjSS6BDivh3HWMeDeTbu68hA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> 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-0001.html
> >
>
> ------------------------------
>
> Message: 2
> Date: Tue, 15 Sep 2020 13:04:50 +0200
> From: Carsten Gräser <graeser at mi.fu-berlin.de>
> To: Amir Peiraviminaei <apminaei at gmail.com>,
>         dune-pdelab at lists.dune-project.org
> Subject: Re: [dune-pdelab] UGGrid error
> Message-ID: <c71eca2e-9920-f576-3252-1da5a174e595 at mi.fu-berlin.de>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Amir,
> to me this looks like dune-grid is not build with UGGrid
> support. To do so, you need to build dune-uggrid before
> dune-grid. Simply using dunecontrol will do all of this
> in the appropriate order. I suspect that you've first build
> the core-modules (including dune-grid) and later added
> dune-uggrid which may explain the problem.
>
> If that's the reason, simply rebuilding dune-grid should
> solve the problem.
>
> Best,
> Carsten
>
>
> Am 15.09.20 um 10:59 schrieb Amir Peiraviminaei:
> > 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
>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 488 bytes
> Desc: OpenPGP digital signature
> URL: <
> https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20200915/1fab63f3/attachment.sig
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at lists.dune-project.org
> https://lists.dune-project.org/mailman/listinfo/dune-pdelab
>
> ------------------------------
>
> End of dune-pdelab Digest, Vol 118, Issue 3
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20200915/7fc1901a/attachment.htm>


More information about the dune-pdelab mailing list