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