Ubuntu, FEAP, and Virtualiza3on. Jonathan Wong Lab Mee3ng 11/08/10



Similar documents
LSN 10 Linux Overview

TNM093 Practical Data Visualization and Virtual Reality Laboratory Platform

INSTALLING MALTED 3.0 IN LINUX MALTED: INSTALLING THE SYSTEM IN LINUX. Installing Malted 3.0 in LINUX

CS197U: A Hands on Introduction to Unix

CS 103 Lab Linux and Virtual Machines

Accessing RCS IBM Console in Windows Using Linux Virtual Machine

The BackTrack Successor

APPLICATION NOTE. How to build pylon applications for ARM

Tutorial 0A Programming on the command line

Virtual Machines.

Command Line Crash Course For Unix

UAB Cyber Security Ini1a1ve

INSTALLING SAS 9.2 PHASE 3 ON WINDOWS OPERATING SYSTEMS

Week Overview. Installing Linux Linux on your Desktop Virtualization Basic Linux system administration

Sun xvm VirtualBox Product Overview

Acronis Backup & Recovery 10 Server for Linux. Update 5. Installation Guide

Student installation of TinyOS

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

PrimeRail Installation Notes Version A June 9,

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Creating a Linux Virtual Machine using Virtual Box

Introduction to Operating Systems

Building graphic-rich and better performing native applications. Pro. Android C++ with the NDK. Onur Cinar

Installation Manual for Grid Monitoring Tool

WA1826 Designing Cloud Computing Solutions. Classroom Setup Guide. Web Age Solutions Inc. Copyright Web Age Solutions Inc. 1

Code::Block manual. for CS101x course. Department of Computer Science and Engineering Indian Institute of Technology - Bombay Mumbai

Running your first Linux Program

Monitor and Secure Linux System with Open Source Tripwire

Outline SSS Microsoft Windows Server 2008 Hyper-V Virtualization

Implementing and Managing Windows Server 2008 Hyper-V

The "Eclipse Classic" version is recommended. Otherwise, a Java or RCP version of Eclipse is recommended.

Linux Development Environment Description Based on VirtualBox Structure

Cisco Networking Academy Program Curriculum Scope & Sequence. Fundamentals of UNIX version 2.0 (July, 2002)

Bringing the Eko VM Home (302)

Eddy Integrated Development Environment, LemonIDE for Embedded Software System Development

NAS 249 Virtual Machine Configuration with VirtualBox

Command Line - Part 1

How to use the VMware Workstation / Player to create an ISaGRAF (Ver. 3.55) development environment?

ECT362 Installing Linux Virtual Machine in KL322

Acronis Backup & Recovery 10 Server for Linux. Installation Guide

Installing Sun's VirtualBox on Windows XP and setting up an Ubuntu VM

How to Backup XenServer VM with VirtualIQ

benefit of virtualiza/on? Virtualiza/on An interpreter may not work! Requirements for Virtualiza/on 1/06/15 Which of the following is not a poten/al

Introduction to Linux and Cluster Basics for the CCR General Computing Cluster

Installing (1.8.7) 9/2/ Installing jgrasp

Version Control with Subversion and Xcode

Steps for running C-program

Introduction to Linux operating system. module Basic Bioinformatics PBF

CS 4604: Introduc0on to Database Management Systems

User s Manual

Installation of PHP, MariaDB, and Apache

Virtualization for Cloud Computing

Chapter 5: Operating Systems Part 1

Operating System Today s Operating Systems File Basics File Management Application Software

CSE 265: System and Network Administration

Easy Setup Guide 1&1 CLOUD SERVER. Creating Backups. for Linux

Acronis Backup & Recovery 10 Server for Linux. Quick Start Guide

Please Complete Speaker Feedback Surveys. SecurityTube.net

Embedded Linux development training 4 days session

Introduction to Running Computations on the High Performance Clusters at the Center for Computational Research

Functions of NOS Overview of NOS Characteristics Differences Between PC and a NOS Multiuser, Multitasking, and Multiprocessor Systems NOS Server

Lab 8: Configuring Backups

LAE Enterprise Server Installation Guide

Ubuntu Linux Reza Ghaffaripour May 2008

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

SparkLab May 2015 An Introduction to

PuTTY/Cygwin Tutorial. By Ben Meister Written for CS 23, Winter 2007

Supported platforms & compilers Required software Where to download the packages Geant4 toolkit installation (release 9.6)

Lab 0 (Setting up your Development Environment) Week 1

ISLET: Jon Schipp, Ohio Linux Fest An Attempt to Improve Linux-based Software Training

SheevaPlug Development Kit README Rev. 1.2

Open Source Computational Fluid Dynamics

Network operating systems typically are used to run computers that act as servers. They provide the capabilities required for network operation.

PowerPanel Business Edition Installation Guide

6422: Implementing and Managing Windows Server 2008 Hyper-V (3 Days)

Linux Labs: mini survival guide

CHAPTER 17: File Management

Command-Line Operations : The Shell. Don't fear the command line...

Installing an open source version of MateCat

QNX Software Development Platform 6.6. Installation Guide

Installation and Deployment

Università Degli Studi di Parma. Distributed Systems Group. Android Development. Lecture 1 Android SDK & Development Environment. Marco Picone

Developing Platform Independent Software using the AutoTool Suite

Using Symantec NetBackup with Symantec Security Information Manager 4.5

Code::Blocks Student Manual

How to Install and Run Tibia on Linux Using Wine without Windows Contents

University of Toronto

