Obtain the FEHM repository. Fempytests are included with the FEHM repository. To obtain the FEHM repository, type the following command into a terminal:
hg clone https://ancho.lanl.gov/fehm/hg/fehm-open
Build FEHM. In a terminal, navigate to fehm-open/source and type the following command:
gmake xfehm -f Makefile.fehm