Skip to content

kramergroup/jupyter-pyvista

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jupyter PyVista Container

This container provides a Jupyter Notebook server for scientific visualisation. It contains:

  • The JupyterHub SciPy environment (NumPy, SciPy, etc.)
  • The PyVista interface to the powerful VTK visualisation environment

GPU acceleration

For portabililty, the container does not utilise any type of hardware acceleration by default. Rendering relies on Mesa and Xvfb.

There is, however, a variant that can utilise Nvidia GPU cards. To build the Nvidia-enabled container use

docker build -f Dockerfile.nvidia -t jupyter-pyvista-nvidia .

This container does *not contain the Nvidia device drivers. Rather it expects that these are mounted from the host as is done by the Kubernetes device plugin. By default, the driver files should be mounted to /usr/local/nvidia. This can be changed by adjusting the NVIDIA_PATH environment variable.

!!! note The hardware accelerated container relies on a standard X11 server (rather than Xvfb). This requires access to at tty and the container needs to run in privileged mode.

About

A Jupyter Container for Scientific Visualisations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published