Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
virgesmith committed Aug 20, 2023
1 parent 6d177ae commit bd52411
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/tips.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ In these situations, the model developer can (conditionally) call the `Model.hal
## Deadlocks

!!! danger "Failure is All-Or-Nothing"
If checks fail, or any other error occurs in a parallel run, other processes must be notified, otherwise deadlocks can occur.
If checks fail, or any other error occurs in one process in a parallel run, other processes must be notified, otherwise deadlocks can occur.

Blocking communications between processes will deadlock if, for instance, the receiving process has ended due to an error. This will cause the entire run to hang (and may impact your HPC bill). The option example, as described above, has a check for random stream synchronisation that looks like this:

Expand Down
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ description = "A dynamic microsimulation framework"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10"
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
Expand Down

0 comments on commit bd52411

Please sign in to comment.