Skip to content

Commit 08b49ca

Browse files
authored
Version release 0.12.0
Merge dev into main for v0.12.0
2 parents 88ace3c + ff41ae8 commit 08b49ca

File tree

146 files changed

+22993
-1215
lines changed

Some content is hidden

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

146 files changed

+22993
-1215
lines changed

.github/workflows/docs_test.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Test Build the Docs
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: ["ubuntu-22.04"]
12+
steps:
13+
- uses: actions/checkout@v3
14+
- name: Set up python 3.11
15+
uses: actions/setup-python@v3
16+
with:
17+
python-version: "3.11"
18+
- name: debug
19+
run: |
20+
pwd
21+
ls
22+
- uses: mpi4py/setup-mpi@v1
23+
- name: Install dependencies
24+
run: |
25+
pip install --user . mcdc[docs]
26+
pip list
27+
- name: Build the Docs
28+
run: |
29+
cd docs
30+
make html

.github/workflows/manual_publish.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,6 @@ jobs:
3636
python -m pip install --upgrade pip
3737
pip install .
3838
pip install build
39-
- name: Patch Numba
40-
run : |
41-
bash .github/workflows/patch.sh
4239
- name: Build package
4340
run: python -m build
4441
- name: Publish package distributions to PyPI

.github/workflows/patch.sh

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/python-publish.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
deploy:
22-
runs-on: ubuntu-latest
22+
runs-on: ubuntu-22.04
2323
permissions:
2424
id-token: write
2525
steps:
@@ -35,9 +35,6 @@ jobs:
3535
python -m pip install --upgrade pip
3636
pip install .
3737
pip install build
38-
- name: Patch Numba
39-
run : |
40-
bash .github/workflows/patch.sh
4138
- name: Build package
4239
run: python -m build
4340
- name: Publish package distributions to PyPI

.github/workflows/regression_test-numba_cpu.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: ["ubuntu-latest"]
11+
os: ["ubuntu-22.04"]
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up python 3.11
@@ -24,9 +24,6 @@ jobs:
2424
run: |
2525
pip install -e .
2626
pip list
27-
- name: Patch Numba
28-
run : |
29-
bash .github/workflows/patch.sh
3027
- name: Regression Test - Numba
3128
run: |
3229
cd test/regression

.github/workflows/regression_test-numba_cpu_mpi.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: ["ubuntu-latest"]
11+
os: ["ubuntu-22.04"]
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up python 3.11
@@ -24,10 +24,8 @@ jobs:
2424
run: |
2525
pip install -e .
2626
pip list
27-
- name: Patch Numba
28-
run : |
29-
bash .github/workflows/patch.sh
3027
- name: Regression Test - Numba and MPI
3128
run: |
32-
cd test/regression
33-
python run.py --mode=numba --mpiexec=4
29+
cd test/regression
30+
python run.py --mode=numba --mpiexec=4
31+
python run.py --mode=numba --mpiexec=16 --name=slab_reed_dd_3d
Lines changed: 22 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,36 @@
1-
name: Regression test on slef hosted
2-
3-
runs-on: self-hosted
1+
name: GPU regression test
42

53
on: [push, pull_request]
64

75
jobs:
86
build:
9-
runs-on: ${{ matrix.os }}
10-
strategy:
11-
fail-fast: false
12-
matrix:
13-
os: ["ubuntu-latest"]
7+
runs-on: self-hosted
148
steps:
159
- uses: actions/checkout@v3
16-
- name: Set up python 3.11
17-
uses: actions/setup-python@v3
18-
with:
19-
python-version: "3.11"
20-
- name: debug
10+
- name: Load modules and build python venv
2111
run: |
2212
pwd
23-
ls
24-
- uses: mpi4py/setup-mpi@v1
25-
- name: Install dependencies
13+
cd ..
14+
pwd
15+
module load cuda/11.8 gcc/10.3 mpich/4.0h_gcc-10 python/3.11
16+
rm -rf ci_testing
17+
python -m venv ci_testing
18+
module unload python/3.11
19+
source ci_testing/bin/activate
20+
pip install --upgrade pip
21+
pwd
22+
- name: Install MC/DC and Harmonize
2623
run: |
24+
source ../ci_testing/bin/activate
25+
pwd
26+
pip install -e .
27+
git clone https://github.com/CEMeNT-PSAAP/harmonize.git
28+
cd harmonize
2729
pip install -e .
28-
pip list
29-
- name: Patch Numba
30-
run : |
31-
bash .github/workflows/patch.sh
32-
- name: Regression Test - Numba
30+
cd ..
31+
- name: Regression Test - GPU
3332
run: |
33+
pwd
34+
source ../ci_testing/bin/activate
3435
cd test/regression
3536
python run.py --mode=numba --target=gpu

.github/workflows/regression_test-python.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: ["ubuntu-latest"]
11+
os: ["ubuntu-22.04"]
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up python 3.11
@@ -24,9 +24,6 @@ jobs:
2424
run: |
2525
pip install -e .
2626
pip list
27-
- name: Patch Numba
28-
run : |
29-
bash .github/workflows/patch.sh
3027
- name: Regression Test - Python
3128
run: |
3229
cd test/regression

.github/workflows/regression_test-python_mpi.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: ["ubuntu-latest"] #, "macos-latest"
11+
os: ["ubuntu-22.04"] #, "macos-latest"
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up python 3.11
@@ -24,10 +24,8 @@ jobs:
2424
run: |
2525
pip install -e .
2626
pip list
27-
- name: Patch Numba
28-
run : |
29-
bash .github/workflows/patch.sh
3027
- name: Regression Test - MPI
3128
run: |
3229
cd test/regression
3330
python run.py --mpiexec=4
31+
python run.py --mpiexec=16 --name=slab_reed_dd_3d

.github/workflows/unit_test.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
os: ["ubuntu-latest"]
11+
os: ["ubuntu-22.04"]
1212
steps:
1313
- uses: actions/checkout@v3
1414
- name: Set up python 3.11
@@ -26,9 +26,6 @@ jobs:
2626
pip install numpy numba h5py matplotlib scipy pytest colorama mpi4py ngsolve distinctipy
2727
pip list
2828
pip install -e .
29-
- name: Patch Numba
30-
run : |
31-
bash .github/workflows/patch.sh
3229
- name: Unit Test
3330
run : |
34-
pytest
31+
pytest

0 commit comments

Comments
 (0)