fox icon indicating copy to clipboard operation
fox copied to clipboard

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

Open jedwards4b opened this issue 4 years ago • 2 comments

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?

jedwards4b avatar Feb 22 '21 22:02 jedwards4b

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 avatar Feb 23 '21 08:02 andreww

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

jedwards4b avatar Feb 23 '21 17:02 jedwards4b