Installation#
Conda#
The easiest way is using conda. First, add conda-forge to your channels with:
conda config --add channels conda-forge
conda config --set channel_priority strict
Once the conda-forge channel has been enabled, gyptis can be installed with:
conda install gyptis
Alternatively, we provide an environment.yml file with all the dependencies for the master branch. First create the environment:
conda env create -f environment.yml
and then activate it with
conda activate gyptis
See the github repository where development happens for conda-forge.
Pipy#
The package is available on pipy. To install, use:
pip install gyptis
Note
This does not install FeniCS, which should be built separately (see instructions)
Docker#
Prebuilt container images are available at DockerHub
A quick way of testing is to get the installation script
curl -s https://gyptis.gitlab.io/get | bash
You will then be able to run the container with
gyptis run
Alternatively, you can pull the docker image
docker pull gyptis/gyptis:latest
To run the image, use
docker run -it gyptis/gyptis:latest
From source#
git clone https://gitlab.com/gyptis/gyptis.git
cd gyptis && pip install -e .