Skip to content

Commit

Permalink
Add initial HREMD checkpointing (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonBoothroyd authored Mar 24, 2024
1 parent b09cba6 commit 8eda2f0
Show file tree
Hide file tree
Showing 9 changed files with 415 additions and 78 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ mamba install -c conda-forge femto
If you are running with MPI on an HPC cluster, you may need to instruct conda to use your local installation
depending on your setup

```sheel
```shell
mamba install -c conda-forge femto "openmpi=4.1.5=*external*"
```

Expand Down
5 changes: 5 additions & 0 deletions femto/md/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,11 @@ class HREMD(BaseModel):
description="The number of cycles to run before saving the current replica "
"states to DCD trajectory files. If ``None``, no trajectories will be saved.",
)
checkpoint_interval: int | None = pydantic.Field(
None,
description="The number of cycles to run before saving the current replica "
"states to checkpoint files. If ``None``, no checkpoints will be saved.",
)


def merge_configs(*configs: _T) -> dict[str, typing.Any]:
Expand Down
Loading

0 comments on commit 8eda2f0

Please sign in to comment.