ProgressMeter.jl icon indicating copy to clipboard operation
ProgressMeter.jl copied to clipboard

Broken for threads

Open mileslucas opened this issue 6 years ago • 1 comments

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?

mileslucas avatar Dec 14 '19 00:12 mileslucas

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.

IanButterworth avatar Dec 14 '19 01:12 IanButterworth

fixed by #284

MarcMush avatar Jul 13 '24 09:07 MarcMush