No ElmerGUI when installed

Discussion about building and installing Elmer
Estiivan
Posts: 25
Joined: 14 Nov 2016, 14:06
Antispam: Yes

No ElmerGUI when installed

Post by Estiivan » 28 Nov 2016, 13:36

Hello,

I think I followed instuctions given viewtopic.php?f=2&t=3742 but in /usr/bin there are no Elmer* files (as there are in another Ubuntu machine where ElmerGUI works) and ElmerGUI does not start. NonGUI test (square.grd) given in the previous webpage works just fine although. But I want to have ElmerGUI. Is easiest way to remove whole installation and start again or is there a shortcut to get GUI starting?

If removing is best option, is 'sudo apt-get remove --auto-remove elmer' the right way to do it?

Sorry for this elementary stuff... I got Elmer working in Windows but Ubuntu seems to be a bit trickier.

Estiivan
Posts: 25
Joined: 14 Nov 2016, 14:06
Antispam: Yes

Re: No ElmerGUI when installed

Post by Estiivan » 28 Nov 2016, 15:31

I gave sudo apt-get remove --auto-remove elmer and got

[sudo] password for elmer:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'elmer' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.
elmer@HP-EliteBook-8540w:~$

So I guess installation was not succesful. But still I was able to run square.grd example with NON-GUI ElmerSolver. Strange?

Estiivan
Posts: 25
Joined: 14 Nov 2016, 14:06
Antispam: Yes

Re: No ElmerGUI when installed

Post by Estiivan » 28 Nov 2016, 15:40

Ah, maybe sudo's remove won't work as I installed it through github?

Estiivan
Posts: 25
Joined: 14 Nov 2016, 14:06
Antispam: Yes

Re: No ElmerGUI when installed

Post by Estiivan » 28 Nov 2016, 15:53

I compiled (make -j4 install) again everything and all goes fine until I try to start ElmerGUI.

Getting Started with ElmerGUI Tutorials
1. At the ElmerGUI directory in ~/elmer/install/share/ directory,copy the contents(.xml files) of edf-extra folder to edf folder

Code: Select all
$ cp ~/elmer/install/share/ElmerGUI/edf-extra/* ~/elmer/install/share/ElmerGUI/edf/

This results: cp: cannot stat '/home/elmer/elmer/install/share/ElmerGUI/edf-extra/*': No such file or directory

What goes wrong? ...

annier
Posts: 1107
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: No ElmerGUI when installed

Post by annier » 29 Nov 2016, 11:13

Estiivan wrote:$cp ~/elmer/install/share/ElmerGUI/edf-extra/* ~/elmer/install/share/ElmerGUI/edf/
Hi Estiivan,
This command assumes that the installed libraries of ElmerGUI is in Home/elmer/install/share/ directory. Are you sure that you have your elmer installed in this way (path)?
For an easy way, you just go to ElmerGUI/edf-extra/ and copy all the xml files with mouse pointer click and paste to ElmerGUI/edf/ . Your questions are related to path related functionalities of Ubuntu OS and is generic to any libraries including Elmer software. Cheers.

Yours Sincerely,
Anil Kunwar

Estiivan
Posts: 25
Joined: 14 Nov 2016, 14:06
Antispam: Yes

Re: No ElmerGUI when installed

Post by Estiivan » 29 Nov 2016, 15:58

Hi Annier,

under ~/elmer/install/share there is only folder elmersolver (not ElmerGUI). ElmerGUI folder is found under ~/elmer/elmerfem/ElmerGUI with contest of:

Application ElmerGUI.pri GPL_EXCEPTION matc README
cmake ElmerGUI.pro LICENSES netgen samples
CMakeLists.txt GPL-2 license_texts PythonQt scripts

I can find edf and edf-extra in ~/elmer/elmerfem/ElmerGUI/Application folder. Should these be under ~/elmer/install/share?

Thanx for patience. :)

With regards,
Estiivan

annier
Posts: 1107
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: No ElmerGUI when installed

Post by annier » 29 Nov 2016, 17:10

Hi Estiivan,
Having elmersolver only in the installed directory, verifies that ElmerGUI is not installed in your Ubuntu system.
You need to reinstall Elmer and make sure that pre-requisites of ElmerGUI have been built successfully.
Below is an attachement figure for the shared libraries of ElmerGUI and elmersolver in Ubuntu 14.04 installed in accordance to viewtopic.php?f=2&t=3742.
Take a step by step procedure to make sure that pre-requisites are built or installed for the required elmer libraries.
elmer_install_directory_picture.jpg
ElmerGUI and elmersolver installation directory
elmer_install_directory_picture.jpg (32.07 KiB) Viewed 2836 times


Yours Sincerely,
Anil Kunwar

Estiivan
Posts: 25
Joined: 14 Nov 2016, 14:06
Antispam: Yes

Re: No ElmerGUI when installed

Post by Estiivan » 30 Nov 2016, 14:49

Thanx Annier,

I deleted the user account on which I had Elmer and made a new account to be able to start from clean table. I followed your instructions in thread 'Installing Elmer in Ubuntu 14.04 using Cmake' but I got some error messages. I put these to that thread ('Installing Elmer in Ubuntu 14.04 using Cmake').

First problem seems to arise that WITH_MPI was checked on by default in Cmake GUI but I guess I don't have that library on computer (how can I get it?). Unchecking caused other problems.

But maybe I am getting closer...

Cheers!

raback
Site Admin
Posts: 3330
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: No ElmerGUI when installed

Post by raback » 30 Nov 2016, 22:22

Hi

For a clean Ubuntu you could try the launchpad, see
https://launchpad.net/~elmer-csc-ubuntu ... er-csc-ppa

-Peter

annier
Posts: 1107
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: No ElmerGUI when installed

Post by annier » 01 Dec 2016, 06:40

Hi Peter,
For installing the Elmer software in PPA (https://launchpad.net/~elmer-csc-ubuntu ... er-csc-ppa), don't we need the following command in the third line?

Code: Select all

    $ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa

Code: Select all

    $ sudo apt-get update

Code: Select all

    $ sudo apt-get install elmerfem-csc
I am asking this in reference to the earlier post, I have made in the following thread viewtopic.php?f=2&t=3653.

Yours Sincerely,
Anil KUnwar

Post Reply