[Dune] [SOLVED] Re: problem compiling dune-grid from git repository
Edscott Wilson
edscott.wilson.garcia at gmail.com
Fri Nov 18 00:08:27 CET 2016
Hi Oliver,
I'm not too familiar with working with branches in git. Would the
following instructions be sufficient to move to the 2.5
release branches? Methinks it is not quite right...
$ git branch --track 2.5
$ git checkout 2.5
Thanks a lot for your help!
Edscott
2016-11-17 13:40 GMT-06:00 Oliver Sander <oliver.sander at tu-dresden.de>:
> Hi Edscott,
>
> great to hear you got it working.
>
> > *But* another problem arises. This is with the alberta package. If
> alberta is
> > installed and found, compilation fails with the error (and many
> warnings):
>
> That's https://gitlab.dune-project.org/core/dune-common/issues/55
>
> which just got fixed.
>
> You may want to consider moving to the 2.5 release branches, which
> basically
> contain the current state of git master, but which will stabilize shortly.
>
> Cheers,
> Oliver
>
> >
> > /archive/GIT/dune/dune-grid/dune/grid/albertagrid/elementinfo.hh:416:11:
> error: no hay una función coincidente para la llamada a
> ‘swap(Dune::Alberta::ElementInfo<1>::Instance*&,
> Dune::Alberta::ElementInfo<1>::Instance*&)’
> > swap( instance_, other.instance_ );
> > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > In file included from /archive/GIT/dune/dune-common/
> dune/common/densematrix.hh:19:0,
> > from /archive/GIT/dune/dune-common/
> dune/common/fmatrix.hh:15,
> > from /archive/GIT/dune/dune-grid/
> dune/grid/albertagrid/agrid.hh:25,
> > from /archive/GIT/dune/dune-grid/
> dune/grid/albertagrid.hh:5,
> > from /archive/GIT/dune/dune-grid/dune/grid/albertagrid/
> dgfparser.hh:8,
> > from /archive/GIT/dune/dune-grid/dune/grid/albertagrid/
> dgfparser.cc:10:
> > /archive/GIT/dune/dune-common/dune/common/simd.hh:300:8: nota:
> candidate: template<class T> void Dune::swap(T&, T&, bool)
> > void swap(T &v1, T &v2, bool mask)
> >
> > ^~~~
> >
> > So if you remove the alberta package, everything with dune-uggrid
> compiles and installs fine. But if you have the alberta package installed,
> you have to disable the dune-uggrid package. I suppose this is a temporary
> thing, being the git repository a moving target.
> >
> > I worked with git repositories updated 17-sep-2016 16:10 Dresden time
> (9:10 CST).
> >
> > Thanks all
> >
> >
> >
> > 2016-11-17 3:13 GMT-06:00 Christoph Grüninger <
> christoph.grueninger at iws.uni-stuttgart.de <mailto:christoph.grueninger@
> iws.uni-stuttgart.de>>:
> >
> > Hi Edscott,
> > me again, I re-read your email and have some
> > additional thoughts.
> >
> > 1) To get rid of caching and broken configuration,
> > please always delete the build-cmake directory
> > of the current module, or in doubt, from all
> > modules.
> >
> > But then there's the issue that it finds, and does
> > not find uggrid.
> >
> >
> > 2) Please always double check whether it is UG or dune-uggrid.
> > UG is the external library which we still support beside
> > the Dune module dune-uggrid.
> >
> > I created a dune.opts file with the above directive, and ran
> "dunecontrol --opts=dune.opts"
> > and got the same hang (I probable did not create dune.opts
> correctly or something)
> >
> >
> > Probably a caching issue.
> >
> > Other weird stuff I've noticed:
> > 1. even if I uninstall alberta, it will continue to find it.
> Seems to have the information cached somewhere.
> >
> >
> > Yes, see above.
> >
> > 2. does not find psurface, but then reports it was found (I have
> psurface-1.3.1-1 installed from ArchLinux AUR)
> > -- Checking for one of the modules 'psurface'
> > -- Checking for module 'psurface'
> > -- No package 'psurface' found
> >
> >
> > Can you re-do with deleted caches? The psurface test tries to
> > find one of several versions. Having the complete output
> > might help here.
> >
> >
> > Bye
> > Christoph
> >
> > --
> > [..] Mathematicians are like theologians: we regard
> > existence as the prime attribute of what we study.
> > But unlike theologians, we need not always rely upon
> > faith alone. [Lawrence Evans]
> >
> >
> >
> >
> > --
> > ------------------------------------------------------------
> ------------------------
> > Dr. Edscott Wilson Garcia
> > Reservoir Engineering
> > Mexican Petroleum Institute
> >
> >
> > _______________________________________________
> > Dune mailing list
> > Dune at dune-project.org
> > http://lists.dune-project.org/mailman/listinfo/dune
> >
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
>
>
--
------------------------------------------------------------------------------------
Dr. Edscott Wilson Garcia
Reservoir Engineering
Mexican Petroleum Institute
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20161117/9808bfd7/attachment.htm>
More information about the Dune
mailing list