Skip to content

Commit

Permalink
Merge pull request #1923 from devitocodes/mpi_notebook_refresh
Browse files Browse the repository at this point in the history
examples: Update MPI tutorial notebook and scripts
  • Loading branch information
FabioLuporini authored Jun 7, 2022
2 parents 45c75a7 + af10183 commit 5e0f6d0
Show file tree
Hide file tree
Showing 5 changed files with 486 additions and 385 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/examples-mpi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,16 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .
pip install -e .[extras,mpi]
- name: Test mpi notebooks
run : |
# Currently not tested due to issue #859
# ipcluster start --profile=mpi -n 4 --daemon
# py.test --nbval examples/mpi
# ipcluster stop --profile=mpi
./scripts/create_ipyparallel_mpi_profile.sh
ipcluster start --profile=mpi --engines=mpi -n 4 --daemonize
# A few seconds to ensure workers are ready
sleep 20
py.test --nbval examples/mpi
ipcluster stop --profile=mpi
- name: Test seismic examples
run: |
Expand Down
Loading

0 comments on commit 5e0f6d0

Please sign in to comment.