Open tjtakys opened 1 week ago
Hi,
I'm not sure why the output is different; my understanding is that different MPI implementations can have different ways of interacting with stdout or log files, especially with a progress bar. At the moment we have no plans to provide detailed support for MPI, but I note that the sampler backends are used in a much simpler manner in the upcoming v2.0, which should hopefully standardize some of these issues.
Hi, I am using dynesty with MPI for parallel computation in my project, and I’ve encountered an issue with progress display. When running the code on a single core, the progress is displayed correctly as the computation proceeds. However, when running the same code using MPI for parallel processing, the progress is not shown during the calculation. Instead, the progress is only displayed either when the computation finishes or when it is interrupted midway. How can I display progress in real-time? Thanks in advance!
Environment: • dynesty version: 2.1.4 • mpi4py (Open MPI) version: 5.0.5 • Python version: 3.12.5 • OS: RockyLinux
Here is the relevant part of my code: (almost copy & paste from demo_mpi_params.py; the same issue occurs when running this demo file)