Skip to content
Snippets Groups Projects
Commit a1e4433c authored by Tim Keil's avatar Tim Keil Committed by dune-community-bulldozer[bot]
Browse files

[python] fix metis segfault

parent 489b8343
No related branches found
No related tags found
No related merge requests found
...@@ -10,4 +10,10 @@ ...@@ -10,4 +10,10 @@
# René Fritze (2016, 2018) # René Fritze (2016, 2018)
# ~~~ # ~~~
# Note: This import makes sure that metis is imported before python bindings from dune-xt. Importing dune-xt python bindings at any point before metis will cause a segfault due to misscommunication between libmetis5 and libscotchmetis.
try:
import metis
except ImportError:
pass
__import__('pkg_resources').declare_namespace(__name__) __import__('pkg_resources').declare_namespace(__name__)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment