stfc / PSyclone

Domain-specific compiler and code transformation system for Finite Difference/Volume/Element Earth-system models in Fortran
BSD 3-Clause "New" or "Revised" License
103 stars 25 forks source link

OpenACC data directive should ignore parameters #2177

Open sergisiso opened 1 year ago

sergisiso commented 1 year ago

The OpenACC data directive should not include parameter values since it causes a compile time error.

In NEMOVAR this means we need to resolve_imports from the relevant modules with the parameter definitions first.

sergisiso commented 1 year ago

And maybe also the scalars (if we verify that the compiler does them automatically)