Elmer / Ice installation (Ubuntu on WSL)

Elmer/Ice First, Elmer is a finite element method (FEM) software that solves partial differential equations. Elmer / Ice refers to a package that specializes in glacier / ice sheet flow.

When I tried to put Elmer / Ice in Windows 10 before, Elmer was put in but Elmer / Ice was not put in, so I tried it on Ubuntu on WSL. I'm still studying how to use it, so this will describe how to install Elmer / Ice. It seems that the number of people who want to calculate the flow of glaciers in Japan is extremely limited, but it is a reminder that it should be useful to someone.

environment

Windows 10 Home 64bit Ubuntu 20.04 LTS on WSL1

procedure

https://github.com/ElmerCSC/elmerfem From here ↑, download everything and save it in an appropriate directory. (I usually want to mess with Windows after working with WSL ubuntu, and I'm tired of changing the WSL home directory, so I put everything on the D drive.)

For the time being, as I was told without thinking about anything

$ sudo apt install git cmake build-essential gfortran libopenmpi-dev libblas-dev liblapack-dev

After that, I did as written and failed, so I took the following steps.

$ cd /hoge/elmerice-devel/
$ mkdir build
$ cd build
$ cmake -S /hoge/elmerfem-devel/ -B . -DWITH_OpenMP:BOOLEAN=TRUE -DWITH_ElmerIce:BOOL=TRUE
$ make
$ sudo make install

If Elmer Solver etc. is created in `/ usr / local / bin /`, it is OK for the time being.

Looking back, it seems like this is all, but it took me some time to get to this. The installation guide on the web says `` `cmake .. -DWITH_OpenMP: BOOLEAN = TRUE```, but sometimes I refer to CMakeList somewhere else.

Also, "-DWITH_ElmerIce: BOOL = TRUE" If you don't put this in, only Elmer will come in and you won't notice until now (it's really annoying).

/usr/local/share/elmersolver/lib/Elmer Ice Solvers.Really OK with so.



## afterwards
 I have installed gmsh and Paraview. Paraview is in windows.

 After executing according to the tutorial, if you play with Paraview a little, it will make a beautiful figure. Immerse yourself in self-satisfaction.
 ![Elmer.PNG](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/324057/0d471614-81fc-6f2c-7e3f-3c7dc8d24ba4.png)
 From now on, I would like to use this guy to deepen my understanding of glacier flow.
 I would like to have a companion to study Elmer / Ice together.


Recommended Posts

Elmer / Ice installation (Ubuntu on WSL)
Ruby installation on WSL2 + Ubuntu 20.04
ubuntu on wsl part 10
Docker installation on WSL2
Docker on Ubuntu18.04 on WSL2 and VSCode installation instructions
Install Java on WSL Ubuntu 18.04
Use cljstyle with Spacemacs on Ubuntu on WSL2
Try putting Docker in ubuntu on WSL
tmux on Ubuntu
Try running ScalarDB on WSL Ubuntu (Environment Construction)
Fastest installation of Visual Studio Code on Ubuntu
Set up an SSH server on WSL2 Ubuntu 20.04
JDBC operation check from xampp installation on Ubuntu
Screen recording on Ubuntu 20.04
Web Bluetooth on Ubuntu20.04
Try DisplayLink on Ubuntu 20.04
Try running ScalarDB on WSL Ubuntu (Sample application creation)
Reinstall Kubernetes on Ubuntu 19.10
Docker installation on CentOS 6
I built an Ubuntu environment on Windows 10 using WSL2.
Use Flutter on Ubuntu
Install pyqt5 on ubuntu
OpenAM installation on VirtualBox
Note: Ubuntu installation location
Zabbix 5 installation on CentOS 8
Install Ruby on Ubuntu 20.04
Setting JAVA_HOME on Ubuntu
Install Autoware on Ubuntu 18.04.5
OpenJDK installation on CentOS 7
Put JetBrains on Ubuntu
Use mkdir on ubuntu
Apache2 on Ubuntu20.04 LTS
Use cpplapack on ubuntu
Install Homebrew on Ubuntu 20.04
Run tiscamera on Ubuntu 18.04
Build Zabbix on Ubuntu 20.04
[Note] Flow from docker installation to JupyterLab startup on ubuntu
Installation of jenkins 2.60.1-1 0 or later fails on Ubuntu 14.04 (with grudges)
Using Flutter on Ubuntu (Part 2)
Create SSL certificate on Ubuntu 18.04
Building WebGIS on Ubuntu20.04 LTS
Install OpenJDK7 (JAVA) on ubuntu 14.04
Build VNC Server on Ubuntu 20.04
Install Cybozu Office 10 on Ubuntu 20.4
Extend swap area on Ubuntu 18.04
Install Docker on Ubuntu Server 20.04
Ubuntu on Windows Community Preview
Japanese input on Ubuntu20.04 Desktop
Latest docker installation (Ubuntu 20.04 and Ubuntu 20.10)
Oracle Java 8 on Docker Ubuntu
Install MAV Proxy on Ubuntu 18.04
Install Arudino IDE on Ubuntu 20
Record video on ubuntu18.04 LTS
Introduced knowledge (wiki) on Ubuntu
Installing OpenMX on Ubuntu 18.04.5 LTS
Install Ubuntu Desktop 20.10 on RaspberryPi4
Install Arduino IDE on Ubuntu 20.04
Ubuntu on Windows build speed
Run java applet on ubuntu
Install raspi-config on Ubuntu 20.04 (LTS)
Install WordPress 5.5 on Ubuntu 20.04 LTS