Using launchpad to install Elmer in Ubuntu 16.04

Discussion about building and installing Elmer

Using launchpad to install Elmer in Ubuntu 16.04

Postby annier » 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
Code: Select all
$ sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa


b. Get update
Code: Select all
$ sudo apt-get update


c. Install elmer
Code: Select all
$ sudo apt-get install elmerfem-csc


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

This will produce a promt message in the same terminal as:
Code: Select all
ElmerGUI: /usr/bin/ElmerGUI  /usr/lib/ElmerGUI  /usr/share/ElmerGUI 

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:
Code: Select all
$ sudo -s

Code: Select all
# cp -r /usr/share/ElmerGUI/edf-extra/* /usr/share/ElmerGUI/edf/


f. Run ElmerSolver and ElmerGUI commands:
Code: Select all
$ ElmerGUI

Take one example solver input file of Elmer with mesh define and run ElmerSolver.
Code: Select all
$ ElmerSolver anyname.sif


g. For running Elmer in parallel, use the following command
Code: Select all
$ mpiexec -n 4  ElmerSolver_mpi anyname.sif


If ElmerGUI opens and ElmerSolver starts resulting in solution of the solver input file, then the installation is successful.


Yours Sincerely,
Anil Kunwar
annier
 
Posts: 1034
Joined: 27 Aug 2013, 13:51

Re: Using launchpad to install Elmer in Ubuntu 16.04

Postby shubh_shinde » 14 Aug 2017, 00:51

Hi Anil,
I am using Ubuntu 17.04
after sudo apt-get install elmerfem-csc it says

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package elmerfem-csc

Kindly suggest,
Shubham
shubh_shinde
 
Posts: 3
Joined: 13 Aug 2017, 23:58

Re: Using launchpad to install Elmer in Ubuntu 16.04

Postby axjjienn » 14 Aug 2017, 19:08

Hey Shubham,

What do you get when you
Code: Select all
sudo apt-cache search elmerfem-csc
?

Also, are you sure you did a
Code: Select all
sudo apt-get update
before trying to install the package?

-Alejandro
axjjienn
 
Posts: 4
Joined: 10 Aug 2017, 23:45
Location: San Francisco, CA USA

Re: Using launchpad to install Elmer in Ubuntu 16.04

Postby dacts23 » 28 Aug 2017, 01:32

I am also using Ubuntu 17.04, when I do a cache search of elmerfem-csc I get nothing, but doing one with just "elmer", I get:

  • libgeo-helmerttransform-perl - Transformations between coordinates in different datums
  • elmer-doc - Elmer multiphysics FEA package documentation


What I did was:

Code: Select all
sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa


I made sure I did a

Code: Select all
sudo apt-get update && sudo apt-get install elmerfem-csc


but I only get E: Unable to locate package elmerfem-csc

hopefully someone knows how to solve this issue

-David
dacts23
 
Posts: 1
Joined: 28 Aug 2017, 01:15

Re: Using launchpad to install Elmer in Ubuntu 16.04

Postby annier » 28 Aug 2017, 14:38

Hi Shubham and David,
The message E: Unable to locate package elmerfem-csc means Ubuntu cannot find the Elmer package in launchpad and so i guess till now Elmer version 8.3 is still unavailable for Ubuntu 17.04 owing to the present status of "yet to complete pass in build status". (The Elmer team in my guess, is trying to find the reason for it and they will make it available as soon as or after it passes the build up). However, it can be available for Ubuntu 16.04 or earlier.
For more information, please visit the following site:
https://launchpad.net/~elmer-csc-ubuntu ... /+packages
You can install it once the build status is ticked mark.
Now,
Either (Permanent Measure)
1. Wait for the Elmer team to complete build status in Ubuntu 17.04. It means Elmer version 8.3 has yet to complete pass in building in Ubuntu 17.04.

Or, (Temporary Measure)
Download earlier versions of Elmer (For an example Elmer 8.2) and install in Ubuntu 17.04:
Steps:
1. Download elmerfem-csc-8.2 from https://launchpad.net/~elmer-csc-ubuntu ... hive-extra
2. Install the ppa repository using
Code: Select all
sudo dpkg -i the-file-package-name.deb

*the file package name is the file name of debian package of elmerfem-csc-8.2 that we download from the website.
3. Update and install elmerfem as
Code: Select all
sudo apt-get update && sudo apt-get install elmerfem-csc

4. Once, the build status shows completion and you want to install the version 8.3, you can do so after/by removing elmerfem's older ppa using dpkg -r command.


Yours Sincerely,
Anil Kunwar
annier
 
Posts: 1034
Joined: 27 Aug 2013, 13:51


Return to Installation & compilation

Who is online

Users browsing this forum: No registered users and 2 guests

cron