(0): ERROR: SCOTCH_dgraphInit: Scotch compiled with SCOTCH_PTHREAD and program not launched with MPI_THREAD_MULTIPLE
Traceback (most recent call last):
File ***** line 82, in <module>
msh = mesh.create_rectangle(comm=MPI.COMM_WORLD,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "anaconda3/envs/fenicsx07/lib/python3.11/site-packages/dolfinx/mesh.py", line 542, in create_rectangle
mesh = _cpp.mesh.create_rectangle_float64(comm, points, n, cell_type, partitioner, diagonal)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: ParMETIS_V3_PartKway failed. Error code: -4
DOLFINx version is 0.7.0 and installed with
conda install -c conda-forge fenics-dolfinx
The error above came out with multiple processes and it is OK with a serial run.
I also installed the dolfinx 0.7.0 environment using conda, and when I ran the Cahn-Hilliard equation tutorial(link) in parallel, the same error occurred.
I think it is an error where ParMETIS linking does not work properly when configuring the mesh.