UFC crash - possible swig problem with intel compiler?
I have been building from source on a linux platform with the Intel compilers, icc and icpc using Intel MPI and Intel Blas implementation MKL. The reason for this, is that they are the recommended compilers for the system I am using.
I have compiled successfully, and the dolfin demos work with c++. When I try the python demos, I get the following (see below).
It seems to be related to a line in the UFC, compiled by swig:
if (!PyArg_
res1 = SWIG_ConvertPtr
if (!SWIG_IsOK(res1)) {
SWIG_
}
So, SWIG_ConvertPtr is failing for some reason here... any ideas?
$ python demo_poisson.py
*** Warning: No module named viper
*** Warning: Unable to import Viper, plotting disabled.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
Calling DOLFIN just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
File "demo_poisson.py", line 61, in <module>
solve(a == L, u, bc)
File "/home/
_solve_
File "/home/
form_
File "/home/
L = Form(L, form_compiler_
File "/home/
function_
File "/home/
r = compiled_
File "/home/
def rank(self): return _ufc.form_
TypeError: in method 'form_rank', argument 1 of type 'ufc::form const *'
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- DOLFIN Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Chris Richardson
- Solved:
- Last query:
- Last reply: