Finite element seminar

Installation of Firedrake

If the advice below is not enough, you might go to Firedrake’s installation debugging flowchart.

Thanks Stefano!

Back to main page.

Firedrake on Google Colab

  1. Navigate to fem-on-colab.github.io and choose the Packages tab
  2. Scroll down to firedrake. Copy the block of Python under “Real Mode”.
  3. Go to Google colab at https://colab.research.google.com/
  4. In the pop-up window choose “+ New notebook”.
  5. Paste the block of Python into the first cell.
  6. Hit shift-enter. Stuff will be generated. After about a minute the spinny thing should stop.
  7. Into the next cell type from firedrake import * and shift-enter. This should give no warnings or errors. Look for a green checkmark! You have Firedrake!
  8. As a further test and demo, copying my start.py script from https://raw.githubusercontent.com/bueler/fe-seminar/main/py/start.py into a cell and shift-enter should cause no warnings or errors, and it should produce a nice figure!

Firedrake on Linux/MacOS

Firedrake on Windows