Hi,
I recently upgraded my PC from Kubuntu 13.04 (Raring) to 14.04 (Trusty) and 
tried using the FEnICS 1.3.0 packages available via the standard repositories. 
This resulted in the following error:
/home/leopardi/sync/src/python-sandbox/dolfin/dirac.py in ()
3
4 # mesh
----> 5 mesh = UnitCircleMesh(16)
6 #mesh = UnitSquareMesh(32, 32)
7

/usr/lib/python2.7/dist-packages/dolfin/cpp/mesh.pyc in init(self, args)
8258
8259 """
-> 8260 _mesh.UnitCircleMesh_swiginit(self,_mesh.new_UnitCircleMesh(args))
8261 swig_destroy = _mesh.delete_UnitCircleMesh
8262 UnitCircleMesh_swigregister = _mesh.UnitCircleMesh_swigregister

RuntimeError:
[...]
*** Error: Unable to generate ellipse mesh.
*** Reason: Generation of ellipse meshes requires DOLFIN to be configured with 
CGAL.
*** Where: This error was encountered inside EllipseMesh.cpp.
*** Process: 0

*** DOLFIN version: 1.3.0
*** Git changeset: unknown
*** -------------------------------------------------------------------------

Judging from previous responses on this site to the problem above, I concluded 
that the problem I was seeing with the dolfin 1.3.0 package on Kubuntu could 
best be tackled by seeing if it persists in 1.4.0.

I then decided to use the PPA instead, which has FEnICS 1.4.0.
The attempt to install libdolfin1.4 results in the message:

leopardi@catawba:~$ sudo apt-get install libdolfin1.4
[sudo] password for leopardi:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libdolfin1.4 : Depends: libopenmpi1.3 but it is not installable
E: Unable to correct problems, you have held broken packages.

I checked Launchpad, and libopenmpi1.3 has been deleted:

https://launchpad.net/ubuntu/trusty/amd64/libopenmpi1.3/1.4.5-1ubuntu2

Is the dependency on libopenmpi1.3 critical? Can libopenmpi1.6 be used 
instead? What is the recommended workaround? Do I need to install FEniCS from 
source, or does someone have the 1.4.0 PPA packages working with *buntu 14.04?

I have now installed FEniCS 1.4.0 from source, using Dorsal.
http://fenicsproject.org/download/installation_using_dorsal.html
The installation succeeded, and I still do not have libopenmpi1.3 installed. 
Therefore, I don't think that this dependency is valid for Kubuntu 14.04.

My code now produces the error message 

NameError: name 'UnitCircleMesh' is not defined

I will try to solve this problem separately.
All the best, Paul



-- 
Paul Leopardi
http://www.maths.anu.edu.au/~leopardi
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to