Skip to content

Commit a7fd632

Browse files
authored
Merge branch 'develop' into kokkos5.1
2 parents 433ee1f + b3c330b commit a7fd632

119 files changed

Lines changed: 2497 additions & 97 deletions

File tree

Some content is hidden

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

.github/workflows/idefix-ci-doc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,16 @@ on:
99
paths-ignore:
1010
- '.github/ISSUE_TEMPLATE/*'
1111

12+
permissions: {}
1213

1314
jobs:
1415
ReadTheDocs:
1516
runs-on: ubuntu-latest
1617
steps:
1718
- name: Check out repo
18-
uses: actions/checkout@v3
19+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
20+
with:
21+
persist-credentials: false
1922
- name: install doxygen
2023
run: sudo apt-get install -y doxygen
2124
- name: install python dependencies

.github/workflows/idefix-ci-jobs.yml

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,17 @@ env:
2121
PYTHONPATH: ${{ github.workspace }}
2222
IDEFIX_DIR: ${{ github.workspace }}
2323

24+
permissions: {}
2425

2526
jobs:
2627
ShocksHydro:
2728
runs-on: self-hosted
2829
steps:
2930
- name: Check out repo
30-
uses: actions/checkout@v3
31+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
3132
with:
3233
submodules: recursive
34+
persist-credentials: false
3335
- name: Prep python
3436
uses: ./.github/workflows/actions/pre-install-py-packages
3537
- name: Sod test
@@ -45,9 +47,10 @@ jobs:
4547
runs-on: self-hosted
4648
steps:
4749
- name: Check out repo
48-
uses: actions/checkout@v3
50+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
4951
with:
5052
submodules: recursive
53+
persist-credentials: false
5154
- name: Prep python
5255
uses: ./.github/workflows/actions/pre-install-py-packages
5356
- name: Viscous flow past cylinder
@@ -61,9 +64,10 @@ jobs:
6164
runs-on: self-hosted
6265
steps:
6366
- name: Check out repo
64-
uses: actions/checkout@v3
67+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
6568
with:
6669
submodules: recursive
70+
persist-credentials: false
6771
- name: Prep python
6872
uses: ./.github/workflows/actions/pre-install-py-packages
6973
- name: MHD Sod test
@@ -83,9 +87,10 @@ jobs:
8387
runs-on: self-hosted
8488
steps:
8589
- name: Check out repo
86-
uses: actions/checkout@v3
90+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
8791
with:
8892
submodules: recursive
93+
persist-credentials: false
8994
- name: Prep python
9095
uses: ./.github/workflows/actions/pre-install-py-packages
9196
- name: Ambipolar C Shock
@@ -104,9 +109,10 @@ jobs:
104109
runs-on: self-hosted
105110
steps:
106111
- name: Check out repo
107-
uses: actions/checkout@v3
112+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
108113
with:
109114
submodules: recursive
115+
persist-credentials: false
110116
- name: Prep python
111117
uses: ./.github/workflows/actions/pre-install-py-packages
112118
- name: Fargo + planet
@@ -119,9 +125,10 @@ jobs:
119125
runs-on: self-hosted
120126
steps:
121127
- name: Check out repo
122-
uses: actions/checkout@v3
128+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
123129
with:
124130
submodules: recursive
131+
persist-credentials: false
125132
- name: Prep python
126133
uses: ./.github/workflows/actions/pre-install-py-packages
127134
- name: Hydro shearing box
@@ -134,9 +141,10 @@ jobs:
134141
runs-on: self-hosted
135142
steps:
136143
- name: Check out repo
137-
uses: actions/checkout@v3
144+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
138145
with:
139146
submodules: recursive
147+
persist-credentials: false
140148
- name: Prep python
141149
uses: ./.github/workflows/actions/pre-install-py-packages
142150
- name: Jeans Instability
@@ -155,9 +163,10 @@ jobs:
155163
runs-on: self-hosted
156164
steps:
157165
- name: Check out repo
158-
uses: actions/checkout@v3
166+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
159167
with:
160168
submodules: recursive
169+
persist-credentials: false
161170
- name: Prep python
162171
uses: ./.github/workflows/actions/pre-install-py-packages
163172
- name: 3 body
@@ -178,9 +187,10 @@ jobs:
178187
runs-on: self-hosted
179188
steps:
180189
- name: Check out repo
181-
uses: actions/checkout@v3
190+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
182191
with:
183192
submodules: recursive
193+
persist-credentials: false
184194
- name: Prep python
185195
uses: ./.github/workflows/actions/pre-install-py-packages
186196
- name: Energy conservation
@@ -193,9 +203,10 @@ jobs:
193203
runs-on: self-hosted
194204
steps:
195205
- name: Check out repo
196-
uses: actions/checkout@v3
206+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
197207
with:
198208
submodules: recursive
209+
persist-credentials: false
199210
- name: Prep python
200211
uses: ./.github/workflows/actions/pre-install-py-packages
201212
- name: MTI
@@ -212,9 +223,10 @@ jobs:
212223
runs-on: self-hosted
213224
steps:
214225
- name: Check out repo
215-
uses: actions/checkout@v3
226+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
216227
with:
217228
submodules: recursive
229+
persist-credentials: false
218230
- name: Prep python
219231
uses: ./.github/workflows/actions/pre-install-py-packages
220232
- name: Run examples test
@@ -225,9 +237,10 @@ jobs:
225237
runs-on: self-hosted
226238
steps:
227239
- name: Check out repo
228-
uses: actions/checkout@v3
240+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
229241
with:
230242
submodules: recursive
243+
persist-credentials: false
231244
- name: Prep python
232245
uses: ./.github/workflows/actions/pre-install-py-packages
233246
- name: Lookup table
@@ -242,9 +255,10 @@ jobs:
242255
runs-on: self-hosted
243256
steps:
244257
- name: Check out repo
245-
uses: actions/checkout@v3
258+
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
246259
with:
247260
submodules: recursive
261+
persist-credentials: false
248262
- name: Prep python
249263
uses: ./.github/workflows/actions/pre-install-py-packages
250264
- name: Restart dumps

