FORTRAN API for Loop/Iteration information #371
Unanswered
thedrbubba
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @thedrbubba , It is possible to do loop annotations in Fortran, but it is a bit more awkward as we lack the high-level macros. You'll first have to find Caliper's built-in "loop" attribute, and create a loop iteration attribute for your loop with
I've updated the
Hope this helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am learning how to use Caliper in Fortran. I may have overlooked it but I am looking for
the Fortran API to handle loop/iterations like in C++ as follows:
CALI_CXX_MARK_LOOP_BEGIN
CALI_CXX_MARK_LOOP_ITERATION
CALI_CXX_MARK_LOOP_END
I have looked at the examples and at the Fortran API:
https://github.com/LLNL/Caliper/blob/master/src/interface/c_fortran/wrapfcaliper.F
I have setup the fortran examples and tried to use the loop-report hoping for iteration information but I am not getting iteration information out.
Have I overlooked something? Will I have to just adapt what Fortran calls available to do what I need?
Thanks in advance for your time,
Terry
Beta Was this translation helpful? Give feedback.
All reactions