mpi-compatible implementation of getClusters()
Current implementation is serial, only root rank gets the list of clusters.