Skip to content

Commit ef774f3

Browse files
committed
Merge branch 'master' into neuralpint
2 parents a101f29 + f5597f1 commit ef774f3

File tree

90 files changed

+6550
-989
lines changed

Some content is hidden

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

90 files changed

+6550
-989
lines changed

.github/workflows/ci_pipeline.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
environment-file: ${{ env.YML }}
2727
create-args: >-
28-
python=3.12
28+
python=3.13
2929
- name: Code reformatting with black
3030
run: |
3131
black pySDC --check --diff --color
@@ -39,7 +39,7 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
env: ['base', 'fenics', 'mpi4py', 'petsc', 'pytorch']
42-
python: ['3.9', '3.10', '3.11', '3.12']
42+
python: ['3.9', '3.10', '3.11', '3.12', '3.13']
4343
defaults:
4444
run:
4545
shell: bash -l {0}
@@ -70,7 +70,7 @@ jobs:
7070
mv .coverage coverage_${{ matrix.env }}.dat
7171
- name: Uploading artifacts
7272
uses: actions/upload-artifact@v4
73-
if: matrix.python == '3.12'
73+
if: matrix.python == '3.13'
7474
with:
7575
name: test-artifacts-cpu-${{ matrix.env }}
7676
path: |
@@ -98,7 +98,6 @@ jobs:
9898
- Second_orderSDC
9999
- soft_failure
100100
- TOMS
101-
python: ['3.9', '3.10', '3.11', '3.12']
102101
defaults:
103102
run:
104103
shell: bash -l {0}
@@ -109,8 +108,6 @@ jobs:
109108
uses: mamba-org/setup-micromamba@v1
110109
with:
111110
environment-file: "pySDC/projects/${{ matrix.env }}/environment.yml"
112-
create-args: >-
113-
python=${{ matrix.python }}
114111
- name: Install additional packages as needed
115112
run: |
116113
micromamba install -y --file etc/environment-tests.yml --freeze-installed
@@ -126,7 +123,6 @@ jobs:
126123
mv .coverage coverage_${{ matrix.env }}.dat
127124
- name: Uploading artifacts
128125
uses: actions/upload-artifact@v4
129-
if: matrix.python == '3.12'
130126
with:
131127
name: test-artifacts-project-${{ matrix.env }}
132128
path: |
@@ -203,7 +199,6 @@ jobs:
203199
run: |
204200
. venv-pySDC/bin/activate
205201
pip install -e /repositories/pySDC
206-
pip install qmat
207202
# test installation
208203
python -c "import pySDC; print(f'pySDC module: {pySDC}')"
209204
- name: Install gusto

.gitlab-ci.yml

Lines changed: 2 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,8 @@ prepare_JUWELS:
2727
- shell
2828
script:
2929
- mkdir -p benchmarks
30-
- module --force purge
31-
- module load Stages/2024
32-
- module load GCC
33-
- module load OpenMPI
34-
- module load FFTW
35-
- module load mpi4py
36-
- module load SciPy-Stack
37-
- module load CuPy
3830
- jutil env activate -p ${JUWELS_PROJECT}
39-
- python -m venv --clear $SCRATCH/.venv/pySDC
40-
- source $SCRATCH/.venv/pySDC/bin/activate
41-
- pip install -e .
42-
- pip install pytest-benchmark coverage
43-
- git submodule add -f https://github.com/brownbaerchen/mpi4py-fft.git
44-
- cd mpi4py-fft
45-
- git checkout cupy_implementation
46-
- FFTW_LIBRARY_DIR="/p/software/juwels/stages/2024/software/FFTW/3.3.10-GCC-12.3.0/lib64" pip install --force-reinstall .
47-
- cd ../
31+
- source ./etc/venv_juwels/setup.sh
4832

4933

5034
test_JUWELS:
@@ -77,16 +61,8 @@ test_JUWELS:
7761
- sbatch.out
7862
before_script:
7963
- mkdir -p benchmarks
80-
- module --force purge
81-
- module load Stages/2024
82-
- module load GCC
83-
- module load OpenMPI
84-
- module load FFTW
85-
- module load mpi4py
86-
- module load SciPy-Stack
87-
- module load CuPy
8864
- jutil env activate -p ${JUWELS_PROJECT}
89-
- source $SCRATCH/.venv/pySDC/bin/activate
65+
- source ./etc/venv_juwels/activate.sh
9066
script:
9167
- bash etc/check_node_avail.sh || PARTITION_AVAIL=$?
9268
- if [ -n "$PARTITION_AVAIL" ] ; then exit $PARTITION_AVAIL ; fi

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ and innovation programme and Belgium, France, Germany, and Switzerland.
118118
This project also received funding from the [German Federal Ministry of
119119
Education and Research](https://www.bmbf.de/bmbf/en/home/home_node.html)
120120
(BMBF) grants 16HPC047 and 16ME0679K. Supported by the European Union - NextGenerationEU.
121-
The project also received help from the [Helmholtz Platform for Research Software Engineering - Preparatory Study (HiRSE_PS)](https://www.helmholtz-hirse.de/).
121+
The project also received help from the [Joint Lab "Helmholtz Information - Research Software Engineering" (HiRSE)](https://www.helmholtz-hirse.de/).
122122

123123
<p align="center">
124124
<img src="./docs/img/EuroHPC.jpg" height="105"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Tutorial
2525
tutorial/step_6.rst
2626
tutorial/step_7.rst
2727
tutorial/step_8.rst
28+
tutorial/step_9.rst
2829

2930
Playgrounds
3031
-----------
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Full code: `pySDC/tutorial/step_9/A_paradiag_for_linear_problems.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_9/A_paradiag_for_linear_problems.py>`_
2+
3+
.. literalinclude:: ../../../pySDC/tutorial/step_9/A_paradiag_for_linear_problems.py
4+
5+
Results:
6+
7+
.. literalinclude:: ../../../data/step_9_A_out.txt
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Full code: `pySDC/tutorial/step_9/B_paradiag_for_nonlinear_problems.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_9/B_paradiag_for_nonlinear_problems.py>`_
2+
3+
.. literalinclude:: ../../../pySDC/tutorial/step_9/B_paradiag_for_nonlinear_problems.py
4+
5+
Results:
6+
7+
.. literalinclude:: ../../../data/step_9_B_out.txt
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Full code: `pySDC/tutorial/step_9/C_paradiag_in_pySDC.py <https://github.com/Parallel-in-Time/pySDC/blob/master/pySDC/tutorial/step_9/C_paradiag_in_pySDC.py>`_
2+
3+
.. literalinclude:: ../../../pySDC/tutorial/step_9/C_paradiag_in_pySDC.py
4+
5+
Results:
6+
7+
.. literalinclude:: ../../../data/step_9_C_out.txt

docs/source/tutorial/step_9.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. include:: /../../pySDC/tutorial/step_9/README.rst

etc/environment-fenics.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ dependencies:
99
- matplotlib>=3.0
1010
- dill>=0.2.6
1111
- fenics>=2019.1.0
12-
- mpi4py<=3.1.4
12+
- mpi4py
1313
- pip
1414
- pip:
1515
- qmat>=0.1.8

etc/juwels_benchmark.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#SBATCH --account=cstma
33
#SBATCH --nodes=1
44
#SBATCH --time=00:10:00
5-
#SBATCH --partition=devel
5+
#SBATCH --partition=develgpus
66
#SBATCH --output=sbatch.out
77
#SBATCH --error=sbatch.err
88

0 commit comments

Comments
 (0)