.github/workflows/idefix-ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,22 @@ on:
99
paths-ignore:
1010
- '.github/ISSUE_TEMPLATE/*'
1111

12+
permissions: {}
13+
1214
jobs:
1315
Linter:
1416
# Don't do this in forks
1517
if: ${{ github.repository == 'idefix-code/idefix' || github.repository == 'glesur/idefix' }}
1618
runs-on: ubuntu-latest
1719
steps:
18-
- uses: actions/checkout@v3
19-
- uses: actions/setup-python@v4
20+
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3.6.0
21+
with:
22+
persist-credentials: false
23+
- uses: actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4.9.1
2024
with:
2125
python-version: 3.x
22-
- uses: pre-commit/action@v3.0.0
23-
- uses: pre-commit-ci/lite-action@v1.0.0
26+
- uses: pre-commit/action@646c83fcd040023954eafda54b4db0192ce70507 # v3.0.0
27+
- uses: pre-commit-ci/lite-action@50143aaf27e2c42e75a5e06185a471d9582e89df # v1.0.0
2428
if: always()
2529

2630
icc-jobs:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ test/**/*.pyc
4141
test/**/*.dat
4242
test/**/cmake_packages*
4343
test/**/
44+
idefix-tests.junit.xml
4445

4546
# machine specific cache and hidden files
4647
.*

.pre-commit-config.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,11 @@ repos:
1515
- id: check-added-large-files
1616
args: ['--maxkb=100'] ## prevent files larger than 100kB from being commited (exclude git lfs files)
1717

18+
- repo: https://github.com/zizmorcore/zizmor-pre-commit
19+
rev: v1.23.1
20+
hooks:
21+
- id: zizmor
22+
1823
- repo: https://github.com/Lucas-C/pre-commit-hooks-nodejs
1924
rev: v1.1.2
2025
hooks:
@@ -43,6 +48,7 @@ repos:
4348
rev: v6.1.2
4449
hooks:
4550
- id: inifix-format
51+
files: ^(test/).*\.(ini)$ # want to skip pytest.ini
4652

