Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump version to 0.4.1 #77

Merged
merged 1 commit into from
May 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
container: dokken92/dolfinx_custom:02052022
container: dokken92/dolfinx_custom:v0.4.1

env:
HDF5_MPI: "ON"
CC: mpicc
HDF5_DIR: "/usr/lib/x86_64-linux-gnu/hdf5/mpich/"
HDF5_DIR: "/usr/local/"
DISPLAY: ":99.0"
PYVISTA_OFF_SCREEN: true

Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/docker-image.yml

This file was deleted.

2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM dokken92/dolfinx_custom:02052022
FROM dokken92/dolfinx_custom:v0.4.1

# create user with a home directory
ARG NB_USER
Expand Down
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM dolfinx/lab:v0.4.0
FROM dolfinx/lab:v0.4.1

WORKDIR /tmp/

ADD requirements.txt /tmp/requirements.txt

# Install dependencies
RUN HDF5_MPI="ON" HDF5_DIR="/usr/lib/x86_64-linux-gnu/hdf5/mpich/" CC=mpicc pip3 install --no-cache-dir -r requirements.txt
RUN HDF5_MPI="ON" HDF5_DIR="/usr/local/" CC=mpicc pip3 install --no-cache-dir -r requirements.txt

# Activate plotting
RUN jupyter nbextension enable --py --sys-prefix ipygany
Expand Down
4 changes: 4 additions & 0 deletions docker/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,11 @@ pandas

# Visualization with Pyvista
matplotlib

# Until VTK is released with wheels for python 3.10
--find-links https://wheels.pyvista.org/
pyvista

pythreejs
ipygany

Expand Down
4 changes: 2 additions & 2 deletions fem.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ Docker is a software that uses *containers* to supply software across different
All notebooks can be converted to python files using [nbconvert](https://nbconvert.readthedocs.io/en/latest/).

### Tutorial compatible docker images
The tutorial uses several dependencies for meshing, plotting and timings. A compatible `JupyterLab` image is available at [DockerHub/dokken92/dolfinx_custom:labv0.4.0](https://hub.docker.com/r/dokken92/dolfinx_custom/tags)
The tutorial uses several dependencies for meshing, plotting and timings. A compatible `JupyterLab` image is available at [DockerHub/dokken92/dolfinx_custom:v0.4.1](https://hub.docker.com/r/dokken92/dolfinx_custom/tags)

To use the notebookes in this tutorial with DOLFINx on your own computer, you should use the docker image using the following command
```
docker run --init -p 8888:8888 -v "$(pwd)":/root/shared dokken92/dolfinx_custom:labv0.4.0
docker run --init -p 8888:8888 -v "$(pwd)":/root/shared dokken92/dolfinx_custom:v0.4.1
```
The tutorials can also be exported as a notebook or PDF by clicking the ![Download](save.png)-symbol in the top right corner of the relevant tutorialThe notebook can in turn be used with a Python kernel which has DOLFINx.

Expand Down