Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
36e8c24
ensure that Fargo can't be used with too low DIMENSIONS (#250)
glesur Jul 9, 2024
cb5117c
Doc fix (#251)
glesur Jul 9, 2024
040592b
fix #252 (#253)
glesur Jul 19, 2024
0a6193d
avoid implicit conversion to double in VTK I/O routines (#255)
glesur Jul 26, 2024
1859ad5
set built type as default (allow user override) (#256)
nicolasaunai Aug 7, 2024
e5ca2b5
Make shockFlattening public (#257)
vdbma Sep 9, 2024
a020a3f
Check for successful write in serial (#260)
glesur Sep 13, 2024
3629695
[FIX] xdmf datatype agnostic dump (#261)
dutta-alankar Sep 16, 2024
dcaefdf
Update setup.cpp.rst (#264)
ThomasJannaudCAM Sep 20, 2024
6657a0a
Minor correction to have the filesystem header same as dump and vtk (…
dutta-alankar Sep 27, 2024
c097459
add Python binding to cmake
glesur Oct 30, 2023
8a07eaf
working version with pybind11
glesur Oct 31, 2023
1881182
tentative automatic cast of IdefixArray
glesur Nov 2, 2023
76bee8c
missing files
glesur Nov 2, 2023
10dc6bf
Fully working python output routines
glesur Nov 6, 2023
227e375
working now with initial condition (but copies won't work!)
glesur Sep 3, 2024
c2d73e6
working version with possibility to initialize the flow from python
glesur Sep 6, 2024
7dc7553
add BXs to python bindings
glesur Sep 18, 2024
8aa7e93
fix BXs indices
glesur Sep 22, 2024
134ca6b
change init list to work without python
glesur Sep 22, 2024
8f6cf5d
generalised call script with variadic template parameters
glesur Oct 3, 2024
6985443
-fix warning in cmake
glesur Oct 3, 2024
d3b3bb7
typos
glesur Oct 3, 2024
a92732f
change naming
glesur Oct 3, 2024
1c29ebb
fix lack of initialisation of datablockHost's dt and t after
glesur Oct 9, 2024
427982a
MNT: fix linting with cpplint 2.0.0 (#279)
neutrinoceros Oct 11, 2024
84c1763
STY: locally disable linting around #include <filesystem> (#281)
neutrinoceros Oct 12, 2024
d0ace44
MNT: fix linting with cpplint 2.0.0 (#279)
neutrinoceros Oct 11, 2024
4f48ac6
STY: locally disable linting around #include <filesystem> (#281)
neutrinoceros Oct 12, 2024
9d92bfe
Simplify input file for DIMENSIONS < 3 setups (#274)
glesur Oct 13, 2024
0b79b28
MNT: auto-upgrade pre-commit hooks (#278)
neutrinoceros Oct 19, 2024
0c3ce8a
Update to numpy 2+
vdbma Oct 18, 2024
6c95183
Included numpy to ruff
vdbma Oct 21, 2024
10725f7
Merge pull request #283 from vdbma/FixIdfxIO
neutrinoceros Oct 21, 2024
45fcfd6
fix arch for nvidia architectures
glesur Oct 22, 2024
d9466ab
add central mass in the restart dump. (#287)
aborderies Oct 22, 2024
ec0594d
Reduce roundoff error on div(B) when using grid coarsening (#284)
glesur Oct 23, 2024
46d1973
update JZ documentation
glesur Oct 24, 2024
a2a0189
-move to Kokkos 4.4 (#289)
glesur Oct 24, 2024
4267c4f
Merge branch 'fixConfigDoc' into develop
glesur Oct 24, 2024
8d13e69
Merge branch 'master' into develop
glesur Oct 25, 2024
2efed9c
Adding SG potential to idfx files (#285)
vdbma Oct 25, 2024
9a7716d
fix MakeVsFromAmag in spherical-non axisymmetric runs (#293)
glesur Nov 6, 2024
1087e85
ENH: include native coordinates in vtk outputs
neutrinoceros Nov 5, 2024
f68a652
TST: handle a deprecation warning from numpy 1.25 (#294)
neutrinoceros Nov 7, 2024
573512f
Update src/output/vtk.cpp
glesur Nov 8, 2024
f83e560
Bug: MHD+Fargo+MPI (#295)
glesur Nov 15, 2024
9143e77
assume full sphere symmetry in SPHERICAL with 1 dimension and Compone…
glesur Nov 26, 2024
f2d83c7
Merge branch 'vtk-native-coords' of github.com:volodia99/idefix into …
glesur Nov 26, 2024
6f8c961
Merge branch 'volodia99-vtk-native-coords' into develop
glesur Nov 26, 2024
579ceaa
remove spurious EMF_AVERAGE flags
glesur Dec 4, 2024
f4b2d46
bump up to kokkos4.5
glesur Dec 4, 2024
4447932
Add error message when total grid size is not a multiple of nb mpi procs
nscepi Dec 13, 2024
97423b9
Tentative de modularisation de la CI
Nov 29, 2024
603bbf0
Tentative de compilation avec icc
Dec 4, 2024
1eff9a3
Renommage de IDEFIX_TARGET en IDEFIX_COMPILER dans les inputs
Dec 4, 2024
0fcf268
Réordonne les tests pour que 'icc' se fasse en premier (vu que c'est …
Dec 4, 2024
a1cbc4b
Déplacement du 'set -ue' après l'import des variables Intel (pour cau…
Dec 4, 2024
2dca8b1
Ajout de -fp-model=strict lors de la compilation avec icc pour éviter…
Dec 5, 2024
e590e43
Séoaration du linter et des jobs de compilation
Dec 6, 2024
8f4f477
Suppression des espaces qui font échouer le linter
Dec 6, 2024
1befc52
Move some Intel compiler options to the idfx_test module
Dec 13, 2024
a8513f8
Change 'test-ci' to 'develop' as the target branch for CI
Dec 13, 2024
1447778
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Dec 13, 2024
13c34d3
ICC is outdated
glesur Dec 13, 2024
4dd1f5a
Merge pull request #300 from idefix-code/test-ci
glesur Dec 13, 2024
2a395ba
Merge pull request #301 from nscepi/master
glesur Dec 14, 2024
1453cca
remove force disable cuda malloc async following update to 4.5
glesur Dec 16, 2024
003b28c
fix #275
glesur Dec 16, 2024
feae278
Merge pull request #298 from idefix-code/kokkos4.5
glesur Dec 16, 2024
63f6a4a
test the documentation generation workflow
glesur Dec 20, 2024
af3d563
[pre-commit.ci lite] apply automatic fixes
pre-commit-ci-lite[bot] Dec 20, 2024
c060c41
update path
glesur Dec 20, 2024
c08fc76
typo
glesur Dec 20, 2024
3eaa696
add doxygen to the build
glesur Dec 20, 2024
dee00e5
doxygen again
glesur Dec 20, 2024
bfa54f7
clean naming
glesur Dec 20, 2024
2d2dcd0
Merge pull request #305 from idefix-code/docCI
glesur Dec 23, 2024
d881515
Merge branch 'develop' into pythonBinding
glesur Dec 23, 2024
66be685
MNT: give a unique name to documentation build workflows
neutrinoceros Dec 23, 2024
9065365
implement MPi data gathering for pydefix
glesur Dec 24, 2024
a37b5f1
better gathering with/without boundaries
glesur Dec 28, 2024
8b89c24
use numpy array to avoid ownership errors
glesur Dec 30, 2024
f00986c
missplaced namespace
glesur Dec 30, 2024
30f8433
make python auto detection work on MacOs. No need to specify pybind11
glesur Jan 6, 2025
a541532
type caster for 2D and 1D numpy->Idefix Array (not used as of now)
glesur Jan 6, 2025
ed7de3c
proper example with MPI reduction
glesur Jan 6, 2025
a7d809a
add documentation for pydefix
glesur Jan 6, 2025
9c46b28
Merge pull request #306 from neutrinoceros/mnt/doc_workflow_name
glesur Jan 6, 2025
682f93b
missing initialisation of boundary conditions in dataBlockHost
glesur Jan 8, 2025
f89fc65
update recommended configuration on Adastra following discussion with
glesur Jan 8, 2025
4ab8212
test MPI using Send/Recv instead of reduction
glesur Jan 15, 2025
7b2910c
Merge pull request #310 from idefix-code/useMPISendForTesting
glesur Jan 15, 2025
42b474f
Merge pull request #277 from idefix-code/pythonBinding
glesur Jan 15, 2025
ee6dd0b
update version number
glesur Jan 15, 2025
5d1a15d
update changelog
glesur Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/idefix-ci-doc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build the docs
on:
workflow_dispatch:
push:
branches:
- master
- develop
pull_request:
paths-ignore:
- '.github/ISSUE_TEMPLATE/*'


jobs:
ReadTheDocs:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: install doxygen
run: sudo apt-get install -y doxygen
- name: install python dependencies
run: python -m pip install --exists-action=w --no-cache-dir -r doc/python_requirements.txt
- name: compile documentation
run: python -m sphinx -T -b html -d _build/doctrees -D language=en doc/source doc/html
203 changes: 203 additions & 0 deletions .github/workflows/idefix-ci-jobs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
on:
workflow_call:
inputs:
TESTME_OPTIONS:
required: true
type: string
IDEFIX_COMPILER:
required: true
type: string

# concurrency:
# # auto-cancel any concurrent job *in the same context*
# # see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
# # see https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
# group: ${{ github.workflow }}-${{ github.ref }}
# cancel-in-progress: true

env:
IDEFIX_COMPILER: ${{ inputs.IDEFIX_COMPILER }}
TESTME_OPTIONS: ${{ inputs.TESTME_OPTIONS }}
PYTHONPATH: ${{ github.workspace }}
IDEFIX_DIR: ${{ github.workspace }}

jobs:
ShocksHydro:
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Sod test
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD/sod -all $TESTME_OPTIONS
- name: Isothermal Sod test
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD/sod-iso -all $TESTME_OPTIONS
- name: Mach reflection test
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD//MachReflection -all $TESTME_OPTIONS

ParabolicHydro:
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Viscous flow past cylinder
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD/ViscousFlowPastCylinder -all $TESTME_OPTIONS
- name: Viscous disk
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD/ViscousDisk -all $TESTME_OPTIONS
- name: Thermal diffusion
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD/thermalDiffusion -all $TESTME_OPTIONS

ShocksMHD:
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: MHD Sod test
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/sod -all $TESTME_OPTIONS
- name: MHD Isothermal Sod test
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/sod-iso -all $TESTME_OPTIONS
- name: Orszag Tang
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/OrszagTang -all $TESTME_OPTIONS
- name: Orszag Tang 3D+restart tests
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/OrszagTang3D -all $TESTME_OPTIONS

ParabolicMHD:
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Ambipolar C Shock
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/AmbipolarCshock -all $TESTME_OPTIONS
- name: Ambipolar C Shock 3D
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/AmbipolarCshock3D -all $TESTME_OPTIONS
- name: Resistive Alfvén wave
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/ResistiveAlfvenWave -all $TESTME_OPTIONS
- name: Grid coarsening diffusion
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/Coarsening -all $TESTME_OPTIONS
- name: Hall whistler waves
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/HallWhistler -all $TESTME_OPTIONS

Fargo:
needs: [ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Fargo + planet
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD/FargoPlanet -all $TESTME_OPTIONS
- name: Fargo MHD spherical
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/FargoMHDSpherical -all $TESTME_OPTIONS

ShearingBox:
needs: [ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Hydro shearing box
run: scripts/ci/run-tests $IDEFIX_DIR/test/HD/ShearingBox -all $TESTME_OPTIONS
- name: MHD shearing box
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/ShearingBox -all $TESTME_OPTIONS

SelfGravity:
needs: [ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Jeans Instability
run: scripts/ci/run-tests $IDEFIX_DIR/test/SelfGravity/JeansInstability -all $TESTME_OPTIONS
- name: Random sphere spherical
run: scripts/ci/run-tests $IDEFIX_DIR/test/SelfGravity/RandomSphere -all $TESTME_OPTIONS
- name: Random sphere cartesian
run: scripts/ci/run-tests $IDEFIX_DIR/test/SelfGravity/RandomSphereCartesian -all $TESTME_OPTIONS
- name: Uniform spherical collapse
run: scripts/ci/run-tests $IDEFIX_DIR/test/SelfGravity/UniformCollapse -all $TESTME_OPTIONS
- name: Dusty spherical collapse
run: scripts/ci/run-tests $IDEFIX_DIR/test/SelfGravity/DustyCollapse -all $TESTME_OPTIONS

Planet:
needs: [ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: 3 body
run: scripts/ci/run-tests $IDEFIX_DIR/test/Planet/Planet3Body -all $TESTME_OPTIONS
- name: migration
run: scripts/ci/run-tests $IDEFIX_DIR/test/Planet/PlanetMigration2D -all $TESTME_OPTIONS
- name: planet-planet
run: scripts/ci/run-tests $IDEFIX_DIR/test/Planet/PlanetPlanetRK42D -all $TESTME_OPTIONS
- name: spiral wake
run: scripts/ci/run-tests $IDEFIX_DIR/test/Planet/PlanetSpiral2D -all $TESTME_OPTIONS
- name: torques
run: scripts/ci/run-tests $IDEFIX_DIR/test/Planet/PlanetTorque3D -all $TESTME_OPTIONS
- name: RK5
run: scripts/ci/run-tests $IDEFIX_DIR/test/Planet/PlanetsIsActiveRK52D -all $TESTME_OPTIONS

Dust:
needs: [ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Energy conservation
run: scripts/ci/run-tests $IDEFIX_DIR/test/Dust/DustEnergy -all $TESTME_OPTIONS
- name: Dusty wave
run: scripts/ci/run-tests $IDEFIX_DIR/test/Dust/DustyWave -all $TESTME_OPTIONS

Braginskii:
needs: [ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: MTI
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/MTI -all $TESTME_OPTIONS
- name: Spherical anisotropic diffusion
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/sphBragTDiffusion -all $TESTME_OPTIONS
- name: Spherical anisotropic viscosity
run: scripts/ci/run-tests $IDEFIX_DIR/test/MHD/sphBragViscosity -all $TESTME_OPTIONS

Examples:
needs: [Fargo, Dust, Planet, ShearingBox, SelfGravity]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Run examples test
run: cd test && ./checks_examples.sh $TEST_OPTIONS

Utils:
needs: [Fargo, Dust, Planet, ShearingBox, SelfGravity]
runs-on: self-hosted
steps:
- name: Check out repo
uses: actions/checkout@v3
with:
submodules: recursive
- name: Lookup table
run: scripts/ci/run-tests $IDEFIX_DIR/test/utils/lookupTable -all $TESTME_OPTIONS
- name: Dump Image
run: scripts/ci/run-tests $IDEFIX_DIR/test/utils/dumpImage -all $TESTME_OPTIONS
Loading
Loading