Please see the mpi4py tutorial
along with Parallel multiple tasks in class-based program
More explicit usage with MPI4PY is done in dolfinx, see for instance: https://github.com/FEniCS/dolfinx/blob/master/python/demo/gmsh/demo_gmsh.py
Please see the mpi4py tutorial
along with Parallel multiple tasks in class-based program
More explicit usage with MPI4PY is done in dolfinx, see for instance: https://github.com/FEniCS/dolfinx/blob/master/python/demo/gmsh/demo_gmsh.py