Page 1 of 1

Elmer Ubuntu Virtual Machine

Posted: 26 Sep 2013, 14:30
by raback
Hi All,

Elmer virtual machine (based currently on Ubuntu 12.04 LTS) is such a nice environment that I thought to share some information on that. It may be often preferably to old or incomplete binaries available.

The Elmer Virtual Machine has been initially created (by T.Z.) to provide the ideal platform for giving courses. It ensures that different operating systems can run exactly the same Elmer setup. At the same time the Elmer virtual machine provides perhaps the best possible user experience for starting users. Below some of the pros and cons of the virtual machine are listed.

  • Best possible Elmer experience out of the box
  • Many auxiliary software are also provided (Paraview, Gmsh,...)
  • Also MPI is fully supported
  • Updates in code can be taken into use by simply sayig "svn update" and "make install"
  • Size of the VM is quite large (2-3 Gb) which makes in impossible to download on slow connections
  • It is more difficult to share data between software under the VM and those running under the main OS
  • The virtual machine can never be quite as fast as the native OS. For parallel jobs parallization is
    efficient only within one processor.
  • The 64-bit version may require some alterations in the BIOS setup, even though the OS would be 64 bits
To take the VM into use do as follows:
  • Install a VM player, e.g. Vmware player on your computer. Vmware player works for sure, also other players might be used.
  • Copy the virtual machine from ... in/Vmware/
    If in doubt use the 32-bit version.
  • Unzip the virtual machine to a suitable destination
  • Run the VMware Player and open the virtual machine (with suffix .vmx) in the unzipped directory
  • In VMware Player choose "play virtual machine"
  • After a rather lengthy boot time you should be asked for a password "elmerfem"
  • Elmer exacutables do not have icons so open a terminal and call them from command line: ElmerGUI, ElmerGrid, ElmerPost,...
  • To compile a fully fresh version of Elmer go to directory Source/Elmer and say
    "./getsource" and "./buildelmer".
  • To update just recent changes to the fem part go to directory Source/Elmer/trunk/fem and say
    "svn update" and "make install"
Note that the username for the virtual machines is "elmeruser" and the password "elmerfem". The VM assumes
standard qwerty keywboard for the 23 ascii letters (Finnish, English, German, ...). A notably exception here
is French. So if you're typing a French keyboard the password is "el,erfe,".


Re: Elmer Ubuntu Virtual Machine

Posted: 17 Dec 2013, 23:25
by hamed
Hi Peter
I'm using Windows 7 64 bit as the OS. Can I install vmplayer on it or ubuntu is necessary for using Elmer on vmplayer?
Regards, Hamed

Re: Elmer Ubuntu Virtual Machine

Posted: 17 Dec 2013, 23:32
by raback
You can run the Ubuntu VM on all platforms that run the VMWare client software (or similar). Typically this actually is Windows since for Linux users getting Elmer compiled is not that heroic. -Peter

Re: Elmer Ubuntu Virtual Machine

Posted: 15 May 2018, 12:19
by minhaj021
I want to install openpyxl using VM but its giving the following error
VM openpyxl error.PNG
(98.99 KiB) Not downloaded yet
How can i fix this issue.


Re: Elmer Ubuntu Virtual Machine

Posted: 13 Jul 2018, 05:18
by KaiMartin
minhaj021 wrote: 15 May 2018, 12:19 I want to install openpyxl using VM but its giving the following errorVM openpyxl error.PNG.
openpyxel does not seem to be needed by elmer.


Re: Elmer Ubuntu Virtual Machine

Posted: 13 Jul 2018, 20:00
by annier
A good website for using ubuntu in Oracle virtual box within Windows: ... ox-2202098

I can install Elmer within Ubuntu environment inside the virtual box.

The computer we are using must have enough space and fast enough to run the virtual box inside it.

As an elmer user within Ubuntu, I find this guideline particularly useful, when I have to use Windows based computer.

Other alternatives:
1. Install Ubuntu on Windows 10 operating system
3. Running Ubuntu unity desktop on Windows 10
4. Tutorial on running Ubuntu on Windows
5. ... tall-win10
7. ... indows-10/
8. ... ash-shell/
10. ... indows-10/

Yours Sincerely,
Anil Kunwar

Re: Elmer Ubuntu Virtual Machine

Posted: 16 Jul 2018, 23:40
by annier
Installation of Ubuntu in Windows Subsystem for Linux (WSL) in Windows 10
1. Switch windows settings to developer mode:
settings -->> update & security -->> For developers -->> Developer mode

2. Activate windows features on
control panel -->>Programs -->> Turn windows features on or off -->> Tick on the ""Windows subsystems for linux"

3. Execute bash.exe

4. Proceed to ubuntu installation by typing ''y'' for yes.

5. To check the version of ubuntu, type in the bash prompt:

Code: Select all

lsb_release -a
6. Install vcxrv (or xming) X-server in windows system by downloading from sourceforge website for vcxrv or sourceforge website for xmingReference: ... indows-10/

7. IN bash shell, type :

Code: Select all

echo "export DISPLAY=:0.0" >> ~/.bashrc
8. Execute vcxrv or xming whichever you are using (example: or,

9. In bash shell install xfce4 xfce4-goodies:

Code: Select all

sudo apt-get install xfce4 xfce4-goodies
10. Launch vcxsrv or xming , and make sure to choose the following settings :
1.Multiple windows
Display Number 0
2. Start no client
3. Extra settings
Native Opengl
4. Configuration Complete

Then, start the Ubuntu gnome or desktop by typing the following command in bash shell:

Code: Select all

$ startxfce4
More reference:
a. ... ash-shell/

To uninstall ubuntu in the bash shell

Code: Select all

$ clean ubuntu

b. ... as-of-2018

Installation of Ubuntu-desktop after sudo service dbus start:

Uninstallation of Ubuntu in WSL ... ash-shell/

Yours Sincerely,
Anil Kunwar