I face a problem using a real function space in parallel. I have the following MWE
from fenics import *
# parameters["dof_ordering_library"] = "Boost"
mesh = UnitSquareMesh(8, 8)
R = FunctionSpace(mesh, "R", 0)
which, when run with mpirun -n 2 python test.py
fails with the following reason
*** -------------------------------------------------------------------------
*** DOLFIN encountered an error. If you are not able to resolve this issue
*** using the information listed below, you can ask for help at
***
*** fenics-support@googlegroups.com
***
*** Remember to include the error message listed below and, if possible,
*** include a *minimal* running example to reproduce the error.
***
*** -------------------------------------------------------------------------
*** Error: Unable to re-order graph using SCOTCH.
*** Reason: Error during re-ordering.
*** Where: This error was encountered inside SCOTCH.cpp.
*** Process: 0
***
*** DOLFIN version: 2019.1.0
*** Git changeset: ea4ec9db9a0ab5757694c6a6ff308b135231a4dd
*** -------------------------------------------------------------------------
So apparently, SCOTCH can not reorder the (single) DoF in parallel. Running the script in serial works fine.
Also, uncommenting the one commented line to use boost as graph reordering tool also works. Does anyone have any ideas how to fix this or where the issue comes from?
For the scotch version, I am using
scotch 7.0.4 hd53efc5_2 conda-forge
which is installed with PETSc 3.21 from conda forge.
I have tried downgrading to scotch v6, which worked for me, but then I could not use the newest PETSc version.
Thanks in advance,
Sebastian