Skip to content

Commit

Permalink
DROP: check notebook-08
Browse files Browse the repository at this point in the history
  • Loading branch information
ksagiyam committed May 7, 2024
1 parent 2fa4c89 commit 954c102
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,12 @@ jobs:
rm -rf firedrake_venv
- name: Build Firedrake
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
cd ..
# Linting should ignore unquoted shell variable $COMPLEX
# shellcheck disable=SC2086
./firedrake/scripts/firedrake-install \
$COMPLEX \
--honour-petsc-dir \
--mpicc="$MPICH_DIR"/mpicc \
--mpicxx="$MPICH_DIR"/mpicxx \
--mpif90="$MPICH_DIR"/mpif90 \
Expand All @@ -87,6 +87,8 @@ jobs:
--install asQ \
--package-branch tsfc ksagiyam/introduce_mixed_map \
--package-branch ufl ksagiyam/introduce_mixed_map \
--package-branch petsc ksagiyam/merge_upstream \
--package-branch slepc ksagiyam/merge_upstream \
|| (cat firedrake-install.log && /bin/false)
- name: Install test dependencies
run: |
Expand All @@ -97,6 +99,7 @@ jobs:
python -m pip list
- name: Test Firedrake
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
. ../firedrake_venv/bin/activate
echo OMP_NUM_THREADS is "$OMP_NUM_THREADS"
echo OPENBLAS_NUM_THREADS is "$OPENBLAS_NUM_THREADS"
Expand All @@ -113,6 +116,7 @@ jobs:
- name: Test pyadjoint
if: ${{ matrix.scalar-type == 'real' }}
run: |
unset PETSC_DIR PETSC_ARCH SLEPC_DIR
. ../firedrake_venv/bin/activate
cd ../firedrake_venv/src/pyadjoint
python -m pytest \
Expand Down
8 changes: 4 additions & 4 deletions docs/notebooks/08-composable-solvers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1236,10 +1236,10 @@
"metadata": {},
"outputs": [],
"source": [
"#w.assign(0)\n",
"#solver = create_solver(vanka_parameters)\n",
"#solver.solve()\n",
"#convergence(solver)"
"w.assign(0)\n",
"solver = create_solver(vanka_parameters)\n",
"solver.solve()\n",
"convergence(solver)"
]
},
{
Expand Down

0 comments on commit 954c102

Please sign in to comment.