FEniCS on Tegner

Tegner is a computer accessible through PDC, which can be used to run more demanding computations using FEniCS. To access Tegner you need to get PDC access. If you want access to PDC, apply for a username and contact me so that I can apply for core hours for you. 

Below follows a description by Hannes of how to set up a FEniCS environment on Tegner: 

-----

mkdir Private/my-fenics-project
cd Private/my-fenics-project

module add anaconda/py37/5.0.1 boost/1.71.0-gcc-8.2.0

conda create -p ./my-fenics-env -c conda-forge fenics

source activate ./my-fenics-env

conda install -c conda-forge mshr
conda install -c conda-forge matplotlib

// run test file on login node 
python stokes-fenics-test.py

// run test file in parallel

sbatch fenics-job.sh

-----

Demo files: stokes-fenics-test.py Download stokes-fenics-test.py, fenics-job.sh Download fenics-job.sh