FeniCS Parallel output two copies of solutions?

Hello

I have a question about parallel, I am trying to use parallel to fasten the speed, and I have set parameters[‘ghost_mode’]=‘shared_facet’ and run the code with “mpirun -np 2 python3 demo.py”, but from the output, I got two copies of the same solution, does anyone know why?

Thanks!

Please read here and post a minimum woring example so we may help.