On Mon, 30 Mar 2015 09:24:15 +0300 Ivan Oseledets <[email protected]> wrote:
> Dear all, Anaconda python distribution is becoming more and more > popular of scientific computing, so it is natural to have the > possibility to install fenics in it - will increase the amount of > people using it (at least by 1). There is already a conda package > but, only for linux - nothing for mac os x (and the conda-recipe for > mac os x fails as well: > https://github.com/Juanlu001/fenics-recipes/issues/3) Installing > fenics from source is really a pain and it seems completely broken to > me now. I am stuck at installing dolfin (from the master branch) > > *Scanning dependencies of target dolfin* > > [ 0%] Building CXX object > dolfin/CMakeFiles/dolfin.dir/ale/HarmonicSmoothing.cpp.o > > In file included from > /Users/ivan/tmp/dolfin/dolfin/ale/HarmonicSmoothing.cpp:33: The usual cause for following errors is that DOLFIN UFC interface has changed but FFC-generated files in DOLFIN tree (like /Users/ivan/tmp/dolfin/dolfin/ale/Poisson1D.h) uses old UFC interface because 1. FFC has not been updated 2. or file is there cached from previous install and was not regenerated. Solution: 1. Make sure your FFC is up-to-date and proceed to step 2. 2. Run ./cmake/scripts/generate-form-files in DOLFIN tree while having correct FFC in PATH or run DOLFIN configuration from scratch, by e.g. git clean -fdx. Jan > > */Users/ivan/tmp/dolfin/dolfin/ale/Poisson1D.h:899:16: **error: > **allocating an object of abstract class type 'poisson1d_dofmap_0'* > > return new poisson1d_dofmap_0(); > > * ^* > > */Users/ivan/anaconda/include/ufc.h:221:25: note: *unimplemented pure > virtual method 'num_element_dofs' in 'poisson1d_dofmap_0' > > virtual std::size_t num_element_dofs() const = 0; > > * ^* > > In file included from > /Users/ivan/tmp/dolfin/dolfin/ale/HarmonicSmoothing.cpp:33: > > */Users/ivan/tmp/dolfin/dolfin/ale/Poisson1D.h:1141:16: **error: **no > type named 'point_integral' in namespace 'ufc'* > > virtual ufc::point_integral* create_point_integral(std::size_t i) > const > > * ~~~~~^* > > */Users/ivan/tmp/dolfin/dolfin/ale/Poisson1D.h:1171:16: **error: **no > type named 'point_integral' in namespace 'ufc'* > > virtual ufc::point_integral* create_default_point_integral() const > > * ~~~~~^* > > */Users/ivan/tmp/dolfin/dolfin/ale/Poisson1D.h:1109:20: **error: > **allocating an object of abstract class type 'poisson1d_dofmap_0'* > > return new poisson1d_dofmap_0(); _______________________________________________ fenics mailing list [email protected] http://fenicsproject.org/mailman/listinfo/fenics
