Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from spread to reshape in MockMPI #131

Merged
merged 1 commit into from
May 17, 2024

Conversation

mathomp4
Copy link
Collaborator

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.

@mathomp4 mathomp4 added the bug Something isn't working label May 17, 2024
@mathomp4 mathomp4 self-assigned this May 17, 2024
@mathomp4 mathomp4 changed the base branch from main to develop May 17, 2024 14:17
@tclune tclune self-requested a review May 17, 2024 14:34
@tclune tclune merged commit 1caa1ce into develop May 17, 2024
12 of 14 checks passed
@tclune tclune deleted the feature/mathomp4/carl-nvhpc-fix branch May 17, 2024 14:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants