Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken for threads #143

Closed
mileslucas opened this issue Dec 14, 2019 · 2 comments
Closed

Broken for threads #143

mileslucas opened this issue Dec 14, 2019 · 2 comments

Comments

@mileslucas
Copy link

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?

@IanButterworth
Copy link
Collaborator

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.

@MarcMush
Copy link
Collaborator

fixed by #284

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants