You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
elemental procedures automatically have the pure attribute unless explicitly marked impure elemental. pure procedures can only call other pure procedures and are forbidden from having local variables with the save attribute.
This makes declaring the tau timer impossible for the normal profiling approach.
As a work around we can inject interface blocks declaring TAU_START and TAU_STOP to be pure and use these instead of TAU_TIMER_START and TAU_TIMER_STOP. Alternatively we could try to write a small module at the beginning of every instrumented file to contain TAU timers and then use that module and import the relevant timer in question via use association with an only clause, but this will be potentially messy.
The text was updated successfully, but these errors were encountered:
elemental
procedures automatically have thepure
attribute unless explicitly markedimpure elemental
.pure
procedures can only call other pure procedures and are forbidden from having local variables with thesave
attribute.This makes declaring the tau timer impossible for the normal profiling approach.
As a work around we can inject interface blocks declaring
TAU_START
andTAU_STOP
to bepure
and use these instead ofTAU_TIMER_START
andTAU_TIMER_STOP
. Alternatively we could try to write a small module at the beginning of every instrumented file to contain TAU timers and then use that module and import the relevant timer in question via use association with an only clause, but this will be potentially messy.The text was updated successfully, but these errors were encountered: