Euler 2d example partition issue

Hi ,

I’ve been trying to run the EULER 2D vortex example and I’m getting an error. I’ve followed the steps according to the user guide and when I’m typing this command
pyfr partition 2 euler_vortex_2d.pyfrm ., I am getting

Input Error: Incorrect numflag.
Traceback (most recent call last):
File "/gpfs/cfms/apps/pyFR/py34/bin/pyfr", line 9, in <module>
load_entry_point('pyfr==0.3.0', 'console_scripts', 'pyfr')()
File "/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/mpmath/ctx_mp.py", line 1301, in g
return f(*args, **kwargs)
File "/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/scripts/main.py", line 126, in main
File "/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/scripts/main.py", line 176, in process_partition
File "/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/partitioners/base.py", line 238, in partition
File "/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/partitioners/metis.py", line 180, in _partition_graph
File "/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/partitioners/metis.py", line 112, in _errcheck
pyfr.partitioners.metis.METISErrorInput

Any ideas ? All the packages have been installed and sourced accordingly.

I would appreciate your help.

Regards,

Andrei Cimpoeru

Hi Andrei,

I've been trying to run the EULER 2D vortex example and I'm getting
an error. I've followed the steps according to the user guide and
when I'm typing this command *pyfr partition 2
euler_vortex_2d.pyfrm . *, I am getting

Input Error: Incorrect numflag. Traceback (most recent call last):
File "/gpfs/cfms/apps/pyFR/py34/bin/pyfr", line 9, in <module>
load_entry_point('pyfr==0.3.0', 'console_scripts', 'pyfr')() File
"/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/mpmath/ctx_mp.py",
line 1301, in g return f(*args, **kwargs) File
"/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/scripts/main.py",

line 126, in main

File
"/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/scripts/main.py",

line 176, in process_partition

File
"/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/partitioners/base.py",

line 238, in partition

File
"/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/partitioners/metis.py",

line 180, in _partition_graph

File
"/gpfs/cfms/apps/pyFR/py34/lib/python3.4/site-packages/pyfr-0.3.0-py3.4.egg/pyfr/partitioners/metis.py",

line 112, in _errcheck

pyfr.partitioners.metis.METISErrorInput

Any ideas ? All the packages have been installed and sourced
accordingly.

It is possible that PyFR is giving METIS a bad graph to partition
(although this is a standard mesh). However, it is more likely to be
a problem either with METIS or how we interface with it. (There is
some complicated code within PyFR that attempts to determine the
options that METIS was compiled with.)

Given that the partitioning works on both of my systems do you have
any details with regards to how METIS was compiled?

Regards, Freddie.