We should probably move this discussion to a separate issue, it is not really relevant for this PR.
We should try to find out if the gcc/mpi issue can be fixed on juqueen. Also, I don't think that 300 or 500 nodes is a difference that justifies large adaptions to the code. It's the same order of magnitude.