Sign inSign up

geodynamics/pylith

Sponsored OSS

By Computational Infrastructure for Geodynamics

Updated about 7 years ago

Docker containers providing complete PyLith distributions. DEPRECATED. Check manual for new registry

Image
0

10K+

geodynamics/pylith repository overview

These containers are deprecated and only kept for archival purposes.

See https://geodynamics.org/cig/software/pylith and https://github.com/geodynamics/pylith for more information about PyLith and the current availability of containers.

Setup (first time only)

Install Docker: https://www.docker.com/products/docker

Create container to store persistent user data

This container will hold a directory where all your user data can be stored for use with PyLith within Docker. This directory is not directly accessible from your host computer. However, you can copy files to/from your host filesystem using "docker cp".

$ docker create --name pylith-data geodynamics/pylith-data

Run Unix shell within Docker to use PyLith.

$ docker run -ti --volumes-from pylith-data geodynamics/pylith
To enable use of GUI applications, like iceweasel (Firefox), use
$ xhost +local:root
$ XSOCK=/tmp/.X11-unix/X0
$ docker run -ti --volumes-from pylith-data -e DISPLAY=$DISPLAY -v $XSOCK:$XSOCK geodynamics/pylith

The container includes the following useful utilities: * iceweasel (Firefox) web-browser for use with pylith_paramviewer * vim text editor * matplotlib Python plotting package

We do not yet include ParaView due to difficulties associated with rendering on the host display outside the container.

HINT: You will probably want to copy the examples from the pylith-VERSION directory to the data directory, which is the persistent storage.

$ cp -R ~/pylith-VERSION/examples ~/data

Tag summary

Content type

Image

Digest

Size

474.9 MB

Last updated

about 7 years ago

docker pull geodynamics/pylith

This week's pulls

Pulls:

10

Last week