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 Apr 17, 2024
1 parent d106777 commit 23caf2e
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 @@ -57,12 +57,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 @@ -86,6 +86,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 @@ -96,6 +98,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 @@ -112,6 +115,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 23caf2e

Please sign in to comment.