In the Arbor simulator one can specify whether to record no, local, or all spikes when working with distributed MPI simulations. Are there any reasons to record locally on each MPI and broadcasting results versus recording all spikes on just 1 rank with a rank check?
import arbor, mpi4py.MPI
sim = arbor.simulation(recipe, decomp, context)
if not mpi4py.MPI.COMM_WORLD.Get_rank():
sim.record(arbor.spike_recording.all)