https://stackoverflow.com/questions/40114742/mpi-gather-only-gathering-from-root-process