Error when partitioning a case

Hi,
I want to create more than one partition for couette_flow_2d but I receive the following error

$ pyfr import couette_flow_2d.msh couette_flow_2d.pyfrm

/home/mahmood/.local/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters

$ pyfr partition 2 couette_flow_2d.pyfrm .

/home/mahmood/.local/lib/python3.6/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
from ._conv import register_converters as _register_converters
Traceback (most recent call last):
File "/usr/local/bin/pyfr", line 11, in <module>
load_entry_point('pyfr==1.7.5', 'console_scripts', 'pyfr')()
File "/usr/local/lib/python3.6/dist-packages/pyfr-1.7.5-py3.6.egg/pyfr/__main__.py", line 110, in main
File "/usr/local/lib/python3.6/dist-packages/pyfr-1.7.5-py3.6.egg/pyfr/__main__.py", line 158, in process_partition
RuntimeError: No partitioners available

How can I fix that?

Hi Mahmood,

You need to install metis as a shared library and add

export LD_LIBRARY_PATH=/path/to/your/metis/lib:$LD_LIBRARY_PATH

Cheers,

Niki