problem about partitioning mesh file

310 views
Skip to first unread message

King wen

unread,
Oct 13, 2016, 8:50:35 AM10/13/16
to PyFR Mailing List
Dear all,

I've tried to run the 2D Euler Vortex problem with PyFR v.1.4.0. However, when I run pyfr to partition the PyFR mesh file into two pieces, I get the error messages below:

[root@localhost euler_vortex]# pyfr partition 2 euler_vortex_2d.pyfrm .

Traceback (most recent call last):

  File "/usr/local/python3/bin/pyfr", line 11, in <module>

    load_entry_point('pyfr==1.4.0', 'console_scripts', 'pyfr')()

  File "/usr/local/python3/lib/python3.5/site-packages/pyfr-1.4.0-py3.5.egg/pyfr/scripts/main.py", line 109, in main

  File "/usr/local/python3/lib/python3.5/site-packages/pyfr-1.4.0-py3.5.egg/pyfr/scripts/main.py", line 156, in process_partition

RuntimeError: No partitioners available

what's wrong with this case? Please help me.

Thanks in advance.

Best regards,
Kingwen

Vincent, Peter E

unread,
Oct 13, 2016, 9:03:16 AM10/13/16
to King wen, PyFR Mailing List
Do you have scotch or metis installed?

Dr Peter Vincent MSci ARCS DIC PhD
Reader in Aeronautics and EPSRC Fellow
Department of Aeronautics
Imperial College London
South Kensington
London
SW7 2AZ

twitter: @Vincent_Lab

--
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.

Tom Andreou

unread,
Nov 14, 2017, 3:11:47 PM11/14/17
to PyFR Mailing List
Hi,
I have the same issue with pyFR.
When i type 
pyfr partition 2 euler_vortex_2d.pyfrm .

i get :

Traceback (most recent call last):
  File "/home/thomas/miniconda3/bin/pyfr", line 11, in <module>
load_entry_point('pyfr==1.7.0', 'console_scripts', 'pyfr')()
File "/home/thomas/miniconda3/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/__main__.py", line 110, in main
File "/home/thomas/miniconda3/lib/python3.6/site-packages/pyfr-1.7.0-py3.6.egg/pyfr/__main__.py", line 158, in process_partition
RuntimeError: No partitioners available


is there a solution to this?
I think I have installed scotch and metis correctly.

Kind Regards,
Tom

Loppi, Niki

unread,
Nov 14, 2017, 5:59:16 PM11/14/17
to Tom Andreou, PyFR Mailing List
Hi Tom,

If you have built them as shared libraries, did you remember to add

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

Cheers,
Niki

Tom Andreou

unread,
Nov 15, 2017, 10:18:32 AM11/15/17
to Loppi, Niki, PyFR Mailing List
Thanks Niki,
the export didn't work but i found an easier way to install metis by typing in terminal:
conda install -c menpo metis


Have a good day,
Tom

Kiny Wan

unread,
Oct 29, 2019, 8:52:36 PM10/29/19
to PyFR Mailing List
Hello Tom,
        I installed the metis in Win10 with the script "conda install -c menpo metis" and typed "pyfr partition 2 euler_vortex_2d.pyfrm ." in the Anaconda prompt. A  error occurs with
"AttibuteError : function 'METIS_SetDefaultOptions' not found". The path of metis.lib has been added into the system variable. Any suggestions to this error?
Yours
Wan
        

Freddie Witherden

unread,
Oct 29, 2019, 9:02:12 PM10/29/19
to pyfrmai...@googlegroups.com
On 29/10/2019 19:52, Kiny Wan wrote:
> Hello Tom,
>         I installed the metis in Win10 with the script "conda install -c
> menpo metis" and typed "pyfr partition 2 euler_vortex_2d.pyfrm ." in the
> Anaconda prompt. A  error occurs with
> *"AttibuteError : function 'METIS_SetDefaultOptions' not found"*. The
> path of metis.lib has been added into the system variable. Any
> suggestions to this error?

You will want to check what version of METIS has been installed by
conda. PyFR requires the newer version 5 however many package managers
ship 4 by default.

Regards, Freddie.

Kiny Wan

unread,
Nov 13, 2019, 2:23:58 AM11/13/19
to PyFR Mailing List
Thank you Freddie. 
Reply all
Reply to author
Forward
0 new messages