Page 1 of 1

Elmer ice install

Posted: 13 Dec 2018, 17:55
by AndaLi
I'm new user of elmerice. I want to know how to install the Elmer/Ice ? Is there a detailed tutorials on Ubuntu 16.04.
I refer the link ... ationcmake
But it always failed.
Any suggest will help me a lot.

Re: Elmer ice install

Posted: 13 Dec 2018, 18:04
by mzenker

for generic Elmer, see here: viewtopic.php?f=2&t=1, especially the last post.
However I don't know what has to be done additionnally for Elmer/Ice.


Re: Elmer ice install

Posted: 14 Dec 2018, 09:59
by AndaLi
Thank you for your replr, but it's different with elmer/ice install.
Anyone can offer a hint. Such as

Re: Elmer ice install

Posted: 14 Dec 2018, 14:41
by gagliar
Hi Andali,

If you want Elmer/Ice to be installed, the installation is exactly the same as for Elmer but with the option
in your installation configuration file.
More information on the Elmer/Ice wiki: ... ationcmake


Re: Elmer ice install

Posted: 16 Dec 2018, 08:26
by AndaLi
Thank you. I have type
sudo apt-add-repository ppa:elmer-csc-ubuntu/elmer-csc-ppa
sudo apt-get update
sudo apt-get install elmerfem-csc-eg

And it means that I have installed elmer/ice?
Would I still continue to instill it according to ... ationcmake ?

Re: Elmer ice install

Posted: 17 Dec 2018, 10:43
by tzwinger
yes, the launchpad version should include Elmer/Ice


Re: Elmer ice install

Posted: 18 Dec 2018, 12:06
by AndaLi
Thank you. But the launchpad version may not replace elmerice install. So I try to give up.

(1)Additonly I use cmake based on ubuntu14.04
When I configure , I didn't choose ( PYTHONQT ElmerGUILOGGER ElmerGUITESTER ) due to some errors. I didn't know is it requiste? After I finished installing. I type
$ ctest -j1
The following tests FAILED:
4 - Calving3D (Failed)
7 - ScatteredDataInterpolator (Failed)
14 - DGsolver (Failed)
15 - Teterousse_DeformHeat (Failed)
26 - MISMIP_FS-SSA (Failed)
284 - radiation2d (Failed)
392 - InductionHeating2 (Failed)
487 - radiation2 (Failed)
621 - radiation3d (Failed)
666 - radiation (Failed)
Errors while running CTest

(2) I test the example testglacierflowline2018
$gmsh -2 testglacier.geo

Error : 'testglacier.geo', line 1 : syntax error (,)
Error : 'testglacier.geo', line 2 : syntax error (,)
Error : 'testglacier.geo', line 3 : Unknown variable 'backres'
Error : 'testglacier.geo', line 4 : Unknown variable 'frontres'
Error : 'testglacier.geo', line 5 : Unknown variable 'frontres'
Error : 'testglacier.geo', line 6 : Unknown variable 'backres'
Error : 'testglacier.geo', line 7 : Unknown variable 'backres'
Info : Done reading 'testglacier.geo'

$ElmerGrid 14 2 testglacier.msh –autoclean –order 0.1 1.0 0.01

$ElmerSolver Stokes_diagnostic.sif
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x7F3FD93B8777
#1 0x7F3FD93B8D7E
#2 0x7F3FD900CCAF
#3 0x7F3FD973BAA2
#4 0x7F3FD973430B
#5 0x7F3FD9D0085F
#6 0x7F3FD9D03246
#7 0x7F3FD9CF5FB2
#8 0x401280 in MAIN__ at Solver.F90:?
Segmentation fault (core dumped)

I didn't know whether I have succed to install elmer/ice?
And how to solve the test error or tutorials example mistakes?

Re: Elmer ice install

Posted: 04 Apr 2019, 18:57
by kate.hruby
Hi AndaLi,
I'm not sure if you've solved your problems with the install, but my colleague put together a Docker Image for Elmer/Ice for easy use.

1. Install Docker on your computer: (it's free)
2. Follow the directions on:

This allows you to run Elmer/Ice as normal, and without having to install all the Fortran packages and compile the program. Hopefully this helps if you are still having trouble!


Re: Elmer ice install

Posted: 27 May 2019, 17:13
by AndaLi
:D Thank you.