Metis Partition error

Please help me solve this error, Im running GCC12.2 with openmp support

~/PyFR-Test-Cases/eulervortexparalleltest$ pyfr partition 2 euler-vortex.pyfrm .
Traceback (most recent call last):
  File "/usr/local/bin/pyfr", line 33, in <module>
    sys.exit(load_entry_point('pyfr==1.15.0', 'console_scripts', 'pyfr')())
  File "/usr/local/lib/python3.10/dist-packages/pyfr-1.15.0-py3.10.egg/pyfr/__main__.py", line 125, in main
    args.process(args)
  File "/usr/local/lib/python3.10/dist-packages/pyfr-1.15.0-py3.10.egg/pyfr/__main__.py", line 191, in process_partition
    mesh, rnum, part_soln_fn = part.partition(mesh, args.progress)
  File "/usr/local/lib/python3.10/dist-packages/pyfr-1.15.0-py3.10.egg/pyfr/partitioners/base.py", line 391, in partition
  File "/usr/local/lib/python3.10/dist-packages/pyfr-1.15.0-py3.10.egg/pyfr/partitioners/metis.py", line 166, in _partition_graph
  File "/usr/local/lib/python3.10/dist-packages/pyfr-1.15.0-py3.10.egg/pyfr/ctypesutil.py", line 37, in _errcheck
    raise self._statuses[status]
pyfr.partitioners.metis.METISErrorInput

What version of METIS do you have installed? And what version of PyFR are you trying to use?

Regards, Freddie.