Goddard-Fortran-Ecosystem / pFlogger

A parallel Fortran logger (based on the design of the Python logger)
Other
18 stars 8 forks source link

Move from spread to reshape in MockMPI #131

Closed mathomp4 closed 3 months ago

mathomp4 commented 3 months ago

Per NVIDIA:

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.