A context manager for Zarr’s ProcessSynchronizer that removes the lock files when done.
If an MPI communicator is supplied, only rank 0 will attempt to remove files.
- Parameters:
- name
str Name of the lockfile directory.
- comm
MPI.Comm | None, optional MPI communicator (optional).