You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FROM registry.gitlab.inria.fr/mgenet/dolfin_warp-tutorials:latest
9
+
# FROM registry.gitlab.inria.fr/mgenet/dolfin_warp-tutorials:latest
10
+
FROM ghcr.io/mgenet/dolfin_warp-tutorials:latest
10
11
11
12
# Copy repo into the image, cf. https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html. MG20230531: OMG this copies from the "build context", cf. https://stackoverflow.com/questions/73156067/where-does-the-copy-command-in-docker-copy-from; here it seems to be the repo itself.
12
13
ARG NB_USER=jovyan
13
14
ARG NB_UID=1000
14
15
USER ${NB_USER}
15
16
ENV HOME /home/${NB_USER}
16
17
COPY --chown=${NB_UID} . ${HOME}
18
+
19
+
# MG20250418: Somehow repo2docker does not seem to take into account the environment variable defined in environment.yml…
Copy file name to clipboardExpand all lines: .repo2docker/environment.yml
+17-30Lines changed: 17 additions & 30 deletions
Original file line number
Diff line number
Diff line change
@@ -13,16 +13,23 @@ channels:
13
13
- defaults
14
14
15
15
dependencies:
16
-
# python
17
-
- mpi4py=3.1.3 # MG20220906: To avoid mpi warnings in FEniCS, cf. https://fenicsproject.discourse.group/t/runtimewarning-mpi4py-mpi-file-size-changed-may-indicate-binary-incompatibility-expected-32-from-c-header-got-40-from-pyobject-def-compile-class-cpp-data-mpi-comm-mpi-comm-world/6496 # MG20220906: Note that 3.0.3 leads to a `RuntimeError: Error when importing mpi4py`, but 3.1.3 seems to work.
16
+
# dolfin_warp
17
+
- expat=2.5
18
+
- fenics=2019.1.0
19
+
- gnuplot=5.4
20
+
- matplotlib=3.5
21
+
- meshio=5.3
22
+
- mpi4py=3.1.3
18
23
- numpy=1.21.6 # MG20221220: later numpy versions seem incompatible with itkwidgets 0.32
19
-
- python=3.8
24
+
- pandas=1.3
25
+
- python=3.10
20
26
- scipy=1.9
21
-
- sympy=1.9
27
+
- vtk=9.2
22
28
23
29
# jupyter
24
-
- ipywidgets=7.6 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
25
-
- itkwidgets=0.32
30
+
- ipydatawidgets=4.3.2
31
+
- ipywidgets=7.6.5 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
32
+
- itkwidgets=0.32.6
26
33
# MG20240123: Specified all these versions based on the 2023 build to get ipywidgets and itkwidgets to properly interact
27
34
- jupyter=1.0.0
28
35
- jupyter_client=7.4.8
@@ -36,33 +43,13 @@ dependencies:
36
43
- jupyter_server=2.0.6
37
44
- jupyter_server_terminals=0.4.3
38
45
# MG20240123: Specified all these versions based on the 2023 build to get ipywidgets and itkwidgets to properly interact
39
-
- jupyterlab=3.5 # MG20230602: This seems to be needed as well, otherwise jupyter does not start on binder
40
-
- notebook=6.4 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
41
-
42
-
# coding stuff
43
-
- git=2.39
44
-
45
-
# computing stuff
46
-
- expat=2.5
47
-
- fenics=2019.1.0
48
-
- vtk=9.0 # MG20201223: Need to correspond to the environment variable CPATH # MG20220628: Apparently there is some kind of conflict between vtk9.1 & libstdc++.so.6 in Ubuntu 20.04… # MG20221220: Apparently there is some kind of conflict between vtk9.1 & itkwidgets 0.32…
49
-
50
-
# plotting stuff
51
-
- matplotlib=3.5
52
-
- gnuplot=5.4
46
+
- jupyterlab=3.5.2 # MG20230602: This seems to be needed as well, otherwise jupyter does not start on binder
47
+
- notebook=6.4.6 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
48
+
- traitlets=5.6.0 # MG20221226: cf. https://github.com/InsightSoftwareConsortium/itkwidgets/pull/590/files # MG20230601: Somehow this is still needed, despite the updated itkwidgets version…
53
49
54
50
- pip
55
51
- pip:
56
-
# python
57
-
- numpy==1.21.6 # MG20240605: meshio seems to be installing a newer numpy…
58
-
- zstd
59
-
60
-
# computing stuff
61
-
- gmsh==4.9.0
62
-
- meshio==5.3.4
63
-
64
-
# tracking stuff
65
52
- dolfin_warp
66
53
67
54
variables:
68
-
CPATH: /srv/conda/envs/notebook/include/vtk-9.0
55
+
CPATH: /srv/conda/envs/notebook/include/vtk-9.2 # MG20250418: Somehow repo2docker does not seem to take into account the environment variable defined in environment.yml…
Copy file name to clipboardExpand all lines: .repo2docker/postBuild
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,8 @@ cd
20
20
echo "alias ll=\"ls -l\"" >> ~/.bash_aliases
21
21
echo "alias la=\"ls -la\"" >> ~/.bash_aliases
22
22
23
+
export CPATH=$CPATH:"/srv/conda/envs/notebook/include/vtk-9.2" # MG20250418: Somehow repo2docker does not seem to take into account the environment variable defined in environment.yml, but this does not work…
Main library can be found at [https://gitlab.inria.fr/mgenet/dolfin_warp](https://gitlab.inria.fr/mgenet/dolfin_warp).
3
+
Main library can be found at [https://github.com/mgenet/dolfin_warp](https://github.com/mgenet/dolfin_warp).
4
4
5
-
Tutorials can be browsed statically but also interactively—to start a session and run the code just click on the rocket icon at the top of a tutorial page and then click on Binder.
5
+
Tutorials can be browsed statically but also interactively—to start a session and run the code just click on the rocket icon at the top of a tutorial page and then click on "Binder".
6
+
You can also launch a JupyterLab session with all tutorials: [](https://mybinder.org/v2/gh/mgenet/dolfin_warp-tutorials/main?urlpath=lab/tree/./tutos) (no download required).
0 commit comments