mikaem / fenicstools

55 stars 36 forks source link

Compile error in Interpolate.py #12

Open janlv opened 8 years ago

janlv commented 8 years ago

Hi, I find the StructuredGrid very useful, but it seems not to work with MPI. I get a compile error in Interpolate.py and I guess this is related to the MPI problems. I have attached the last part of the log-message. I tried to locate the missing functions in Dolfin without any success. I'm using Dolfin 1.6 on a Mac

Cheers, Jan Ludvig Vinningland

/private/var/folders/qp/5q0w4mfd1z52mfb0m0gtm2d40000gn/T/tmpS2qZbk2016-4-4-21-44_instant_70590be213b550e021be6e6c3ad61e920413dcbb/dolfin_compile_code_2f8ced4bb0a01350ee171bcbdd6c2128b21301a3/dolfin_compile_code_2f8ced4bb0a01350ee171bcbdd6c2128b21301a3PYTHON_wrap.cxx:3382:15: error: no member named 'get_coordinate_dofs' in 'dolfin::Cell' cell->get_coordinate_dofs(coordinate_dofs);


/private/var/folders/qp/5q0w4mfd1z52mfb0m0gtm2d40000gn/T/tmpS2qZbk2016-4-4-21-44_instant_70590be213b550e021be6e6c3ad61e920413dcbb/dolfin_compile_code_2f8ced4bb0a01350ee171bcbdd6c2128b21301a3/dolfin_compile_code_2f8ced4bb0a01350ee171bcbdd6c2128b21301a3PYTHON_wrap.cxx:3389:17: error: no member named 'tabulate_dof_coordinates' in 'dolfin::FiniteElement'
        element.tabulate_dof_coordinates(coordinates, coordinate_dofs, _cell);
        ~~~~~~~ ^
2 errors generated.
make[2]: *_\* [CMakeFiles/_dolfin_compile_code_2f8ced4bb0a01350ee171bcbdd6c2128b21301a3.dir/dolfin_compile_code_2f8ced4bb0a01350ee171bcbdd6c2128b21301a3PYTHON_wrap.cxx.o] Error 1
make[1]: **\* [CMakeFiles/_dolfin_compile_code_2f8ced4bb0a01350ee171bcbdd6c2128b21301a3.dir/all] Error 2
make: **\* [all] Error 2
mikaem commented 8 years ago

Hi This is a compatibility issue. The development version of fenicstools works only with development version of dolfin. Have you tried the 1.6 version of fenicstools?

janlv commented 8 years ago

According to pip freeze I have version 1.6.0 installed...

mikaem commented 8 years ago

Then you probably have a newer Fenics version? This problem you're referring to was recently fixed, so it's most definitely a compatibility issue.

janlv commented 8 years ago

Yes, I have the latest Dolfin installed, 1.6.0.