Elmer ice install

Extension of Elmer in computational glaciology
Post Reply
AndaLi
Posts: 6
Joined: 12 Dec 2018, 08:58
Antispam: Yes

Elmer ice install

Post by AndaLi »

Hello,
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 http://elmerfem.org/elmerice/wiki/doku. ... ationcmake
But it always failed.
Any suggest will help me a lot.
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Elmer ice install

Post by mzenker »

Hi,

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.

HTH,
Matthias
AndaLi
Posts: 6
Joined: 12 Dec 2018, 08:58
Antispam: Yes

Re: Elmer ice install

Post by AndaLi »

Thank you for your replr, but it's different with elmer/ice install.
Anyone can offer a hint. Such as https://docplayer.net/52985860-Elmer-ice-git-cmake.html
gagliar
Posts: 79
Joined: 04 Sep 2009, 16:34
Location: LGGE - Grenoble
Contact:

Re: Elmer ice install

Post 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
-DWITH_ElmerIce:BOOL=TRUE
in your installation configuration file.
More information on the Elmer/Ice wiki: http://elmerfem.org/elmerice/wiki/doku. ... ationcmake

Regards,
Olivier
AndaLi
Posts: 6
Joined: 12 Dec 2018, 08:58
Antispam: Yes

Re: Elmer ice install

Post 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 http://elmerfem.org/elmerice/wiki/doku. ... ationcmake ?
tzwinger
Site Admin
Posts: 99
Joined: 24 Aug 2009, 12:20
Antispam: Yes

Re: Elmer ice install

Post by tzwinger »

Hello,
yes, the launchpad version should include Elmer/Ice

Regards,
Thomas
AndaLi
Posts: 6
Joined: 12 Dec 2018, 08:58
Antispam: Yes

Re: Elmer ice install

Post 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 http://elmerfem.org/forum/viewtopic.php?f=2&t=3742
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?
kate.hruby
Posts: 4
Joined: 09 Feb 2018, 23:27
Antispam: Yes

Re: Elmer ice install

Post 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: https://www.docker.com/get-started (it's free)
2. Follow the directions on: https://hub.docker.com/r/nwrichmond/elmerice/

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!

Best,
Kate
AndaLi
Posts: 6
Joined: 12 Dec 2018, 08:58
Antispam: Yes

Re: Elmer ice install

Post by AndaLi »

:D Thank you.
Post Reply