Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.7 KB

File metadata and controls

50 lines (34 loc) · 1.7 KB

Installation

FESTIM is installed in two steps:
  1. Installing FEniCSx through Anaconda or Docker
  2. Installing FESTIM through pip in the FEniCS environment

Installing FEniCSx

FEniCSx can be installed with Anaconda on MacOs and Linux. In order to use the Anaconda distribution on Windows, use the Windows Subsystem for Linux.

Tip

You can install WSL by running wsl --install on a command prompt window. To launch into WSL, simply enter wsl.

Visual Studio Code is the recommended IDE to use with Windows due to the WSL extension.

First install Anaconda,

Tip

You can install Anaconda on most Linux distributions by entering:

curl -O https://repo.anaconda.com/archive/Anaconda3-2024.06-1-Linux-x86_64.sh
bash ./Anaconda3-2024.06-1-Linux-x86_64.sh

You can install other versions by replacing Anaconda3-2024.06-1-Linux-x86_64.sh with another from the official repository.

then run the following commands:

conda create -n festim-env
conda activate festim-env
conda install -c conda-forge fenics-dolfinx tqdm scifem

Installing FESTIM

This version of FESTIM is under development and is not yet available on PyPI. FESTIM can then be installed using pip:

pip install git+https://github.com/FESTIM-dev/FESTIM@fenicsx