Elmer Ubuntu Virtual Machine

Discussion about building and installing Elmer
Post Reply
raback
Site Admin
Posts: 3291
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Elmer Ubuntu Virtual Machine

Post by raback » 26 Sep 2013, 14:30

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.

Pros:
  • 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"
Cons:
  • 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 http://www.nic.funet.fi/pub/sci/physics ... 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,".

-Peter

hamed
Posts: 110
Joined: 12 Oct 2009, 18:28

Re: Elmer Ubuntu Virtual Machine

Post by hamed » 17 Dec 2013, 23:25

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

raback
Site Admin
Posts: 3291
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: Elmer Ubuntu Virtual Machine

Post by raback » 17 Dec 2013, 23:32

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

minhaj021
Posts: 7
Joined: 08 Feb 2018, 18:20
Antispam: Yes

Re: Elmer Ubuntu Virtual Machine

Post by minhaj021 » 15 May 2018, 12:19

Hi,
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.

Thanks
Minhaj

KaiMartin
Posts: 34
Joined: 02 Jun 2013, 00:07
Antispam: Yes
Location: Hannover, Germany
Contact:

Re: Elmer Ubuntu Virtual Machine

Post by KaiMartin » 13 Jul 2018, 05:18

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.

---<)kaimartin(>---
---<)kaimartin(>---

annier
Posts: 1102
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: Elmer Ubuntu Virtual Machine

Post by annier » 13 Jul 2018, 20:00

Hi,
A good website for using ubuntu in Oracle virtual box within Windows:
https://www.lifewire.com/run-ubuntu-wit ... 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
2. https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6
3. Running Ubuntu unity desktop on Windows 10
4. Tutorial on running Ubuntu on Windows
5. https://docs.microsoft.com/en-us/window ... tall-win10
6. https://www.pcgamer.com/linux-in-windows-10/
7. https://www.zdnet.com/article/how-to-ru ... indows-10/
8. https://www.howtogeek.com/265900/everyt ... ash-shell/
10. https://tech-ish.com/2018/05/10/how-to- ... indows-10/

Yours Sincerely,
Anil Kunwar

annier
Posts: 1102
Joined: 27 Aug 2013, 13:51
Antispam: Yes

Re: Elmer Ubuntu Virtual Machine

Post by annier » 16 Jul 2018, 23:40

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: https://www.zdnet.com/article/how-to-ru ... 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: https://www.youtube.com/watch?v=W_bBRWzXmuw or, https://www.youtube.com/watch?v=iytgZyfWsNM.)

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
Next
2. Start no client
Next
3. Extra settings
Clipboard
Native Opengl
Next
4. Configuration Complete
Finish

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

Code: Select all

$ startxfce4
More reference:
a. https://www.howtogeek.com/265900/everyt ... ash-shell/

To uninstall ubuntu in the bash shell

Code: Select all

$ clean ubuntu

b. https://askubuntu.com/questions/993225/ ... as-of-2018

Installation of Ubuntu-desktop after sudo service dbus start:
1. https://www.youtube.com/watch?v=t1O9dJyuawo
2. http://martincl2.me/archives/970


Uninstallation of Ubuntu in WSL
https://www.howtogeek.com/261188/how-to ... ash-shell/

Yours Sincerely,
Anil Kunwar

Post Reply