I was finally able to reproduce the issue with MockMpi.F90. As the error message indicates, nvfortran does not support spread as a data initializer. Unfortunately, it is not trivial to add spread as a data initializer for nvfortran. Please suggest the following work around to the customer...
This PR changes the spread call to use reshape as @tclune believes it should be acceptable by other compilers.
Per NVIDIA:
This PR changes the
spread
call to usereshape
as @tclune believes it should be acceptable by other compilers.