Can't create 1D mesh in parallel

You need to send in a unique set of points (not all points and all cells on all processes.

This is for instance explained in
https://jsdokken.com/dolfinx_docs/meshes.html#mpi-communication