A few days ago, i update pyfr version (1.13 → 1.14.0)
Thereafter the 2D euler vortex example is not executed.
----------------------------error message--------------------
(pyfr_14) sk@sk:~/pyfr/pyfr_14/PyFR-1.14.0/examples/euler_vortex_2d$ mpiexec -n 2 pyfr run -b cuda -p euler_vortex_2d.pyfrm euler_vortex_2d.ini
Traceback (most recent call last):
File “/home/sk/pyfr/pyfr_14/bin/pyfr”, line 33, in
sys.exit(load_entry_point(‘pyfr==1.14.0’, ‘console_scripts’, ‘pyfr’)())
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/main.py”, line 115, in main
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/main.py”, line 248, in process_run
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/main.py”, line 230, in _process_common
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/rank_allocator.py”, line 14, in get_rank_allocation
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/rank_allocator.py”, line 31, in init
RuntimeError: Mesh has 2 partitions but running with 1 MPI ranks
Traceback (most recent call last):
File “/home/sk/pyfr/pyfr_14/bin/pyfr”, line 33, in
sys.exit(load_entry_point(‘pyfr==1.14.0’, ‘console_scripts’, ‘pyfr’)())
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/main.py”, line 115, in main
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/main.py”, line 248, in process_run
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/main.py”, line 230, in _process_common
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/rank_allocator.py”, line 14, in get_rank_allocation
File “/home/sk/pyfr/pyfr_14/lib/python3.9/site-packages/pyfr-1.14.0-py3.9.egg/pyfr/rank_allocator.py”, line 31, in init
RuntimeError: Mesh has 2 partitions but running with 1 MPI ranks
I think it is an error related to MPI parallelization
What is the cause of the error and how can it be resolved?