| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 5c6348f commit 19ed7be
460 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -4,6 +4,7 @@ on: | |||
| 4 | 4 | push: | |
| 5 | 5 | branches: | |
| 6 | 6 | - master | |
| 7 | + - v2.0 | ||
| 7 | 8 | pull_request: | |
| 8 | 9 | paths-ignore: | |
| 9 | 10 | - '.github/ISSUE_TEMPLATE/*' | |
@@ -16,132 +17,271 @@ concurrency: | |||
| 16 | 17 | cancel-in-progress: true | |
| 17 | 18 | ||
| 18 | 19 | env: | |
| 19 | - TEST_OPTIONS: -DKokkos_ENABLE_CUDA=ON | ||
| 20 | + TESTME_OPTIONS: -cuda -Werror | ||
| 21 | + PYTHONPATH: ${{ github.workspace }} | ||
| 22 | + IDEFIX_DIR: ${{ github.workspace }} | ||
| 20 | 23 | ||
| 21 | 24 | jobs: | |
| 22 | 25 | Linter: | |
| 23 | 26 | # Don't do this in forks | |
| 24 | - if: github.repository == 'idefix-code/idefix' | ||
| 27 | + if: ${{ github.repository == 'idefix-code/idefix' || github.repository == 'glesur/idefix' }} | ||
| 25 | 28 | runs-on: ubuntu-latest | |
| 26 | 29 | steps: | |
| 27 | 30 | - uses: actions/checkout@v3 | |
| 28 | - with: | ||
| 29 | - lfs: false | ||
| 30 | 31 | - uses: actions/setup-python@v4 | |
| 31 | 32 | with: | |
| 32 | 33 | python-version: 3.x | |
| 33 | 34 | - uses: pre-commit/action@v3.0.0 | |
| 34 | 35 | - uses: pre-commit-ci/lite-action@v1.0.0 | |
| 35 | 36 | if: always() | |
| 36 | 37 | ||
| 37 | - Hydrodynamics: | ||
| 38 | + ShocksHydro: | ||
| 39 | + needs: Linter | ||
| 40 | + runs-on: self-hosted | ||
| 41 | + steps: | ||
| 42 | + - name: Check out repo | ||
| 43 | + uses: actions/checkout@v3 | ||
| 44 | + with: | ||
| 45 | + submodules: recursive | ||
| 46 | + - name: Sod test | ||
| 47 | + run: | | ||
| 48 | + cd $IDEFIX_DIR/test/HD/sod | ||
| 49 | + ./testme.py -all $TESTME_OPTIONS | ||
| 50 | + - name: Isothermal Sod test | ||
| 51 | + run: | | ||
| 52 | + cd $IDEFIX_DIR/test/HD/sod-iso | ||
| 53 | + ./testme.py -all $TESTME_OPTIONS | ||
| 54 | + - name: Mach reflection test | ||
| 55 | + run: | | ||
| 56 | + cd $IDEFIX_DIR/test/HD//MachReflection | ||
| 57 | + ./testme.py -all $TESTME_OPTIONS | ||
| 58 | + | ||
| 59 | + ParabolicHydro: | ||
| 38 | 60 | needs: Linter | |
| 39 | 61 | runs-on: self-hosted | |
| 40 | 62 | steps: | |
| 41 | 63 | - name: Check out repo | |
| 42 | 64 | uses: actions/checkout@v3 | |
| 43 | 65 | with: | |
| 44 | - lfs: true | ||
| 45 | 66 | submodules: recursive | |
| 46 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 47 | - - run: git lfs pull | ||
| 48 | - - name: Run Hydro test | ||
| 49 | - run: cd test && ./checks_hydro.sh $TEST_OPTIONS | ||
| 67 | + - name: Viscous flow past cylinder | ||
| 68 | + run: | | ||
| 69 | + cd $IDEFIX_DIR/test/HD/ViscousFlowPastCylinder | ||
| 70 | + ./testme.py -all $TESTME_OPTIONS | ||
| 71 | + - name: Viscous disk | ||
| 72 | + run: | | ||
| 73 | + cd $IDEFIX_DIR/test/HD/ViscousDisk | ||
| 74 | + ./testme.py -all $TESTME_OPTIONS | ||
| 75 | + - name: Thermal diffusion | ||
| 76 | + run: | | ||
| 77 | + cd $IDEFIX_DIR/test/HD/thermalDiffusion | ||
| 78 | + ./testme.py -all $TESTME_OPTIONS | ||
| 50 | 79 | ||
| 51 | - Magneto-Hydrodynamics: | ||
| 80 | + ShocksMHD: | ||
| 52 | 81 | needs: Linter | |
| 53 | 82 | runs-on: self-hosted | |
| 54 | 83 | steps: | |
| 55 | 84 | - name: Check out repo | |
| 56 | 85 | uses: actions/checkout@v3 | |
| 57 | 86 | with: | |
| 58 | - lfs: true | ||
| 59 | 87 | submodules: recursive | |
| 60 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 61 | - - run: git lfs pull | ||
| 62 | - - name: Run MHD test | ||
| 63 | - run: cd test && ./checks_mhd.sh $TEST_OPTIONS | ||
| 88 | + - name: MHD Sod test | ||
| 89 | + run: | | ||
| 90 | + cd $IDEFIX_DIR/test/MHD/sod | ||
| 91 | + ./testme.py -all $TESTME_OPTIONS | ||
| 92 | + - name: MHD Isothermal Sod test | ||
| 93 | + run: | | ||
| 94 | + cd $IDEFIX_DIR/test/MHD/sod-iso | ||
| 95 | + ./testme.py -all $TESTME_OPTIONS | ||
| 96 | + - name: Orszag Tang | ||
| 97 | + run: | | ||
| 98 | + cd $IDEFIX_DIR/test/MHD/OrszagTang | ||
| 99 | + ./testme.py -all $TESTME_OPTIONS | ||
| 100 | + - name: Orszag Tang 3D+restart tests | ||
| 101 | + run: | | ||
| 102 | + cd $IDEFIX_DIR/test/MHD/OrszagTang3D | ||
| 103 | + ./testme.py -all $TESTME_OPTIONS | ||
| 104 | + | ||
| 64 | 105 | ||
| 65 | - MPI: | ||
| 106 | + ParabolicMHD: | ||
| 66 | 107 | needs: Linter | |
| 67 | 108 | runs-on: self-hosted | |
| 68 | 109 | steps: | |
| 69 | 110 | - name: Check out repo | |
| 70 | 111 | uses: actions/checkout@v3 | |
| 71 | 112 | with: | |
| 72 | - lfs: true | ||
| 73 | 113 | submodules: recursive | |
| 74 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 75 | - - run: git lfs pull | ||
| 76 | - - name: Run MPI test | ||
| 77 | - run: cd test && ./checks_mpi.sh $TEST_OPTIONS | ||
| 114 | + - name: Ambipolar C Shock | ||
| 115 | + run: | | ||
| 116 | + cd $IDEFIX_DIR/test/MHD/AmbipolarCshock | ||
| 117 | + ./testme.py -all $TESTME_OPTIONS | ||
| 118 | + - name: Ambipolar C Shock 3D | ||
| 119 | + run: | | ||
| 120 | + cd $IDEFIX_DIR/test/MHD/AmbipolarCshock3D | ||
| 121 | + ./testme.py -all $TESTME_OPTIONS | ||
| 122 | + - name: Resistive Alfvén wave | ||
| 123 | + run: | | ||
| 124 | + cd $IDEFIX_DIR/test/MHD/ResistiveAlfvenWave | ||
| 125 | + ./testme.py -all $TESTME_OPTIONS | ||
| 126 | + - name: Hall whistler waves | ||
| 127 | + run: | | ||
| 128 | + cd $IDEFIX_DIR/test/MHD/HallWhistler | ||
| 129 | + ./testme.py -all $TESTME_OPTIONS | ||
| 130 | + | ||
| 131 | + Fargo: | ||
| 132 | + needs: [Linter, ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD] | ||
| 133 | + runs-on: self-hosted | ||
| 134 | + steps: | ||
| 135 | + - name: Check out repo | ||
| 136 | + uses: actions/checkout@v3 | ||
| 137 | + with: | ||
| 138 | + submodules: recursive | ||
| 139 | + - name: Fargo + planet | ||
| 140 | + run: | | ||
| 141 | + cd $IDEFIX_DIR/test/HD/FargoPlanet | ||
| 142 | + ./testme.py -all $TESTME_OPTIONS | ||
| 143 | + - name: Fargo MHD spherical | ||
| 144 | + run: | | ||
| 145 | + cd $IDEFIX_DIR/test/MHD/FargoMHDSpherical | ||
| 146 | + ./testme.py -all $TESTME_OPTIONS | ||
| 147 | + | ||
| 148 | + ShearingBox: | ||
| 149 | + needs: [Linter, ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD] | ||
| 150 | + runs-on: self-hosted | ||
| 151 | + steps: | ||
| 152 | + - name: Check out repo | ||
| 153 | + uses: actions/checkout@v3 | ||
| 154 | + with: | ||
| 155 | + submodules: recursive | ||
| 156 | + - name: Hydro shearing box | ||
| 157 | + run: | | ||
| 158 | + cd $IDEFIX_DIR/test/HD/ShearingBox | ||
| 159 | + ./testme.py -all $TESTME_OPTIONS | ||
| 160 | + - name: MHD shearing box | ||
| 161 | + run: | | ||
| 162 | + cd $IDEFIX_DIR/test/MHD/ShearingBox | ||
| 163 | + ./testme.py -all $TESTME_OPTIONS | ||
| 164 | + | ||
| 165 | + SelfGravity: | ||
| 166 | + needs: [Linter, ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD] | ||
| 167 | + runs-on: self-hosted | ||
| 168 | + steps: | ||
| 169 | + - name: Check out repo | ||
| 170 | + uses: actions/checkout@v3 | ||
| 171 | + with: | ||
| 172 | + submodules: recursive | ||
| 173 | + - name: Jeans Instability | ||
| 174 | + run: | | ||
| 175 | + cd $IDEFIX_DIR/test/SelfGravity/JeansInstability | ||
| 176 | + ./testme.py -all $TESTME_OPTIONS | ||
| 177 | + - name: Random sphere spherical | ||
| 178 | + run: | | ||
| 179 | + cd $IDEFIX_DIR/test/SelfGravity/RandomSphere | ||
| 180 | + ./testme.py -all $TESTME_OPTIONS | ||
| 181 | + - name: Random sphere cartesian | ||
| 182 | + run: | | ||
| 183 | + cd $IDEFIX_DIR/test/SelfGravity/RandomSphereCartesian | ||
| 184 | + ./testme.py -all $TESTME_OPTIONS | ||
| 185 | + - name: Uniform spherical collapse | ||
| 186 | + run: | | ||
| 187 | + cd $IDEFIX_DIR/test/SelfGravity/UniformCollapse | ||
| 188 | + ./testme.py -all $TESTME_OPTIONS | ||
| 78 | 189 | ||
| 79 | - VectorPotential: | ||
| 80 | - needs: [Linter, Hydrodynamics, Magneto-Hydrodynamics, MPI] | ||
| 190 | + Planet: | ||
| 191 | + needs: [Linter, ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD] | ||
| 81 | 192 | runs-on: self-hosted | |
| 82 | 193 | steps: | |
| 83 | 194 | - name: Check out repo | |
| 84 | 195 | uses: actions/checkout@v3 | |
| 85 | 196 | with: | |
| 86 | - lfs: true | ||
| 87 | 197 | submodules: recursive | |
| 88 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 89 | - - run: git lfs pull | ||
| 90 | - - name: Run Vector Potential test | ||
| 91 | - run: cd test && ./checks_vector_potential.sh $TEST_OPTIONS | ||
| 198 | + - name: 3 body | ||
| 199 | + run: | | ||
| 200 | + cd $IDEFIX_DIR/test/Planet/Planet3Body | ||
| 201 | + ./testme.py -all $TESTME_OPTIONS | ||
| 202 | + - name: migration | ||
| 203 | + run: | | ||
| 204 | + cd $IDEFIX_DIR/test/Planet/PlanetMigration2D | ||
| 205 | + ./testme.py -all $TESTME_OPTIONS | ||
| 206 | + - name: planet-planet | ||
| 207 | + run: | | ||
| 208 | + cd $IDEFIX_DIR/test/Planet/PlanetPlanetRK42D | ||
| 209 | + ./testme.py -all $TESTME_OPTIONS | ||
| 210 | + - name: spiral wake | ||
| 211 | + run: | | ||
| 212 | + cd $IDEFIX_DIR/test/Planet/PlanetSpiral2D | ||
| 213 | + ./testme.py -all $TESTME_OPTIONS | ||
| 214 | + - name: torques | ||
| 215 | + run: | | ||
| 216 | + cd $IDEFIX_DIR/test/Planet/PlanetTorque3D | ||
| 217 | + ./testme.py -all $TESTME_OPTIONS | ||
| 218 | + - name: RK5 | ||
| 219 | + run: | | ||
| 220 | + cd $IDEFIX_DIR/test/Planet/PlanetsIsActiveRK52D | ||
| 221 | + ./testme.py -all $TESTME_OPTIONS | ||
| 92 | 222 | ||
| 93 | - HighOrder: | ||
| 94 | - needs: [Linter, Hydrodynamics, Magneto-Hydrodynamics, MPI] | ||
| 223 | + Dust: | ||
| 224 | + needs: [Linter, ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD] | ||
| 95 | 225 | runs-on: self-hosted | |
| 96 | 226 | steps: | |
| 97 | 227 | - name: Check out repo | |
| 98 | 228 | uses: actions/checkout@v3 | |
| 99 | 229 | with: | |
| 100 | - lfs: true | ||
| 101 | 230 | submodules: recursive | |
| 102 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 103 | - - run: git lfs pull | ||
| 104 | - - name: Run high order test | ||
| 105 | - run: cd test && ./checks_highorder.sh $TEST_OPTIONS | ||
| 231 | + - name: Energy conservation | ||
| 232 | + run: | | ||
| 233 | + cd $IDEFIX_DIR/test/Dust/DustEnergy | ||
| 234 | + ./testme.py -all $TESTME_OPTIONS | ||
| 235 | + - name: Dusty wave | ||
| 236 | + run: | | ||
| 237 | + cd $IDEFIX_DIR/test/Dust/DustyWave | ||
| 238 | + ./testme.py -all $TESTME_OPTIONS | ||
| 106 | 239 | ||
| 107 | - SinglePrecision: | ||
| 108 | - needs: [Linter, Hydrodynamics, Magneto-Hydrodynamics, MPI] | ||
| 240 | + Braginskii: | ||
| 241 | + needs: [Linter, ShocksHydro, ParabolicHydro, ShocksMHD, ParabolicMHD] | ||
| 109 | 242 | runs-on: self-hosted | |
| 110 | 243 | steps: | |
| 111 | 244 | - name: Check out repo | |
| 112 | 245 | uses: actions/checkout@v3 | |
| 113 | 246 | with: | |
| 114 | - lfs: true | ||
| 115 | 247 | submodules: recursive | |
| 116 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 117 | - - run: git lfs pull | ||
| 118 | - - name: Run single precision test | ||
| 119 | - run: cd test && ./checks_singleprecision.sh $TEST_OPTIONS | ||
| 248 | + - name: MTI | ||
| 249 | + run: | | ||
| 250 | + cd $IDEFIX_DIR/test/MHD/MTI | ||
| 251 | + ./testme.py -all $TESTME_OPTIONS | ||
| 252 | + - name: Spherical anisotropic diffusion | ||
| 253 | + run: | | ||
| 254 | + cd $IDEFIX_DIR/test/MHD/sphBragTDiffusion | ||
| 255 | + ./testme.py -all $TESTME_OPTIONS | ||
| 256 | + - name: Spherical anisotropic viscosity | ||
| 257 | + run: | | ||
| 258 | + cd $IDEFIX_DIR/test/MHD/sphBragViscosity | ||
| 259 | + ./testme.py -all $TESTME_OPTIONS | ||
| 120 | 260 | ||
| 121 | 261 | Examples: | |
| 122 | - needs: [VectorPotential, HighOrder,SinglePrecision] | ||
| 262 | + needs: [Fargo, Dust, Planet, ShearingBox, SelfGravity] | ||
| 123 | 263 | runs-on: self-hosted | |
| 124 | 264 | steps: | |
| 125 | 265 | - name: Check out repo | |
| 126 | 266 | uses: actions/checkout@v3 | |
| 127 | 267 | with: | |
| 128 | - lfs: true | ||
| 129 | 268 | submodules: recursive | |
| 130 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 131 | - - run: git lfs pull | ||
| 132 | 269 | - name: Run examples test | |
| 133 | 270 | run: cd test && ./checks_examples.sh $TEST_OPTIONS | |
| 134 | 271 | ||
| 135 | 272 | Utils: | |
| 136 | - needs: [VectorPotential, HighOrder,SinglePrecision] | ||
| 273 | + needs: [Fargo, Dust, Planet, ShearingBox, SelfGravity] | ||
| 137 | 274 | runs-on: self-hosted | |
| 138 | 275 | steps: | |
| 139 | 276 | - name: Check out repo | |
| 140 | 277 | uses: actions/checkout@v3 | |
| 141 | 278 | with: | |
| 142 | - lfs: true | ||
| 143 | 279 | submodules: recursive | |
| 144 | - # Manually do a git LFS https://github.com/actions/checkout/issues/270 | ||
| 145 | - - run: git lfs pull | ||
| 146 | - - name: Run utils test | ||
| 147 | - run: cd test && ./checks_utils.sh $TEST_OPTIONS | ||
| 280 | + - name: Lookup table | ||
| 281 | + run: | | ||
| 282 | + cd $IDEFIX_DIR/test/utils/lookupTable | ||
| 283 | + ./testme.py -all $TESTME_OPTIONS | ||
| 284 | + - name: Dump Image | ||
| 285 | + run: | | ||
| 286 | + cd $IDEFIX_DIR/test/utils/dumpImage | ||
| 287 | + ./testme.py -all $TESTME_OPTIONS | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,7 +12,7 @@ doc/source/xml/* | |||
| 12 | 12 | ||
| 13 | 13 | # generated files | |
| 14 | 14 | *.log | |
| 15 | - src/gitversion.hpp | ||
| 15 | + src/version.hpp | ||
| 16 | 16 | **/libkokkos.a | |
| 17 | 17 | **/KokkosCore_config.h | |
| 18 | 18 | build | |
@@ -34,6 +34,7 @@ test/**/Makefile | |||
| 34 | 34 | test/**/KokkosCore* | |
| 35 | 35 | test/**/*.csv | |
| 36 | 36 | test/**/*.pyc | |
| 37 | + test/**/*.dat | ||
| 37 | 38 | ||
| 38 | 39 | # machine specific cache and hidden files | |
| 39 | 40 | .* | |
| Back | FazBrowse Home | New Git URL |
0 commit comments