Closed mgduda closed 2 months ago
This PR targets the hotfix-v8.2.1
branch since the mpas_dmpar_bcast_real4s
routine added in this PR is required by PR #1208.
I think this is a good temporary solution for fixing the double precision compilation problem. However, I think we should come up with a more robust way to broadcast real arrays in the future, as this subroutine would not be supported in a generic interface.
Just to clarify, the mpas_dmpar_bcast_real4s
routine definitely can be used as a specific implementation of a generic interface. If we were to do so, as I think you're getting at, there would be issues in calling the generic interface with multi-dimensional arrays, but that's no fault of the mpas_dmpar_bcast_real4s
routine.
This PR adds a new
mpas_dmpar_bcast_real4s
routine for broadcastingreal(kind=R4KIND)
arrays.The
mpas_dmpar_bcast_real4s
routine mirrors thempas_dmpar_bcast_reals
routine, with the dummy array argument being ofR4KIND
rather thanRKIND
kind.