Skip to content

V2.4.0 - #414

Merged
glesur merged 164 commits into
masterfrom
v2.4.0
Sep 24, 2026
Merged

V2.4.0#414
glesur merged 164 commits into
masterfrom
v2.4.0

Conversation

@glesur

@glesur glesur commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Changed

Fixed

Added

vreville and others added 30 commits December 3, 2024 10:57
…lay which slope limiter is used, fixed typo in the braginskii doc
updated ShowConfig functions from braginskii tc and viscosity to disp…
update changelog and version in develop
checking that everything works as expected)
neutrinoceros and others added 28 commits July 16, 2026 22:33
* fix the computation of velocity gradients in the viscosity module when coarsening is enabled.
… ./test.py (#399)

* test: Fix missing protagation of return status when calling pytest in ./test.py
* fix: fix an issue coming from the previous refactoring about accessing a GPU buffer on CPU
* fix: Fix some warnings about unused variabled blocking the test suite
* test: fix utils/lookupTable test by adding possibility to call a python function from testme.json
* fix: communication issue introduced during the comm refactoring in recent commit of PR #385.
* fix: add missing new file testmelib.py in test/utils/lookupTable
* Fix parallel HDF5 detection when found via CMake config package

find_package(HDF5) can resolve through the HDF5-provided CMake config package (config mode), which does not set HDF5_IS_PARALLEL. The previous 'if(NOT HDF5_IS_PARALLEL)' check then wrongly failed for a genuinely parallel HDF5 build.

Detect parallel support robustly: prefer imported targets (hdf5::hdf5 / HDF5::HDF5), fall back to the FindHDF5 module, and determine parallelism from HDF5_IS_PARALLEL/HDF5_C_IS_PARALLEL, 'h5cc -showconfig', or an H5Pset_fapl_mpio compile+link probe.

* Silence unused-variable warnings with [[maybe_unused]]

Mark variables that are unused in some build configurations as [[maybe_unused]]: the MPI buffer index locals in Axis::ExchangeMPI and tot_dim in the DIMENSIONS==2 branch of Xdmf::Write.

* Apply suggestions from code review

Minor Co-pilot suggested fixes

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>

* Minor typo fix

* [ENH] refactor of parallel hdf5 detection

---------

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Sébastien Valat <sebastien.valat@univ-grenoble-alpes.fr>
- Constrain Kokkos parallel_for range kernels via LaunchBounds<256> in idefix_for wrappers to mitigate AMD register spilling.
- Replace the generated-in-source version.hpp mechanism with CMake-generated headers (version.h, compiler_info.h) and update outputs/version printing to use them.
- Add Idefix_SUPPRESS_FMA and a SuppressFMA.cmake helper to disable FMA contraction across toolchains; update the Python test harness to enable it for bitwise-stable comparisons.

---------

Co-authored-by: Geoffroy Lesur <geoffroy.lesur@univ-grenoble-alpes.fr>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
…ce-host explicit transfers (#389)

* gpu-direct: handle communications when MPI GPU DIRECT is not there/available.

---------

Co-authored-by: Geoffroy Lesur <geoffroy.lesur@univ-grenoble-alpes.fr>
* doc: fix typo in test runner documentation (tests => test)

* test: fix issue when generating the .junit.xml report (the output stream is not there for failed tests).
…e using `LookupTable` object (#401)

* Allow 1D lookup tables to be read as columns of a CSV file

* LookupTable interpolation on function space

* Add accessors to the neighbours used by the LookupTable interpolation

* Cache the neighbour search between Get and the neighbour getters

* generate irregular grid to test the lookupTable generic neighbour search

* Use a dichotomy instead of linear search for faster lookup search in large tables

* added test helpers for clarity. Should be replaced by proper unit test library (note in this PR though)

---------

Co-authored-by: Geoffroy Lesur <geoffroy.lesur@univ-grenoble-alpes.fr>
* add documentation for pydefix in virtualenv
* TST/DEP: update minimal Python requirements

* TST: require inifile to be Pluto/Idefix valid

---------

Co-authored-by: Geoffroy Lesur <geoffroy.lesur@univ-grenoble-alpes.fr>
…ore understandable errors. (#405)

* test: add usage of jsonschema to validate the testme.json file and get more understandable errors.

* test: add testme.json format validation in the pre-commit + improve the error messages of test.py + make it faster to start.
* Move CheckNan to end of loop on stages in timeIntegrator

    CheckNan was previously located after EvolveStage. However, EvolveStage
    updates the conservative variables and CheckNan checks the primitive
    variables. This reports the detection of a NaN to the next cycle. By
    moving CheckNan to the end of the loop on stages in timeIntegrator,
    so after the ConsToPrim, this PR ensures that we detect the NaN at
    the right cycle.

* [pre-commit.ci lite] apply automatic fixes

* Move CheckNan at end of integration cycle

* Update pre-commit config

---------

Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
* check conserved quantities
* keep Flux array in each direction (increase memory footprint, but easier
post-treatment)
* ensure shearing box test also analyse B

* add B field in the validation of the shearing box test. Adjust tolerance accordingly.
header: introduce a script to update the source file headers with licence & authors (imported from MALT : MALloc Tracker)
@glesur
glesur merged commit aee4e07 into master Sep 24, 2026
41 checks passed
@glesur
glesur deleted the v2.4.0 branch September 24, 2026 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants