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

User code does not compile with pgi 20.4 for dom (generic procedure empty in destroy) #71

Open
jedwards4b opened this issue Feb 22, 2021 · 2 comments

Comments

@jedwards4b
Copy link

Attempting to compile with pgi 20.4 I get this error from a call in my code:

call destroy(sdoc)

where sdoc is type(Node)

any ideas?

@andreww
Copy link
Owner

andreww commented Feb 23, 2021

It's hard to say anything helpful without seeing more of your code. It may be worth checking that sdoc is actually a pointer (as required by the specific destroyNode subroutine defined in m_dom_dom.F90).

Do the tests pass? I don't have easy access to a PGI compiler to check.

@andreww andreww changed the title PGF90-S-0155-Empty generic procedure - destroy User code does not compile with pgi 20.4 for dom (generic procedure empty in destroy) Feb 23, 2021
@jedwards4b
Copy link
Author

Sdoc is a pointer. I was able to work around it by explicitly exposing the destroyNode subroutine and calling it directly.

PGI compilers (now nvidia) are available here https://developer.nvidia.com/hpc-sdk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants