Limitations
Table of contents
Limitations in MPI Related Python Tasks
Please avoid using MPI in such a way that reaches a dead end.
For example, this causes the program to hang, which is fatal, because root process is blocking and waiting for the other processes to join.
from mpi4py import MPI
if MPI.COMM_WORLD.Get_rank() == 0:
MPI.COMM_WORLD.Barrier()
else:
pass
When accessing simulation data,
libyt
requires every process to participate (Seelibyt.get_field_remote
andlibyt.get_particle_remote
.