Disclaimer: I have never used or built Elmer >From the Elmer wiki at http://www.elmerfem.org/elmerwiki/index.php?title=Compilation_of_Elmer_on_Linux_using_Cmake :
[...] "Furthermore, ElmerGUI will be compiled - this expects the "devel" versions of OpenCascade, QWT and a binary (should the post-processing link work) of ParaView to be installed. Clearly, the user also has to take care that the GNU C (gcc), Fortran (gfortran) and C++ (g++) alongside a MPI library (e.g. OpenMPI) is installed on the system." [...]