dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #19200
Re: CGAL problems
On Thu, 2010-08-19 at 22:46 +0200, Anders Logg wrote:
> On Thu, Aug 19, 2010 at 10:12:09PM +0200, Anders Logg wrote:
> > On Thu, Aug 19, 2010 at 09:07:34PM +0100, Garth N. Wells wrote:
> > > On Thu, 2010-08-19 at 21:03 +0200, Anders Logg wrote:
> > > > On Thu, Aug 19, 2010 at 07:39:35PM +0100, Garth N. Wells wrote:
> > > > > Our SCons scripts are doing some weird things with Python libraries on
> > > > > some 64 bit systems. I'm getting the dolfin *.py files in
> > > > >
> > > > > lib/python2.6/site-packages/dolfin
> > > > >
> > > > > and the _cpp.so file in
> > > > >
> > > > > lib64/python2.6/site-packages/dolfin
> > > > >
> > > > > and it doesn't work.
> > > > >
> > > > > I'm not feeling inclined to fix this in the SCons build system (even if
> > > > > I could), so how about shifting to CMake for building DOLFIN via Dorsal?
> > > > >
> > > > > Garth
> > > >
> > > > I think we should. I'm trying to get it to build manually first
> > > > (currently fails because of some Armadillo problem), but just go ahead
> > > > and switch to CMake.
> > > >
> > >
> > > OK. I can build with openSUSE 11.3 (64 bit) using CMake (couldn't get it
> > > to work with SCons), with Viper working and all.
> > >
> > > Harish: have you already started the transition to CMake?
> >
> > I added a CMake option in dorsal.sh (don't really know what I'm doing
> > but it looks reasonable) and will push an updated dolfin.package soon.
>
> It seems to work reasonably well. Everything goes through now on the
> Mac up to the point where it is linking DOLFIN. Then it fails because
> of some CGAL problems. It's a very long message but it seems to
> complain about _mpfr_get_d.
>
I had that an hour ago on openSUSE - I was missing the mpfr-devel
package, on which CGAL depends. Once I installed it everything ran like
clockwork. I added FIXME in the DOLFIN CMakeLists.txt to check for mpfr.
Garth
> --
> Anders
References