ProgressMeter.jl
ProgressMeter.jl copied to clipboard
Broken for threads
The new Julia 1.3 Threads.@threads macro does not work with @showprogress
MWE:
using ProgressMeter
a = []
@showprogress Threads.@threads for i in 1:1000
push!(a, rand())
end
Python's tqdm figured out a way to show progress on multiple processes by showing a stack of progress bars for each process. Perhaps a similar interface could work here?
The non-macro Progress methods do work with threads (there are some examples in the readme) but it’s true that the macros haven’t been adapted for threads yet.
fixed by #284