Error partitioning the mesh

I am trying to partition the 2D Euler vortex test case with Metis 5.2.1, by
pyfr partition add -p metis euler-vortex.pyfrm 2 .
I get the error: ValueError: Invalid partitioning name
Has the command for partitioning changed from that given in the documentation? I tried to follow pyfr partition add -p metis mesh np name.

I think you can just drop the . at the end.

That helps with 3 of the 2d examples - double mach reflection, shock tube and cylinder. For the other cases, 3d & 2d, a segmentation fault is thrown.

Do you have the exact command you are using along with the precise version of PyFR?

Regards, Freddie.

PyFR 2.1, compiled from source using setup.py.
pyfr partition add -p metis euler-vortex.pyfrm 2

Edit:
Using scotch gives the same error for these cases.
pyfr partition add -p scotch -e quad:3 -e tri:2 couette-flow.pyfrm 2

That is not the correct syntax for v2.1. The “add” syntax is new in the development version of PyFR v3 which uses a different file format.

Please use v2.1 from PyPI.

Regards, Freddie.