Skip to content

Commit

Permalink
Use a parent node in the config file for the Fortran instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
zbeekman committed Dec 15, 2024
1 parent 6c2699a commit c754fd1
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions config_files/tau_fortran_config.yaml
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
Fortran:
# Config variables:
# ${full_timer_name}: "procedure_name [file_path {start}-{end}]"
instrumentation: tauFortran
program_insert:
- " integer, save :: tauProfileTimer(2) = [0, 0]"
- " call TAU_PROFILE_INIT()"
- " call TAU_PROFILE_TIMER(tauProfileTimer, \"${full_timer_name}&"
- " &\")"
- " call TAU_PROFILE_START(tauProfileTimer)"
- "#ifndef TAU_MPI"
- " call TAU_PROFILE_SET_NODE(0)"
- "#endif"

instrumentation: tauFortran

program_insert:
- " integer, save :: tauProfileTimer(2) = [0, 0]"
- " call TAU_PROFILE_INIT()"
- " call TAU_PROFILE_TIMER(tauProfileTimer, \"${full_timer_name}&"
- " &\")"
- " call TAU_PROFILE_START(tauProfileTimer)"
- "#ifndef TAU_MPI"
- " call TAU_PROFILE_SET_NODE(0)"
- "#endif"
procedure_begin_insert:
- " integer, save :: tauProfileTimer(2) = [0, 0]"
- " call TAU_PROFILE_TIMER(tauProfileTimer, \"${full_timer_name}&"
- " &\")"
- " call TAU_PROFILE_START(tauProfileTimer)"


procedure_begin_insert:
- " integer, save :: tauProfileTimer(2) = [0, 0]"
- " call TAU_PROFILE_TIMER(tauProfileTimer, \"${full_timer_name}&"
- " &\")"
- " call TAU_PROFILE_START(tauProfileTimer)"

procedure_end_insert:
- " call TAU_PROFILE_STOP(tauProfileTimer)"
procedure_end_insert:
- " call TAU_PROFILE_STOP(tauProfileTimer)"

0 comments on commit c754fd1

Please sign in to comment.