This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cig16 [2016/06/17 20:21] harsha_lv |
cig16 [2017/02/10 23:23] (current) tjesser Fix link |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | Under development! | ||
- | |||
==== Prerequisties for CIG 2016 Tutorial ==== | ==== Prerequisties for CIG 2016 Tutorial ==== | ||
=== Virtualbox === | === Virtualbox === | ||
Line 7: | Line 5: | ||
Use [[https://www.virtualbox.org/manual/ch02.html|these directions]] to install VirtualBox. | Use [[https://www.virtualbox.org/manual/ch02.html|these directions]] to install VirtualBox. | ||
- | We highly recommend setting up guest additions. | + | If your host machine is any linux system, both ''virtualbox'' and ''virtualbox-dkms'' packages must be installed. Also check to make sure you have exFAT filesystem drivers. Windows and Mac systems should have it by default. On Ubuntu, the packages required are ''exfat-utils'' and ''exfat-fuse''. |
- | Use [[https://www.virtualbox.org/manual/ch04.html|these directions]] to install guest additions. | + | We recommended that your computer have at least 20 to 30GB of free disk space and preferably 4GB of RAM. |
- | + | ||
- | We recommended that your computer have at least 20 to 30GB of free disk space and preferably 4GB of RAM in order to use the virtual machine. | + | |
=== Tutorial Image === | === Tutorial Image === | ||
- | During registration, you will receive a 16 GB USB drive with an OVA file called "CIG16_tutorialvm.ova." We will use virtual box to boot up a ubuntu 14.04 linux OS. | + | During registration, you will receive a 16 GB USB drive with an OVA file called "CIG16_Tutorial_VM.ova." We will use virtual box to boot up a ubuntu 14.04 linux OS. |
This image contains the following packages: | This image contains the following packages: | ||
* ASPECT | * ASPECT | ||
- | * HC | ||
* ObsPy | * ObsPy | ||
* Rayleigh | * Rayleigh | ||
* SPECFEM3D | * SPECFEM3D | ||
+ | * SW4 | ||
* Underworld | * Underworld | ||
- | * GMT | + | * HC |
- | * Paraview | + | |
Download it onto the laptop you are going to use for the tutorial. | Download it onto the laptop you are going to use for the tutorial. | ||
Line 33: | Line 28: | ||
- Run VirtualBox. | - Run VirtualBox. | ||
- Select from the menu "Import appliance": {{:software:aspect:screenshot_from_2015-06-19_19_55_07.png?nolink|}} | - Select from the menu "Import appliance": {{:software:aspect:screenshot_from_2015-06-19_19_55_07.png?nolink|}} | ||
- | - Select the downloaded CIG16_tutorialvm.ova image:{{:software:aspect:screenshot_from_2015-06-19_19_57_23.png?nolink|}} | + | - Select the downloaded CIG16_tutorialvm.ova: {{:appliances_2_import.png?nolink|}} |
- | - Select Next and Import: {{:software:aspect:screenshot_from_2015-06-19_19_58_41.png?nolink|}} | + | - Select Next and Import: {{:CIG_16_download.png?nolink|}} |
- | - Click on start (the green arrow) to launch the image: {{:software:aspect:screenshot_from_2015-06-19_19_59_11.png?nolink|}} | + | - Click on start (the green arrow) to launch the image: {{:CIG16-TutorialVM.png?nolink|}} |
=== Using the Image === | === Using the Image === | ||
- | The image should autologin, but if needed the username is cig and the password is cig. The image does not allow any connections from the network. sudo apt-get install <package name> to install ubuntu packages. | + | The image contains the following users: |
- | + | * aspect_user | |
- | + | * obspy_user | |
- | Now it's time to start the CIG16 virtual machine. Let it boot up, then open a terminal (''Ctrl+Alt+T'') and type in: | + | * rayleigh_user |
- | sudo apt-get update && sudo apt-get install dkms | + | * specfem3d_user |
- | and wait for it to finish. | + | * sw4_user |
- | + | * underworld_user | |
- | Next, go into VirtualBox's topbar and select ''Devices -> Insert Guest Additions CD Image...''. A window may pop up asking to run the CD. ''Close'' or ''Cancel'' that window, and, back in the terminal, type: | + | * hc_user |
- | cd /media/cig/VBOXADDITIONS_4.3.28_100309 | + | Note that all of the users listed above are password less. |
- | and then | + | |
- | sudo sh ./VboxLinuxAdditions.run | + | |
- | + | ||
- | Wait for the command to complete, then poweroff and restart the virtual machine. You should now have a working connection between your computer and the CIG16 virtual machine. | + | |
- | + | ||
- | ==== Troubleshooting ==== | + | |
- | + | ||
- | === VirtualBox VT-x/AMD-V Error === | + | |
- | If, when starting the CIDER VM, you see a pop-up similar to: | + | The super user is cig and the password is cig. |
- | >"**VirtualBox - Error:** VT-x/AMD-V hardware acceleration is not available on your system. Certain guests... require this feature and will fail to boot without it. | + | |
- | >//__Close VM__// //__Copy__// //__Continue__//" | + | |
- | Most likely, this means that you do not have hardware support for virtual machinges enabled in your BIOS (firmware on the motherboard). To enable it, you will need to edit your BIOS settings. | + | The image does not allow any connections from the network. sudo apt-get install <package name> to install ubuntu packages. |
- | Starting your BIOS interface requires holding down a button while your computer starts up (i.e. if your computer is already on, you will have to restart it). Usually, while your computer is starting, there will be a prompt to press a button to enter the BIOS, though if your computer boots quickly, it may be hard to read. Some common buttons to hold down are: Esc, Del, F10, F12, and Enter. If you have trouble accessing the BIOS, try looking on your manufacturer's website for instructions. | + | Now simply start the CIG16 virtual machine. |
- | Once you are in the BIOS settings, you should look for the virtualization setting, sometimes called //Virtualization//, //Intel Virtual Technology//, or something similar. Try looking under a //Security// or //Advanced Options// tab. If you are able to find the setting, make sure it is set to enabled. Then save & exit, and restart your computer. You should now be able to run the virtual machine with VirtualBox. | + | === Troubleshooting === |
+ | - If too many users are logged in at once, the next time you switch users, a password prompt is requested. However, since no users have any passwords, one would not be able to switch users at this point. | ||
+ | - At the moment, due to inactivity the system locks. To disable this, go to settings -> brightness and lock -> toggle off the lock and set turn screen if inactive to never. | ||
+ | === Additional Links and Information === | ||
+ | - [[ https://geodynamics.org/cig/static/CIG16_Tutorial_VM.ova|CIG16 Virtual Machine]]: This VM is over 8GB and will take a long time to download. | ||
+ | - [[ https://geodynamics.org/cig/static/CIDER16_TutorialVM.ova|CIDER Virtual Machine]]: Contains only HC, Underworld, Burnman software packages, as well as software for seismic inversion and plotting. | ||
+ | - [[ https://geosys.usc.edu/projects/seatree/wiki|SEATREE]]: Software package that provides GUI access to multiple solid earth computational tools. |