Using launchpad to install Elmer in Ubuntu 16.04
Posted: 09 Dec 2016, 17:21
Installation of Elmer in Ubuntu 16.04 using Launchpad or ppa repository (This can install GUI of Elmer along with other modules)
There is this way to install ElmerNonGui in Ubuntu 14.04 and Ubuntu 16.04 as mentioned in this reference
a. First add ppa repository of elmer
b. Get update
c. Install elmer
Ubuntu 14.04, Ubuntu 16.04
Ubuntu 18.04
Without ElmerGUI
or,
With ElmerGUI
References:
1. https://github.com/ElmerCSC/elmerfem/wiki/Packages
2. viewtopic.php?f=2&t=5607
This will finish the installation of elmer in Ubuntu.
The xml files for solvers of installed ElmerGUI has to be copied from edf-extra to edf directory.
For this, we need to find the location of ElmerGUI,
d. Type and find out the location of ElmerGUI
This will produce a promt message in the same terminal as:
The edf-extra and edf directories are located in /usr/share location.
e. Copy the xml files from edf-extra directory to edf directory as root user:
f. Run ElmerSolver and ElmerGUI commands:
Take one example solver input file of Elmer with mesh define and run ElmerSolver.
g. For running Elmer in parallel, use the following command
If ElmerGUI opens and ElmerSolver starts resulting in solution of the solver input file, then the installation is successful.
Yours Sincerely,
Anil Kunwar
There is this way to install ElmerNonGui in Ubuntu 14.04 and Ubuntu 16.04 as mentioned in this reference
a. First add ppa repository of elmer
Code: Select all
$ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
Code: Select all
$ sudo apt-get update
Ubuntu 14.04, Ubuntu 16.04
Code: Select all
$ sudo apt-get install elmerfem-csc
Without ElmerGUI
Code: Select all
$ sudo apt-get install elmerfem-csc
or,
With ElmerGUI
Code: Select all
$ sudo apt-get install elmerfem-csc-eg
References:
1. https://github.com/ElmerCSC/elmerfem/wiki/Packages
2. viewtopic.php?f=2&t=5607
This will finish the installation of elmer in Ubuntu.
The xml files for solvers of installed ElmerGUI has to be copied from edf-extra to edf directory.
For this, we need to find the location of ElmerGUI,
d. Type and find out the location of ElmerGUI
Code: Select all
$ whereis ElmerGUI
Code: Select all
ElmerGUI: /usr/bin/ElmerGUI /usr/lib/ElmerGUI /usr/share/ElmerGUI
e. Copy the xml files from edf-extra directory to edf directory as root user:
Code: Select all
$ sudo -s
Code: Select all
# cp -r /usr/share/ElmerGUI/edf-extra/* /usr/share/ElmerGUI/edf/
Code: Select all
$ ElmerGUI
Code: Select all
$ ElmerSolver anyname.sif
Code: Select all
$ mpiexec -n 4 ElmerSolver_mpi anyname.sif
Yours Sincerely,
Anil Kunwar