Skip to content

Commit 638c3ee

Browse files
authored
Merge pull request #2554 from dweindl/release_0.27.0
Release 0.27.0
2 parents e89a1de + 8e9f93a commit 638c3ee

File tree

309 files changed

+43480
-30918
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

309 files changed

+43480
-30918
lines changed

.github/workflows/test_petab_test_suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
source ./venv/bin/activate \
8080
&& python3 -m pip uninstall -y petab \
8181
&& python3 -m pip install git+https://github.com/petab-dev/libpetab-python.git@develop \
82-
&& python3 -m pip install git+https://github.com/FFroehlich/pysb@fix_pattern_matching \
82+
&& python3 -m pip install git+https://github.com/pysb/pysb@master \
8383
&& python3 -m pip install sympy>=1.12.1
8484
8585

.github/workflows/test_python_cplusplus.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
- name: Set up AMICI C++ libraries
3939
uses: ./.github/actions/setup-amici-cpp
4040

41+
- name: Install libsuitesparse-dev
42+
# We don't need libsuitesparse-dev, but let's have it installed,
43+
# to ensure that its presence does not break the build
44+
run: sudo apt-get install -y libsuitesparse-dev
45+
4146
- name: C++ tests
4247
run: scripts/run-cpp-tests.sh
4348

.github/workflows/test_python_ver_matrix.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,15 @@ jobs:
2525
strategy:
2626
fail-fast: false
2727
matrix:
28-
python-version: ['3.10', '3.11', '3.12']
29-
experimental: [false]
28+
include:
29+
- python-version: '3.10'
30+
experimental: false
31+
- python-version: '3.11'
32+
experimental: false
33+
- python-version: '3.12'
34+
experimental: false
35+
- python-version: '3.13'
36+
experimental: true
3037

3138
steps:
3239
- run: echo "AMICI_DIR=$(pwd)" >> $GITHUB_ENV
@@ -53,12 +60,7 @@ jobs:
5360
# install pysb before sympy to allow for sympy>=1.12 (https://github.com/pysb/pysb/commit/e83937cb8c74afc9b2fa96595b68464946745f33)
5461
- run: source venv/bin/activate && pip3 install git+https://github.com/pysb/pysb
5562

56-
# until sympy>1.12 is released
57-
- run: source venv/bin/activate && pip3 install git+https://github.com/sympy/sympy.git@master
58-
if: matrix.python-version == '3.12'
59-
60-
- run: source venv/bin/activate && pip3 install "sympy>=1.12.1"
61-
if: matrix.python-version != '3.12'
63+
- run: source venv/bin/activate && pip3 install "sympy>1.12"
6264

6365
- name: Get Pooch Cache Directory
6466
id: get-pooch-cache

