Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile error in Interpolate.py #12

Open
janlv opened this issue Apr 6, 2016 · 4 comments
Open

Compile error in Interpolate.py #12

janlv opened this issue Apr 6, 2016 · 4 comments

Comments

@janlv
Copy link

janlv commented Apr 6, 2016

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
Copy link
Owner

mikaem commented Apr 6, 2016

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
Copy link
Author

janlv commented Apr 6, 2016

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

@mikaem
Copy link
Owner

mikaem commented Apr 6, 2016

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
Copy link
Author

janlv commented Apr 6, 2016

Yes, I have the latest Dolfin installed, 1.6.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants