I installed Fenics on Ubuntu 14.04 via the command line (sudo apt-get
install fenics) w/o adding a specific ppa before (this gives me dolfin
version 1.3.0).
Next I open ipython then type:
from dolfin import *
mesh = UnitSquareMesh(10,10)
V = FunctionSpace(mesh, 'Lagrange', 1)
And I get the following error message:
Calling FFC just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'make
VERBOSE=1', see
'/home/ben/.instant/error/ffc_form_fca4b6ffb2fc6e2e2de21f0bd1c9de03ea2f593c/compile.log'
Everything was working fine a couple of weeks ago. I then tried to
compile Fenics from source. It didn't work completely and I decided to
revert to the initial working state I had. But unsuccessfully....
It's getting really frustrating. I hope someone has an idea on how to
fix that.
Thanks,
Ben
P.S: The file mentioned in the error message is rather long. But here
are the first few lines and the last few lines:
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Found SWIG: /usr/bin/swig2.0 (found version "2.0.11")
-- Configuring done
-- Generating done
CMake Warning:
Manually-specified variables were not used by the project:
DEBUG
.......
/usr/local/include/ufc.h:435:25: note: virtual std::size_t
ufc::form::original_coefficient_position(std::size_t) const
virtual std::size_t original_coefficient_position(std::size_t i)
const = 0;
^
/usr/local/include/ufc.h:456:25: note: virtual std::size_t
ufc::form::num_custom_domains() const
virtual std::size_t num_custom_domains() const = 0;
^
/usr/local/include/ufc.h:471:18: note: virtual bool
ufc::form::has_custom_integrals() const
virtual bool has_custom_integrals() const = 0;
^
/usr/local/include/ufc.h:494:30: note: virtual ufc::custom_integral*
ufc::form::create_custom_integral(std::size_t) const
virtual custom_integral* create_custom_integral(std::size_t i)
const = 0;
^
/usr/local/include/ufc.h:511:30: note: virtual ufc::custom_integral*
ufc::form::create_default_custom_integral() const
virtual custom_integral* create_default_custom_integral() const = 0;
^
make[2]: ***
[CMakeFiles/_ffc_form_fca4b6ffb2fc6e2e2de21f0bd1c9de03ea2f593c.dir/ffc_form_fca4b6ffb2fc6e2e2de21f0bd1c9de03ea2f593cPYTHON_wrap.cxx.o]
Error 1
make[2]: Leaving directory
`/tmp/tmpgD2U432014-10-23-01-28_instant_42ab166e7e6f10680af12bbaf5e4acce93ae0c93/ffc_form_fca4b6ffb2fc6e2e2de21f0bd1c9de03ea2f593c'
make[1]: ***
[CMakeFiles/_ffc_form_fca4b6ffb2fc6e2e2de21f0bd1c9de03ea2f593c.dir/all]
Error 2
make[1]: Leaving directory
`/tmp/tmpgD2U432014-10-23-01-28_instant_42ab166e7e6f10680af12bbaf5e4acce93ae0c93/ffc_form_fca4b6ffb2fc6e2e2de21f0bd1c9de03ea2f593c'
make: *** [all] Error 2
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support