The recommended way to install Devito uses the Conda package manager for installation of the necessary software dependencies. Please install either Anaconda or Miniconda using the instructions provided at the download links.
To install the editable development version Devito, including examples, tests and tutorial notebooks, please run the following commands:
git clone https://github.com/opesci/devito.git cd devito conda env create -f environment.yml source activate devito pip install -e .
Alternatively, you can also install and run Devito via Docker:
# get the code git clone https://github.com/opesci/devito.git cd devito # run the tests docker-compose run devito /tests # start a jupyter notebook server on port 8888 docker-compose up devito # start a bash shell with devito docker-compose run devito /bin/bash