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
I am working on profiling a MPI+openmp code. For the openmp, we have function calls inside the openmp threads. What's the correct way to get the "runtime-report" for the function calls inside the threads?
Here are my attempts.
If I run the default command CALI_CONFIG=runtime-report srun $SISSOPP,
I got
Here, the generate_non_param_feats is inside openmp loop. In the code, it is always under generate_feats . However, I saw two generate_non_param_feats blocks in the output. One in the correct position, while, the other is outside and places out of the main program.
Following the web page https://software.llnl.gov/Caliper/CaliperBasics.html#notes-on-multi-threading, I also tried CALI_CALIPER_ATTRIBUTE_DEFAULT_SCOPE=process CALI_CONFIG=runtime-report srun $SISSOPP. However, this time, it gave me the result here.
Dear Caliper developers,
I am working on profiling a MPI+openmp code. For the openmp, we have function calls inside the openmp threads. What's the correct way to get the "runtime-report" for the function calls inside the threads?
Here are my attempts.
If I run the default command
CALI_CONFIG=runtime-report srun $SISSOPP
,I got
Here, the
generate_non_param_feats
is inside openmp loop. In the code, it is always undergenerate_feats
. However, I saw twogenerate_non_param_feats
blocks in the output. One in the correct position, while, the other is outside and places out of the main program.Following the web page
https://software.llnl.gov/Caliper/CaliperBasics.html#notes-on-multi-threading
, I also triedCALI_CALIPER_ATTRIBUTE_DEFAULT_SCOPE=process CALI_CONFIG=runtime-report srun $SISSOPP
. However, this time, it gave me the result here.It seems caliper is using the same tag for calls from different thread.
Is there any best practices to get the timing of different regions inside openmp threads?
Best wishes,
Yi
The text was updated successfully, but these errors were encountered: