Install ElmerGui on CentOS 7

Discussion about building and installing Elmer
Post Reply
TbsMrks
Posts: 3
Joined: 05 Dec 2019, 13:33
Antispam: Yes

Install ElmerGui on CentOS 7

Post 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
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Install ElmerGui on CentOS 7

Post 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/
poltushima
Posts: 1
Joined: 21 Feb 2023, 21:08
Antispam: Yes

Re: Install ElmerGui on CentOS 7

Post 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.
kevinarden
Posts: 2237
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Install ElmerGui on CentOS 7

Post 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
Post Reply