Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ Changelog
* Please add an item to this CHANGELOG for any new features or bug fixes when creating a PR.
* Increase the default `cutoff` from 7.5 Å to 9 Å, matching common practice and giving faster PME on current GPUs, since the shorter cutoff shifts too much work onto the reciprocal space grid [#209](https://github.com/OpenBioSim/somd2/pull/209).
* Buffer energy components and write them at checkpoint time, rather than rewriting the parquet file on every energy save, which cost a few milliseconds per replica per cycle and grew with the length of the run [#212](https://github.com/OpenBioSim/somd2/pull/212).
* Silence Sire's progress bars when a runner is constructed rather than when `somd2` is imported, so that importing `somd2` as a library no longer changes how Sire reports progress [#215](https://github.com/OpenBioSim/somd2/pull/215).

[2026.2.0](https://github.com/openbiosim/somd2/compare/2026.1.0...2026.2.0) - Sep 2026
--------------------------------------------------------------------------------------
Expand Down
8 changes: 0 additions & 8 deletions src/somd2/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@
# along with SOMD2. If not, see <http://www.gnu.org/licenses/>.
#####################################################################

# Disable Sire progress bars until we work out the best way to handle
# them for the SOMD2 runner, i.e. when running multiple dynamics objects
# in parallel.
from sire.base import ProgressBar as _ProgressBar

_ProgressBar.set_silent()
del _ProgressBar

from loguru import logger as _logger

from . import runner
Expand Down
5 changes: 5 additions & 0 deletions src/somd2/runner/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,11 @@ def __init__(self, system, config):
# user's final choice of output directory is known.
self._config._setup_output_directory()

# Progress is reported through the logger, so silence Sire's progress
# bars. This also lets Sire run dynamics in longer blocks, since the
# blocks only exist to update the bar.
_sr.base.ProgressBar.set_silent()

if self._config.replica_exchange and self._config.perturbed_system is not None:
# Make sure the number of positions is correct.
num_atoms = self._system.num_atoms()
Expand Down
Loading