CHANGELOG.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,41 @@ See also our [versioning policy](https://amici.readthedocs.io/en/latest/versioni
44

55
## v0.X Series
66

7+
### v0.27.0 (2024-10-21)
8+
9+
This release comes with an **updated version of the SUNDIALS package (7.1.1)** (https://github.com/AMICI-dev/AMICI/pull/2513).
10+
For C++ users of some of AMICI's internal RAII classes, this may include some
11+
breaking changes. The Python API is not affected.
12+
13+
*Note regarding **editable** installations (`pip install -e ...`):*
14+
Due to the SUNDIALS update, it will be necessary to clean out some temporary
15+
build directories (at least `ThirdParty/sundials/build/`,
16+
`python/sdist/build/`) before rebuilding the package.
17+
18+
**Fixes**
19+
20+
* Fixed a bug that led to program termination if a root-after-reinitialization
21+
error (potentially also others) occurred at an output timepoint
22+
23+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2555
24+
25+
* CMake: Fixes compilation errors for models named `model`
26+
27+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2547
28+
29+
* Updated CMake export config, making it easier to use AMICI in CMake projects
30+
and fixing some potential issues with interferring packages
31+
32+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2540
33+
34+
* CMake: Set policies for CMake 3.31
35+
36+
by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2539
37+
38+
* Documentation fixes by @FFroehlich, @ChocolateCharlie, @dweindl
39+
40+
**Full Changelog**: https://github.com/AMICI-dev/AMICI/compare/v0.26.3...v0.27.0
41+
742

843
### v0.26.3 (2024-10-03)
944

CMakeLists.txt

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
cmake_minimum_required(VERSION 3.22)
55
# When updating the policy version, please also update it in
66
# src/CMakeLists.template.cmake
7-
cmake_policy(VERSION 3.22...3.30)
7+
cmake_policy(VERSION 3.22...3.31)
88

99
project(amici)
1010

@@ -265,28 +265,27 @@ target_compile_definitions(
265265

266266
target_link_libraries(
267267
${PROJECT_NAME}
268-
PUBLIC SUNDIALS::generic_static
269-
SUNDIALS::nvecserial_static
268+
PUBLIC SUNDIALS::nvecserial_static
270269
SUNDIALS::sunmatrixband_static
271270
SUNDIALS::sunmatrixdense_static
272271
SUNDIALS::sunmatrixsparse_static
273-
SUNDIALS::sunlinsolband_static
274-
SUNDIALS::sunlinsoldense_static
275-
SUNDIALS::sunlinsolpcg_static
276272
SUNDIALS::sunlinsolspbcgs_static
277273
SUNDIALS::sunlinsolspfgmr_static
278274
SUNDIALS::sunlinsolspgmr_static
279275
SUNDIALS::sunlinsolsptfqmr_static
280-
SUNDIALS::sunlinsolklu_static
281-
SUNDIALS::sunnonlinsolnewton_static
282-
SUNDIALS::sunnonlinsolfixedpoint_static
283276
SUNDIALS::cvodes_static
284277
SUNDIALS::idas_static
285278
$<$<BOOL:${Boost_CHRONO_FOUND}>:Boost::chrono>
286279
$<$<BOOL:${OpenMP_FOUND}>:OpenMP::OpenMP_CXX>
287280
${CMAKE_DL_LIBS}
288281
PRIVATE
289282
BLAS::BLAS
283+
SUNDIALS::sunnonlinsolnewton_static
284+
SUNDIALS::sunnonlinsolfixedpoint_static
285+
SUNDIALS::sunlinsolklu_static
286+
SUNDIALS::sunlinsolband_static
287+
SUNDIALS::sunlinsoldense_static
288+
SUNDIALS::sunlinsolpcg_static
290289
$<$<BOOL:${SUNDIALS_SUPERLUMT_ENABLE}>:SUNDIALS::sundials_sunlinsolsuperlumt>
291290
)
292291

ThirdParty/sundials/CITATIONS.md

Lines changed: 119 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
# Citing SUNDIALS
2+
3+
We ask users of SUNDIALS to cite the following papers in any publications
4+
reporting work done with SUNDIALS:
5+
6+
```bibtex
7+
@article{gardner2022sundials,
8+
title = {Enabling new flexibility in the {SUNDIALS} suite of nonlinear and differential/algebraic equation solvers},
9+
author = {Gardner, David J and Reynolds, Daniel R and Woodward, Carol S and Balos, Cody J},
10+
journal = {ACM Transactions on Mathematical Software (TOMS)},
11+
publisher = {ACM},
12+
volume = {48},
13+
number = {3},
14+
pages = {1--24},
15+
year = {2022},
16+
doi = {10.1145/3539801}
17+
}
18+
```
19+
20+
```bibtex
21+
@article{hindmarsh2005sundials,
22+
title = {{SUNDIALS}: Suite of nonlinear and differential/algebraic equation solvers},
23+
author = {Hindmarsh, Alan C and Brown, Peter N and Grant, Keith E and Lee, Steven L and Serban, Radu and Shumaker, Dan E and Woodward, Carol S},
24+
journal = {ACM Transactions on Mathematical Software (TOMS)},
25+
publisher = {ACM},
26+
volume = {31},
27+
number = {3},
28+
pages = {363--396},
29+
year = {2005},
30+
doi = {10.1145/1089014.1089020}
31+
}
32+
```
33+
34+
If any GPU features of SUNDIALS were utilized, please also cite:
35+
36+
```bibtex
37+
@article{balos2021enabling,
38+
title = {{Enabling GPU accelerated computing in the SUNDIALS time integration library}},
39+
author = {Balos, Cody J and Gardner, David J and Woodward, Carol S and Reynolds, Daniel R},
40+
journal = {Parallel Computing},
41+
publisher = {Elsevier},
42+
volume = {108},
43+
pages = {102836},
44+
year = {2021},
45+
doi = {10.1016/j.parco.2021.102836}
46+
}
47+
```
48+
49+
When using the ARKODE package from SUNDIALS, please also cite:
50+
51+
```bibtex
52+
@article{reynolds2023arkode,
53+
title = {{ARKODE: A flexible IVP solver infrastructure for one-step methods}},
54+
author = {Reynolds, Daniel R and Gardner, David J and Woodward, Carol S and Chinomona, Rujeko},
55+
journal = {ACM Transactions on Mathematical Software},
56+
volume = {49},
57+
number = {2},
58+
pages = {1--26},
59+
year = {2023},
60+
doi = {10.1145/3594632}
61+
}
62+
```
63+
64+
We also ask that users cite the documentation for the package and version that
65+
they are using rather than the combined SUNDIALS online guide:
66+
67+
```bibtex
68+
@Misc{arkodeDocumentation,
69+
author = {Daniel R. Reynolds and David J. Gardner and Carol S. Woodward and Cody J. Balos},
70+
title = {User Documentation for ARKODE},
71+
year = {2024},
72+
note = {v6.1.1}
73+
}
74+
```
75+
76+
```bibtex
77+
@Misc{cvodeDocumentation,
78+
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
79+
title = {User Documentation for CVODE},
80+
year = {2024},
81+
note = {v7.1.1}
82+
}
83+
```
84+
85+
```bibtex
86+
@Misc{cvodesDocumentation,
87+
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
88+
title = {User Documentation for CVODES},
89+
year = {2024},
90+
note = {v7.1.1}
91+
}
92+
```
93+
94+
```bibtex
95+
@Misc{idaDocumentation,
96+
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
97+
title = {User Documentation for IDA},
98+
year = {2024},
99+
note = {v7.1.1}
100+
}
101+
```
102+
103+
```bibtex
104+
@Misc{idasDocumentation,
105+
author = {Radu Serban and Cosmin Petra and Alan C. Hindmarsh and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
106+
title = {User Documentation for IDAS},
107+
year = {2024},
108+
note = {v6.1.1}
109+
}
110+
```
111+
112+
```bibtex
113+
@Misc{kinsolDocumentation,
114+
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
115+
title = {User Documentation for KINSOL},
116+
year = {2024},
117+
note = {v7.1.1}
118+
}
119+
```

0 commit comments

Comments
 (0)