Ubuntu 12.04 PPA fails compiling Expressions
I am using Ubuntu 12.04, I recently updated via PPA to dolfin 1.2.0
My code does not work when I try to use "Expression"
In [1]: from dolfin import *
In [2]: mesh = UnitCubeMesh(
In [3]: V=FunctionSpace
In [4]: E=Expression(
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
In instant.recompile: The module did not compile with command 'cmake -DDEBUG=TRUE . ', see '/home/
.
.
In [5]: dolfin.__version__
Out[5]: '1.2.0'
In [6]: dolfin.has_cgal()
Out[6]: True
The complile.log reads thus:
CMake Error at CMakeLists.txt:11 (INCLUDE):
include called with wrong number of arguments. Include only takes one
file.
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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.4")
-- Configuring incomplete, errors occurred!
Thanks in advance!
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Chaitanya CH for more information if necessary.