Create partition

65 views
Skip to first unread message

Mahmood Naderan

unread,
Apr 5, 2018, 5:02:05 AM4/5/18
to pyfrmai...@googlegroups.com
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?


Regards,
Mahmood



Niki Loppi

unread,
Apr 5, 2018, 5:41:05 AM4/5/18
to pyfrmai...@googlegroups.com

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

--
You received this message because you are subscribed to the Google Groups "PyFR Mailing List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyfrmailingli...@googlegroups.com.
To post to this group, send email to pyfrmai...@googlegroups.com.
Visit this group at https://groups.google.com/group/pyfrmailinglist.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages