Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dolfin requires both ufc and ffc, which can not coexist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
aharel
n00b
n00b


Joined: 16 Nov 2011
Posts: 36

PostPosted: Thu Feb 11, 2016 10:36 am    Post subject: dolfin requires both ufc and ffc, which can not coexist Reply with quote

Hello,

I'm trying to install FEniCS, or more specifically, its dolfin interface.
I found sci-mathematics/dolfin.
As preliminaries, I updated my system (and @world set), installed sci-libs/cholmod and sci-mathematics/cgal, and added the use flags to dolfin so it uses those two packages (*).

emerge fails since dolfin pulls in both sci-mathematics/ufc and dev-python/ffc, which can not coexist. They seem to offer similar functionality. Perhaps dev-python/ffc is the official replacement for the unofficial sci-mathematics/ufc and the dolfin ebuild is out of date?

Any ideas how to overcome this?
(highlights from emerge's output are below)

(*) the same block was present before I installed choldmod and cgal and set the use flags to use them.

many thanks,
Amnon

Quote:

[blocks B ] sci-mathematics/ufc ("sci-mathematics/ufc" is blocking dev-python/ffc-1.4.0)
...
* Error: The above package list contains packages which cannot be
* installed at the same time on the same system.

(dev-python/ffc-1.4.0:0/0::science, ebuild scheduled for merge) pulled in by
dev-python/ffc[python_targets_python2_7(-)?,-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)] (dev-python/ffc[python_targets_python2_7(-),-python_single_target_jython2_7(-),-python_single_target_pypy(-),-python_single_target_pypy3(-),-python_single_target_python3_3(-),-python_single_target_python3_4(-),-python_single_target_python3_5(-),python_single_target_python2_7(+)]) required by (sci-mathematics/dolfin-0.9.9:0/0::science, ebuild scheduled for merge)

(sci-mathematics/ufc-2.3.0:0/0::science, installed) pulled in by
sci-mathematics/ufc required by (sci-mathematics/dolfin-0.9.9:0/0::science, ebuild scheduled for merge)
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Fri Feb 12, 2016 12:52 pm    Post subject: Reply with quote

You can work around it with USE="-python", though I've no idea whether it's needed for any important functionality.
Back to top
View user's profile Send private message
aharel
n00b
n00b


Joined: 16 Nov 2011
Posts: 36

PostPosted: Fri Feb 12, 2016 1:57 pm    Post subject: The python interface is exactly what I need... Reply with quote

Thanks for the suggestion Ant P.
As it happens, the python interface is exactly what I need, so your advice will not work for my case.

Looking a bit more into it, the dolfin ebuild looks hopelessly outdated:
1. "ufc" is a deprecated component of dolfin, which was replaced with "ffc" in 2014.
2. As far as I can tell, the ebuild is basically from 2010.

FEniCS's idea of "installation from source" is to install another package manager, hashdist, and build from it. This seems like anathema to a gentoo system. But I guess that's the only way to go forward with this. At least I saw it working on Fedora.
Back to top
View user's profile Send private message
orion777
Apprentice
Apprentice


Joined: 15 Mar 2017
Posts: 207
Location: Riga, Latvia

PostPosted: Wed Feb 01, 2023 11:34 am    Post subject: Reply with quote

Hallo everybody!

I'd like to install a fem-feniks into the octave, but it requires dolfin
Code:
checking pkg-config is at least version 0.9.0... yes
checking for dolfin... no

error: pkg: error running the configure script for fem-fenics


I don't find any packages i.e. sci-mathematics/dolfin, also tno overlays in the http://gpo.zugaina.org/Search?search=dolfin

Do it means that in gentoo the dolfin support is completely removed?

P.S. the target is to install on octave something like pdetool in matlab.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum