Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.27.0 #2554

Merged
merged 28 commits into from
Oct 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
cd56633
Upgrade SUNDIALS to 7.1.1 (#2513)
dweindl Oct 7, 2024
12420c3
Install `amici[vis]` for binder (#2528)
dweindl Oct 8, 2024
539de29
Fix initialization of Model::simulation_parameters_::pscale (#2530)
dweindl Oct 8, 2024
2784887
Pin sphinx<8 / update sphinx config for sphinx8 (#2532)
dweindl Oct 8, 2024
e59e415
Fix AmiVector::nvec_ for size 0 (#2535)
dweindl Oct 9, 2024
2f70528
Fix SBML test IDs (#2536)
dweindl Oct 9, 2024
6261491
CI: Re-enable benchmark model gradient checks / prettify gradient che…
dweindl Oct 9, 2024
b7a3e91
Refactor symbolic event processing (#2538)
dweindl Oct 9, 2024
f5533ba
Refactor: move Model::state_ initalization to ModelState ctor (#2533)
dweindl Oct 10, 2024
ca01930
CMake: Set policies for CMake 3.31 (#2539)
dweindl Oct 11, 2024
919de0e
Fix duplicated log messages (#2542)
dweindl Oct 12, 2024
d5123a5
Add simulation status AMICI_FIRST_QRHSFUNC_ERR (#2541)
dweindl Oct 12, 2024
4973321
Optimize includes (#2543)
dweindl Oct 14, 2024
ee2e0d2
Update CMake export config (#2540)
dweindl Oct 16, 2024
09755d4
Doc: Add missing command in python_installation.rst (#2544)
ChocolateCharlie Oct 16, 2024
2c957c8
Update benchmark problem name Fiedler_BMC->Fiedler_BMCSystBiol2016
dweindl Oct 17, 2024
d4bb0ce
Fix pysb branch (#2548)
dweindl Oct 17, 2024
9f821d9
CMake: Don't attempt to create alias target if target of the same nam…
dweindl Oct 17, 2024
c8778e5
Fix `_collect_heaviside_roots` for `sympy.Heaviside` arguments
dweindl Oct 18, 2024
8253a97
Fix capturing SUNDIALS warnings after 7.1.1 upgrade (#2551)
dweindl Oct 18, 2024
8f0c8fb
update jax notebook (#2552)
FFroehlich Oct 19, 2024
91054b3
add 3.13 to test matrix (#2553)
FFroehlich Oct 19, 2024
40b496f
GHA: Ignore python3.13 failures for now (#2557)
dweindl Oct 19, 2024
fbe3840
Fix dangling pointer in SolverTest.SettersGettersWithSetup (#2556)
dweindl Oct 20, 2024
a82f6d4
clang-format 19.1.1 updates
dweindl Oct 20, 2024
9f56266
Fix crashes when errors occur at output timepoints (#2555)
dweindl Oct 20, 2024
7f863cf
Update references (#2518)
dweindl Oct 20, 2024
8e9f93a
Update changelog, bump version
dweindl Oct 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/test_petab_test_suite.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
source ./venv/bin/activate \
&& python3 -m pip uninstall -y petab \
&& python3 -m pip install git+https://github.com/petab-dev/libpetab-python.git@develop \
&& python3 -m pip install git+https://github.com/FFroehlich/pysb@fix_pattern_matching \
&& python3 -m pip install git+https://github.com/pysb/pysb@master \
&& python3 -m pip install sympy>=1.12.1


Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test_python_cplusplus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
- name: Set up AMICI C++ libraries
uses: ./.github/actions/setup-amici-cpp

- name: Install libsuitesparse-dev
# We don't need libsuitesparse-dev, but let's have it installed,
# to ensure that its presence does not break the build
run: sudo apt-get install -y libsuitesparse-dev

- name: C++ tests
run: scripts/run-cpp-tests.sh

Expand Down
18 changes: 10 additions & 8 deletions .github/workflows/test_python_ver_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,15 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.10', '3.11', '3.12']
experimental: [false]
include:
- python-version: '3.10'
experimental: false
- python-version: '3.11'
experimental: false
- python-version: '3.12'
experimental: false
- python-version: '3.13'
experimental: true

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

# until sympy>1.12 is released
- run: source venv/bin/activate && pip3 install git+https://github.com/sympy/sympy.git@master
if: matrix.python-version == '3.12'

- run: source venv/bin/activate && pip3 install "sympy>=1.12.1"
if: matrix.python-version != '3.12'
- run: source venv/bin/activate && pip3 install "sympy>1.12"

- name: Get Pooch Cache Directory
id: get-pooch-cache
Expand Down
35 changes: 35 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,41 @@ See also our [versioning policy](https://amici.readthedocs.io/en/latest/versioni

## v0.X Series

### v0.27.0 (2024-10-21)

This release comes with an **updated version of the SUNDIALS package (7.1.1)** (https://github.com/AMICI-dev/AMICI/pull/2513).
For C++ users of some of AMICI's internal RAII classes, this may include some
breaking changes. The Python API is not affected.

*Note regarding **editable** installations (`pip install -e ...`):*
Due to the SUNDIALS update, it will be necessary to clean out some temporary
build directories (at least `ThirdParty/sundials/build/`,
`python/sdist/build/`) before rebuilding the package.

**Fixes**

* Fixed a bug that led to program termination if a root-after-reinitialization
error (potentially also others) occurred at an output timepoint

by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2555

* CMake: Fixes compilation errors for models named `model`

by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2547

* Updated CMake export config, making it easier to use AMICI in CMake projects
and fixing some potential issues with interferring packages

by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2540

* CMake: Set policies for CMake 3.31

by @dweindl in https://github.com/AMICI-dev/AMICI/pull/2539

* Documentation fixes by @FFroehlich, @ChocolateCharlie, @dweindl

**Full Changelog**: https://github.com/AMICI-dev/AMICI/compare/v0.26.3...v0.27.0


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

Expand Down
17 changes: 8 additions & 9 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
cmake_minimum_required(VERSION 3.22)
# When updating the policy version, please also update it in
# src/CMakeLists.template.cmake
cmake_policy(VERSION 3.22...3.30)
cmake_policy(VERSION 3.22...3.31)

project(amici)

Expand Down Expand Up @@ -265,28 +265,27 @@ target_compile_definitions(

target_link_libraries(
${PROJECT_NAME}
PUBLIC SUNDIALS::generic_static
SUNDIALS::nvecserial_static
PUBLIC SUNDIALS::nvecserial_static
SUNDIALS::sunmatrixband_static
SUNDIALS::sunmatrixdense_static
SUNDIALS::sunmatrixsparse_static
SUNDIALS::sunlinsolband_static
SUNDIALS::sunlinsoldense_static
SUNDIALS::sunlinsolpcg_static
SUNDIALS::sunlinsolspbcgs_static
SUNDIALS::sunlinsolspfgmr_static
SUNDIALS::sunlinsolspgmr_static
SUNDIALS::sunlinsolsptfqmr_static
SUNDIALS::sunlinsolklu_static
SUNDIALS::sunnonlinsolnewton_static
SUNDIALS::sunnonlinsolfixedpoint_static
SUNDIALS::cvodes_static
SUNDIALS::idas_static
$<$<BOOL:${Boost_CHRONO_FOUND}>:Boost::chrono>
$<$<BOOL:${OpenMP_FOUND}>:OpenMP::OpenMP_CXX>
${CMAKE_DL_LIBS}
PRIVATE
BLAS::BLAS
SUNDIALS::sunnonlinsolnewton_static
SUNDIALS::sunnonlinsolfixedpoint_static
SUNDIALS::sunlinsolklu_static
SUNDIALS::sunlinsolband_static
SUNDIALS::sunlinsoldense_static
SUNDIALS::sunlinsolpcg_static
$<$<BOOL:${SUNDIALS_SUPERLUMT_ENABLE}>:SUNDIALS::sundials_sunlinsolsuperlumt>
)

Expand Down
119 changes: 119 additions & 0 deletions ThirdParty/sundials/CITATIONS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Citing SUNDIALS

We ask users of SUNDIALS to cite the following papers in any publications
reporting work done with SUNDIALS:

```bibtex
@article{gardner2022sundials,
title = {Enabling new flexibility in the {SUNDIALS} suite of nonlinear and differential/algebraic equation solvers},
author = {Gardner, David J and Reynolds, Daniel R and Woodward, Carol S and Balos, Cody J},
journal = {ACM Transactions on Mathematical Software (TOMS)},
publisher = {ACM},
volume = {48},
number = {3},
pages = {1--24},
year = {2022},
doi = {10.1145/3539801}
}
```

```bibtex
@article{hindmarsh2005sundials,
title = {{SUNDIALS}: Suite of nonlinear and differential/algebraic equation solvers},
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},
journal = {ACM Transactions on Mathematical Software (TOMS)},
publisher = {ACM},
volume = {31},
number = {3},
pages = {363--396},
year = {2005},
doi = {10.1145/1089014.1089020}
}
```

If any GPU features of SUNDIALS were utilized, please also cite:

```bibtex
@article{balos2021enabling,
title = {{Enabling GPU accelerated computing in the SUNDIALS time integration library}},
author = {Balos, Cody J and Gardner, David J and Woodward, Carol S and Reynolds, Daniel R},
journal = {Parallel Computing},
publisher = {Elsevier},
volume = {108},
pages = {102836},
year = {2021},
doi = {10.1016/j.parco.2021.102836}
}
```

When using the ARKODE package from SUNDIALS, please also cite:

```bibtex
@article{reynolds2023arkode,
title = {{ARKODE: A flexible IVP solver infrastructure for one-step methods}},
author = {Reynolds, Daniel R and Gardner, David J and Woodward, Carol S and Chinomona, Rujeko},
journal = {ACM Transactions on Mathematical Software},
volume = {49},
number = {2},
pages = {1--26},
year = {2023},
doi = {10.1145/3594632}
}
```

We also ask that users cite the documentation for the package and version that
they are using rather than the combined SUNDIALS online guide:

```bibtex
@Misc{arkodeDocumentation,
author = {Daniel R. Reynolds and David J. Gardner and Carol S. Woodward and Cody J. Balos},
title = {User Documentation for ARKODE},
year = {2024},
note = {v6.1.1}
}
```

```bibtex
@Misc{cvodeDocumentation,
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
title = {User Documentation for CVODE},
year = {2024},
note = {v7.1.1}
}
```

```bibtex
@Misc{cvodesDocumentation,
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
title = {User Documentation for CVODES},
year = {2024},
note = {v7.1.1}
}
```

```bibtex
@Misc{idaDocumentation,
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
title = {User Documentation for IDA},
year = {2024},
note = {v7.1.1}
}
```

```bibtex
@Misc{idasDocumentation,
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},
title = {User Documentation for IDAS},
year = {2024},
note = {v6.1.1}
}
```

```bibtex
@Misc{kinsolDocumentation,
author = {Alan C. Hindmarsh and Radu Serban and Cody J. Balos and David J. Gardner and Daniel R. Reynolds and Carol S. Woodward},
title = {User Documentation for KINSOL},
year = {2024},
note = {v7.1.1}
}
```
Loading
Loading