Page 1 of 1

Install ElmerGui on CentOS 7

Posted: 05 Dec 2019, 13:38
by TbsMrks
Hello,

I compiled Elmer from https://github.com/ElmerCSC/elmerfem/
Everything worked fine and I now have and can execute the ElmerGrid and ElmerSolver binaries.

I would like to compile Elmer-Gui but the Read me at https://github.com/ElmerCSC/elmerfem/tr ... l/ElmerGUI does not seem to be up to date.

What am I missing? Thank you in advanced

Best regards

Tobias

Re: Install ElmerGui on CentOS 7

Posted: 06 Dec 2019, 01:18
by kevinarden
I have tried and failed many times to compile ElmerGUI, the dependicies are many, and the particular versions of the dependecies are specific. Compiling ElmerGUI is very unlikely. The only way to succesfully run elmerGui under Redhat, fedora, etc. I know of is through a VM

http://www.nic.funet.fi/pub/sci/physics ... lMachines/

Re: Install ElmerGui on CentOS 7

Posted: 21 Feb 2023, 21:16
by poltushima
Great to see that you're already getting your hands dirty with Elmer. Kudos to you for compiling everything and getting the ElmerGrid and ElmerSolver binaries up and running.

Re: Install ElmerGui on CentOS 7

Posted: 21 Feb 2023, 22:17
by kevinarden
ElmerGUI requires many pre-requisites and a decision about using qt4 or qt5

Probably at least need

sudo apt install build-essential gfortran libopenmpi-dev libblas-dev liblapack-dev
sudo apt install libqt4-dev libqwt-dev
sudo apt install libqt5opengl5-dev
sudo apt install qtscript5-dev
sudo apt install libqt5svg5-dev
sudo apt install qt5-default qtscript5-dev libqwt-qt5-dev
sudo apt install cmake cmake-qt5 gcc g++ gfortran qt5-default qtscript5-dev libqwt-qt5-dev libmpich-dev libblas-dev liblapack-dev libqt5svg5-dev libnetcdff-dev libmetis-dev libparmetis-dev libmumps-dev netcdf-bin

and if using qt5 use -DWITH_QT5=TRUE in the make command