Subroutine defining log hook
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(pf_pfasst_t), | intent(inout) | :: | pf | |||
class(pf_level_t), | intent(inout) | :: | level | |||
type(pf_state_t), | intent(in) | :: | state |
subroutine pf_logger_hook(pf, level, state)
type(pf_pfasst_t), intent(inout) :: pf
class(pf_level_t), intent(inout) :: level
type(pf_state_t), intent(in ) :: state
print '("PF:: trank: ",i4,", step: ",i6,", iter: ",i3,", level: ",i2," location: ",a)', &
pf%rank, state%step, state%iter, level%index, hook_names(state%hook)
end subroutine pf_logger_hook