Stream: helpdesk (published)

Topic: ProgressUnknown and ProgressThresh (ProgressMeter.jl)


view this post on Zulip Max Köhler (May 24 2021 at 10:12):

I want to have a ProgressUnknown and a ProgressThresh at the same time. I know that ProgressThresh takes the keyword argument offset, but it still doesn't display, even if I set the offset to 20. Am I missing something? The output of stream of my ProgressUnknown is default stderr

view this post on Zulip Max Köhler (May 24 2021 at 10:51):

hm the ProgressThresh is actually appearing after some time, but the showvalues is ignored.

view this post on Zulip Ian Butterworth (May 24 2021 at 18:53):

Can you post an issue to the repo with a MWE

view this post on Zulip Max Köhler (May 26 2021 at 12:59):

Hey Ian,
I just figured out that the inner computation is probably too fast. If I swap the inner computation with something more evolved, then it's appearing as it should be. Probably everything works as it should, but the ProgressThresh is just finishing too fast. I wasn't able to strip it down to a MWE

view this post on Zulip Fredrik Ekre (May 26 2021 at 13:01):

See https://github.com/timholy/ProgressMeter.jl/pull/141

view this post on Zulip Max Köhler (May 26 2021 at 13:13):

hm I'd actually need this. The inner computation is one arc length solver step and for a pretty simple material model the printing is omitted. Even though the printing would affect the performance I wouldn't care at all if I can observe the progress of the iterations.


Last updated: Nov 06 2024 at 04:40 UTC