problems with the installation of the dolfin-pum library

Asked by Paolo Zunino

Object: problems with the installation of the dolfin-pum library

Hello,

Looking at the support section of the fenics project website, I have tested different options:

---------------------------------------------------------------------------------------------
Option #1 install fenics, in particular I get (among all the other packages)

fenics version 1:1.0.0-1
libdolfin1.0 version 1.0.0-1

installation of dolfin-pum-1.0.0.tar.gz (OK)
installation of ffc-pum-1.0.0.tar.gz (OK)

running dolfin-pum/demo/poisson/Poisson.ufl demo
>>ffcpum -l dolfin Poisson.ufl (OK)
>>scons (OK)
>>./demo

a runtime error occurs, this is the message:

*** -------------------------------------------------------------------------
*** Error: Unable to create intersection operator.
*** Reason: IntersectionOperatorImplementation is not available, DOLFIN has been compiled without CGAL.
*** Where: This error was encountered inside IntersectionOperator.cpp.
*** -------------------------------------------------------------------------

---------------------------------------------------------------------------------------------
Option #2

installation of fenics using ubuntu ppa (recommended to get dolfin automatically linked to cgal)

fenics version 1:1.1.0-1~ppa1~oneiric1
libdolfin1.1 version 1.1.0-1~ppa3~oneric1
Depends:libcgal9 (apparently it links to cgal now)

however, I run into the following error when installing the dolfin-pum library:

In file included from src/GeometryTools.h:15:0,
                 from src/Surface.cpp:18:
src/GenericSurface.h:61:65: error: ‘dolfin::uint’ has not been declared

My interpretation is that the pum library is not up to date with the newest version of dolfin.

Can you help me with that? I am interested to use the pum library.

Thank you,

Question information

Language:
English Edit question
Status:
Answered
For:
PUM library Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Garth Wells (garth-wells) said :
#1

The PUM library is no longer maintained. A new project is about to start, so stay tuned.

Revision history for this message
Mehdi Nikbakht (m-nikbakht) said :
#2

Dear Paolo,

As Garth mentioned the PUM library has not been updated recently with the
latest dolfin. If you want to use them, you need to install FFC (v 1.0.0)
and DOLFIN (v 1.0.0) with cgal. The easiest way to install these packages
and their dependencies is using dorsal.

Yours,
Mehdi

On Fri, Mar 22, 2013 at 3:21 PM, Paolo Zunino <
<email address hidden>> wrote:

> New question #224910 on PUM library:
> https://answers.launchpad.net/dolfin-pum/+question/224910
>
> Object: problems with the installation of the dolfin-pum library
>
> Hello,
>
> Looking at the support section of the fenics project website, I have
> tested different options:
>
>
> ---------------------------------------------------------------------------------------------
> Option #1 install fenics, in particular I get (among all the other
> packages)
>
> fenics version 1:1.0.0-1
> libdolfin1.0 version 1.0.0-1
>
> installation of dolfin-pum-1.0.0.tar.gz (OK)
> installation of ffc-pum-1.0.0.tar.gz (OK)
>
> running dolfin-pum/demo/poisson/Poisson.ufl demo
> >>ffcpum -l dolfin Poisson.ufl (OK)
> >>scons (OK)
> >>./demo
>
> a runtime error occurs, this is the message:
>
> ***
> -------------------------------------------------------------------------
> *** Error: Unable to create intersection operator.
> *** Reason: IntersectionOperatorImplementation is not available, DOLFIN
> has been compiled without CGAL.
> *** Where: This error was encountered inside IntersectionOperator.cpp.
> ***
> -------------------------------------------------------------------------
>
>
>
> ---------------------------------------------------------------------------------------------
> Option #2
>
> installation of fenics using ubuntu ppa (recommended to get dolfin
> automatically linked to cgal)
>
> fenics version 1:1.1.0-1~ppa1~oneiric1
> libdolfin1.1 version 1.1.0-1~ppa3~oneric1
> Depends:libcgal9 (apparently it links to cgal now)
>
> however, I run into the following error when installing the dolfin-pum
> library:
>
> In file included from src/GeometryTools.h:15:0,
> from src/Surface.cpp:18:
> src/GenericSurface.h:61:65: error: ‘dolfin::uint’ has not been declared
>
> My interpretation is that the pum library is not up to date with the
> newest version of dolfin.
>
> Can you help me with that? I am interested to use the pum library.
>
> Thank you,
>
> --
> You received this question notification because you are a member of PUM
> library developing team, which is an answer contact for PUM library.
>
> --
> Mailing list: https://launchpad.net/~pum-team
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~pum-team
> More help : https://help.launchpad.net/ListHelp
>

Can you help with this problem?

Provide an answer of your own, or ask Paolo Zunino for more information if necessary.

To post a message you must log in.