You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using rich with MPI the progress bar doesn't work correctly.
To reproduce:
mpirun -n 1 python -m rich.progress
press ctrl+c
The results differ depending on which mpi implementation one uses.
openmpi (4.1.6): the program exits without new line and no cursor visible (see screenshot below)
mpich (4.1.2): no progress bar can be seen at all
Note that under openmpi this is not related to this closed issue, because running mpirun -n 1 python -c "import shutil; print(shutil.get_terminal_size())" returns correct values.
I first discovered this when running pymc (5.17). Running a sampler with mpirun results in no progress bar visible until the sampler finishes. I believe this is related to the issue described above.
Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using?
I'm on nixos. This was tested on kitty terminal (and partially on xterm).
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
Describe the bug
When using rich with MPI the progress bar doesn't work correctly.
To reproduce:
mpirun -n 1 python -m rich.progress
The results differ depending on which mpi implementation one uses.
Note that under openmpi this is not related to this closed issue, because running
mpirun -n 1 python -c "import shutil; print(shutil.get_terminal_size())"
returns correct values.I first discovered this when running
pymc
(5.17). Running a sampler with mpirun results in no progress bar visible until the sampler finishes. I believe this is related to the issue described above.Platform
Click to expand
What platform (Win/Linux/Mac) are you running on? What terminal software are you using?
I'm on nixos. This was tested on kitty terminal (and partially on xterm).
I may ask you to copy and paste the output of the following commands. It may save some time if you do it now.
If you're using Rich in a terminal:
The text was updated successfully, but these errors were encountered: