Here we will explain the steps needed to install fenics development version on ex3 (the HPC cluster at Simula).
Note that the recipe here is rather general and could probalby be adopted to most HPC systems. Note that at the time of writing there is an open PR to add FEniCS devlopment version, and this has to merged (or you need to use my fork) to make it work.
First we need a working C and Fortran compiler before installing anything. To get this I used
module purge