Trinh @ Bath

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
it_firedrake [2025/04/07 16:05]
trinh created
it_firedrake [2025/04/08 13:00] (current)
trinh
Line 64: Line 64:
 firedrake-check firedrake-check
 </code> </code>
 +
 +===== Exploring Firedrake using jupyter =====
 +
 +Documentation is taken from here: https://www.firedrakeproject.org/firedrake/notebooks.html
 +
 +Make sure you're working within the firedrake virtual environment: 
 +<code>
 +python3 -m venv venv-firedrake
 +source venv-firedrake/bin/activate
 +</code>
 +
 +Install Jupyter
 +<code>
 +python3 -m pip install jupyter
 +</code>
 +
 +For some reason, when I did this previously, the import firedrake command did not work in Jupyter. I quit Jupyter, tried 
 +<code>
 +python3 -m pip install firedrake
 +</code>
 +
 +and this seemed to do the trick, after re-starting the kernel. 
 +