Skip to content

Address iso_c_binding warning in Fortran Poisson example.#151

Merged
romerojosh merged 1 commit into
mainfrom
fix_poisson_example_warning
Jul 6, 2026
Merged

Address iso_c_binding warning in Fortran Poisson example.#151
romerojosh merged 1 commit into
mainfrom
fix_poisson_example_warning

Conversation

@romerojosh

Copy link
Copy Markdown
Collaborator

The most recent NVHPC compiler started producing warnings when compiling the Fortran Poisson example:

NVFORTRAN-W-0468-Argument to ISO_C_BINDING intrinsic  must have TARGET or POINTER attribute set

This PR adds the required target attribute to the phi array which is used in the c_loc intrinsic.

Signed-off-by: Josh Romero <joshr@nvidia.com>
@romerojosh

Copy link
Copy Markdown
Collaborator Author

/build

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

🚀 Build workflow triggered! View run

@github-actions

github-actions Bot commented Jul 6, 2026

Copy link
Copy Markdown

✅ Build workflow passed! View run

@romerojosh romerojosh merged commit b2461ed into main Jul 6, 2026
4 checks passed
@romerojosh romerojosh deleted the fix_poisson_example_warning branch July 6, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant