Show the whole DBCSR statistics Prepares the DBCSR library for use.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
logical, | intent(in), | optional | :: | print_timers | ||
character(len=*), | intent(in), | optional | :: | callgraph_filename |
SUBROUTINE dbcsr_print_statistics(print_timers, callgraph_filename) !! Show the whole DBCSR statistics !! Prepares the DBCSR library for use. LOGICAL, INTENT(IN), OPTIONAL :: print_timers CHARACTER(len=*), INTENT(IN), OPTIONAL :: callgraph_filename LOGICAL :: my_print_timers IF (ext_io_unit > 0) THEN WRITE (UNIT=ext_io_unit, FMT="(/,T2,A)") REPEAT("-", 79) WRITE (UNIT=ext_io_unit, FMT="(T2,A,T80,A)") "-", "-" WRITE (UNIT=ext_io_unit, FMT="(T2,A,T35,A,T80,A)") "-", "DBCSR STATISTICS", "-" WRITE (UNIT=ext_io_unit, FMT="(T2,A,T80,A)") "-", "-" WRITE (UNIT=ext_io_unit, FMT="(T2,A)") REPEAT("-", 79) END IF call dbcsr_multiply_print_statistics(default_group, ext_io_unit) IF (ext_io_unit > 0) WRITE (UNIT=ext_io_unit, FMT="(T2,A)") REPEAT("-", 79) CALL describe_mp_perf_env(ext_io_unit) my_print_timers = .FALSE. IF (PRESENT(print_timers)) my_print_timers = print_timers IF (my_print_timers) CALL dbcsr_print_timers() ! Dump callgraph IF (PRESENT(callgraph_filename) .AND. ASSOCIATED(logger)) THEN CALL timings_report_callgraph(callgraph_filename) END IF END SUBROUTINE dbcsr_print_statistics