4753
- repo: https://github.com/Lucas-C/pre-commit-hooks
4854
rev: v1.5.5

.readthedocs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ version: 2
99
build:
1010
os: ubuntu-22.04
1111
tools:
12-
python: "3.11"
12+
python: "3.12"
1313
# You can also specify other tool versions:
1414
# nodejs: "19"
1515
# rust: "1.64"

CHANGELOG.md

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,21 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## Upcoming
7+
## [2.3.0] 2026-04-21
88
### Changed
99

1010
- fixed a bug that could lead to diverging results around the spherical axis in non-ideal MHD in 2.5D and 3D (#356)
1111
- refactor of the MPI exchange routines and boundary routines to avoid buildup of roundoff errors at domain faces/edges that could lead to the sudden burst of div(B) or incoherences between MPI sub-domains (#357)
12-
12+
- fixed a bug that could lead to compilations error when targetting AMD APUs (#359)
13+
- fixed a bug that led to the generation of incorrect subviews in 2.5D with vector_potential enabled (#362)
14+
- fixed a bug that could lead to memory corruption when using the UCT_HLLD emf reconstruction scheme and DIMENSIONS < COMPONENTS (#363)
15+
- reorganise the test to separate specific IO tests from physics tests (#367)
1316

1417
### Added
18+
- magnetic vector potential is now accessible from pydefix when enabled (#361)
19+
- use ccache in the test suite to reduce the runtime of continuous integration (#364)
20+
- automatically detects pybind11 path with cmake when using pydefix (#367)
21+
- skeleton to run the test suite with pytest (#366)
1522

1623

1724
## [2.2.02] 2025-10-18
@@ -23,6 +30,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2330
- fixed a bug that led to incorrect BX2 reconstruction when axis is not used on both sides of the domain (#345)
2431
- fixed a bug that led to incorrect reflective boundary conditions on B when DIMENSIONS < 3 (#345)
2532
- fixed a bug that led to incorrect dust stopping time when the adiabatic equation of state is used with "size" drag law (#353)
33+
- fixed div(B) normalisation to avoid "too large div(B)" errors when this is actually due to nulls in |B|
34+
- fixed insecure github actions settings (#373)
2635

2736
### Added
2837

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ endif()
55
set (CMAKE_CXX_STANDARD 20)
66

77
set(Idefix_VERSION_MAJOR 2)
8-
set(Idefix_VERSION_MINOR 2)
9-
set(Idefix_VERSION_PATCH 02)
8+
set(Idefix_VERSION_MINOR 3)
9+
set(Idefix_VERSION_PATCH 0)
1010

11-
project (idefix VERSION 2.2.02)
11+
project (idefix VERSION 2.3.0)
1212
option(Idefix_MHD "enable MHD" OFF)
1313
option(Idefix_MPI "enable Message Passing Interface parallelisation" OFF)
1414
option(Idefix_HIGH_ORDER_FARGO "Force Fargo to use a PPM reconstruction scheme" OFF)

doc/python_requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
# python -m pip install -r python_requirements.txt
77

88
wheel>=0.38.4 # help forward compatibility for pip with old sphinx plugins
9-
sphinx==5.3.0
10-
sphinx_rtd_theme==1.3.0
9+
sphinx==9.1.0
10+
sphinx_rtd_theme==3.1.0
1111
sphinx_git==11.0.0
12-
breathe==4.34.0
12+
breathe==4.36.0
1313
exhale==0.3.7
14-
m2r2==0.3.2
14+
m2r2==0.3.4
1515
sphinx-copybutton==0.5.2
1616
#sphinxcontrib-applehelp==1.0.7
1717
matplotlib==3.10.0

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
author = 'Geoffroy Lesur'
2424

2525
# The full version, including alpha/beta/rc tags
26-
release = '2.2.02'
26+
release = '2.3.0'
2727

2828

2929

0 commit comments

Comments
 (0)