update_latest_pointer Subroutine

public subroutine update_latest_pointer(pointer_file, fname, prefix, is_ok, message)

Write the most-recent checkpoint path to the pointer file (rank 0 only — the caller gates on rank).

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: pointer_file
character(len=*), intent(in) :: fname
character(len=*), intent(in) :: prefix
logical, intent(out), optional :: is_ok
character(len=*), intent(out), optional :: message