timholy / ProgressMeter.jl

Progress meter for long-running computations
MIT License
694 stars 91 forks source link

@showprogress does not update progress until at 100% #269

Open ChiMaoShuPhy opened 1 year ago

ChiMaoShuPhy commented 1 year ago

I am using @showprogress with Threads.@threads for ..., applying the method mentioned in #140 . However, the progress is not updated until it finished. The job was submitted to a slurm cluster and the output is


Progress:   4%|█▊                                       |  ETA: 1:17:40
Progress: 100%|█████████████████████████████████████████| Time: 6:12:58

There are 64 tasks using 48 threads. There is no update on the progress between 4% and 100%.