def _mpi_parse_args(args):
    """Parse arguments for MPI comms."""
    from mpi4py import MPI
    nworkers = MPI.COMM_WORLD.Get_size() - 1
    is_master = MPI.COMM_WORLD.Get_rank() == 0
    libE_specs = {'comm': MPI.COMM_WORLD, 'comms': 'mpi'}
    return nworkers, is_master, libE_specs, args.tester_args