Introduction to Virtual Machines

Installing VMware Tools on Clearswift v4 Gateways

CSE 265: System and Network Administration. CSE 265: System and Network Administration

Data Center Evolu.on and the Cloud. Paul A. Strassmann George Mason University November 5, 2008, 7:20 to 10:00 PM

Virtualization. Michael Tsai 2015/06/08

Installing Proview on an Windows XP machine

Transcription:

Ubuntu, FEAP, and Virtualiza3on Jonathan Wong Lab Mee3ng 11/08/10

Mo3va3on Compiling and opera3ng FEAP requires knowledge of Unix/ Posix systems Being comfortable using command- line Naviga3ng the file system Modifying environment variables Basic knowledge about compilers Compiler flags Loca3on of required headers and libraries Understanding how to interpret compile and run3me errors (requires actual experience!) Google is some3mes useful.

Mo3va3on - Virtualiza3on What is sovware virtualiza3on? A virtual machine (VM) is a sovware implementa3on of a machine (i.e. a computer) that executes instruc3ons like a physical machine. The main advantages of system VMs are: mul3ple OS environments can co- exist on the same computer (isolated) the virtual machine can provide an instruc3on set architecture (ISA) that is somewhat different from that of the real machine applica3on provisioning, maintenance, high availability and disaster recovery [2] The main disadvantages of system VMs are: a virtual machine is less efficient than a real machine when it accesses the hardware indirectly when mul3ple VMs are concurrently running on the same physical host, each VM may exhibit a varying and unstable performance, which highly depends on the workload imposed on the system by other VMs, unless proper techniques are used for temporal isola3on among virtual machines. [hbp://en.wikipedia.org/wiki/virtual_machine]

Virtual Machines Virtualbox [Oracle/Sun] (hbp://www.virtualbox.org/) VirtualBox is a powerful x86 and AMD64/Intel64 virtualiza3on product for enterprise as well as home use. Cost : Free Cross- plagorm host opera3ng systems Ubuntu (hbp://ubuntu.com) "humanity towards others Cost : Free Popular : Desktop 50% of linux users Feature: Stability, Useability Applica3ons Extensive debian and Ubuntu repository 3 rd party binaries Compile from source

Virtual Machines Custom virtual machine of Ubuntu 10.10 (32bit) using Virtualbox FEAP requirements Being comfortable using command- line (Ubuntu) Naviga3ng the file system (Ubuntu) Modifying environment variables (Standardized VM) Basic knowledge about compilers (Standardized VM) Compiler flags Loca3on of required headers and libraries Understanding how to interpret compile and run3me errors (requires actual experience!)

VM - Example

VM - Import

VM - Import

VM - Import

VM - Start

VM - Start [user: FEAP pass:rlt]

VM - Start

VM Mul3ple / Simultaneous

VM Virtual hard disk contents Specifica3ons Minimal install (theme is ugly!) Gcc- 4.4 toolkit is installed (not including gdb) All X11 development files installed Vanilla FEAP ver83 compiled (makefile.in setup) Applica3ons Emacs (text editor) [origin: MIT] Mozilla Firefox

Unix - Introduc3on FEAP requirements Being comfortable using command- line (Ubuntu) Naviga3ng the file system (Ubuntu) Modifying environment variables (Standardized VM) Basic knowledge about compilers (Standardized VM) Compiler flags Loca3on of required headers and libraries Understanding how to interpret compile and run3me errors (requires actual experience!)

Unix - Introduc3on Being comfortable using command- line (Ubuntu) man an interface to the on- line reference manuals > man make > man which make GNU make u3lity to maintain groups of programs > make install > make clean which locate a command > which gcc

Unix Program execu3on Execu3ng programs in Unix All programs require a path (rela3ve or aboslute) Examples: > /usr/bin/xeyes > ~/Desktop/ver83/main/feap >./feap (only works if you are located in ~/Desktop/ver83/main) Why did other commands work without paths? If no path is supplied, the system will look through a series of paths set by ENVIRONMENT variables, specifically $PATH

Unix - Environment Examples: >echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/bin:/usr/games >which which /usr/bin/which >which echo /bin/echo Environment variables: >printenv (shows current environment variables) >source <file> Executes commands from a file in the current shell >source.bashrc (sets environment variables described in.bashrc)

Unix File system naviga3on Basic commands > pwd print name of current/working directory > ls list directory contents Files that begin with. are hidden. You will not be able to see them in the graphical viewer (nau3lus), but they exist. You can s3ll access the files from a text editor such as emacs using the graphical user interface or command- line. > cd change the shell working directory cd directory shortcuts sends you back to the home directory / references the root directory. references the current directory.. references the parent directory ~ references the home directory

FEAP Compile 3me Instruc3ons are in the FEAP manual Summary 1. Set the FEAPHOME8_3 environment variable to point to wherever ver83/ folder is located in ~/.bashrc file export FEAPHOME8_3=~/Desktop/ver83 (already done in VM ignore!) 2. Modify makefile.in in FEAPHOME8_3 to point to the correct compiler and libraries (already done in VM ignore!) 3. Run make clean, then make install, in FEAPHOME8_3 (Already done, but you should run it yourself!) This must be done whenever you update the main program object files or move it to a new machine!)

FEAP - execu3on To execute FEAP, you can: 1. > $FEAPHOME8_3/main/feap 2. > cd $FEAPHOME8_3/main >./feap Finite element analysis program: Input file (contains mesh and loading instruc3ons) Read more about it in the FEAP documenta3on