Skip to main content Link Menu Expand (external link) Document Search Copy Copied

Limitations

Table of contents

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

:information_source: When accessing simulation data, libyt requires every process to participate (See libyt.get_field_remote and libyt.get_particle_remote.