Serious problems compiling ElmerGUI on Ubuntu 20.04

Discussion about building and installing Elmer
Post Reply
otokonohito1982
Posts: 3
Joined: 03 Sep 2020, 21:01
Antispam: Yes

Serious problems compiling ElmerGUI on Ubuntu 20.04

Post by otokonohito1982 »

Hi,

I am facing serious problems compiling ElmerGUI correctly. Managed to get it to work in 16.04 before, but it seems that the current version is simply broken.

Here are the issues:

1) Qt4 is used but no longer supported in 20.04. Run into serious system issues when I force install Qt4. Same with QWT
2) The basic GUI compiles, but I need OCC, which does not work (used to work in 16.04)
3) VTK has version conflict issues with Qt
4) MMG2DSolver/MMG3DSolver causes errors with compilation

Tried many options but none of them seem to work at all.

If anyone has a comprehensive step-by-step instructions to install, it would be great. Need to use ElmerGUI soon.

Thank you so much.
kevinarden
Posts: 653
Joined: 25 Jan 2019, 01:28
Antispam: Yes

Re: Serious problems compiling ElmerGUI on Ubuntu 20.04

Post by kevinarden »

I do not know of any case of ElmerGUI being compiled successfully in Ubuntu 20. Ubuntu 20 doesn't work with Qt4. I even tried to update the ElmerGUI Qt4 code, but Qt quit supporting many of the functions used in ElmerGUI. The only options I could find on Ubuntu 20 was to use a VM. However Ubuntu 20 requires so much more resources than Ubuntu 16, running a Vm on 20 is difficult for my machine. I went back to Ubuntu 16.

I believe, It will be a significant effort for a team to get ElmerGUI working in Ubuntu 20. I am not up to the task.
otokonohito1982
Posts: 3
Joined: 03 Sep 2020, 21:01
Antispam: Yes

Re: Serious problems compiling ElmerGUI on Ubuntu 20.04

Post by otokonohito1982 »

I use 18.04 and run into the same compile issues as 20.04.

Unfortunately, there isn't a Wifi driver that works on the laptop with 16.04. This is such a headache. Have spent a week trying to compile correctly.

In the 16.04 version, the compiler states the libraries, dependencies and version number required, which makes it possible to compile.

In the current version, I have no clue which version to use. There are too many possibilities to try, so how can we make it work?
Post Reply