oascript HowTo Kevin Nesmith Lead Engineer, Si2 June 10, 2013

Size: px
Start display at page:

Download "oascript HowTo Kevin Nesmith Lead Engineer, Si2 June 10, 2013"

Transcription

1 oascript HowTo Kevin Nesmith Lead Engineer, Si2 June 10,

2 oascript News Chip Designer Centric Python API Tcl API Ruby API Perl API Language-Specific Bindings Type Mapping Type Mapping Type Mapping Type Mapping Common Wrapper Architecture Interface Common EDA Programmer SWIG Framework Centric OpenAccess API C++ Programming Interface Version 2.0 available under the new ESG approved license Allows for custom C++ extensions. 64 bit binaries for each language. Windows version in development under the Silicon Photonics TAB 10 OA labs ported from C++ to support all 4 scripting languages Provides training to design engineers who operate at the scripting interface 2

3 oascript Support oascript is currently supported on OpenAccess Streams oa22.04 gcc bit oa22.41 gcc bit oa22.43 gcc bit Linux RHEL 4.8 RHEL 5 SLES 10 SLES 11 Perl Python Ruby Tcl

4 This simple scripting language demo will show how to use oaspython to open a library and create a simple design with two nets. 4

5 Shell environment variables need by oascript perl: linux> export ruby: linux> export tcl: linux> export python: linux> export =/opt/oascript/perl5 =/opt/oascript/ruby =/opt/oascript/tcl =/opt/oascript/python2 LD_LIBRARY_PATH specifies the path to the OA libraries: linux> export =/opt/oa22.43p004/lib/ linux_rhel50_gxx44_64/opt 5

6 Unsupported Platforms Often times the need arises to run OA/oaScript on an unsupported platform such as Fedora 17. Fedora 17: The user will still need to specify the path to the OA libraries: linux> export =/opt/oa22.43p004/lib/ linux_rhel50_gcc44x_64/opt Important The user will need to tell OA which platform to substitute: linux> export =linux_rhel50_gcc44x 6

7 Using the python interpreter to create a library: linux> export PYTHONPATH=/opt/oaScript/python2 linux> export LD_LIBRARY_PATH=/opt/oa22.43p004/ /opt linux> export OA_UNSUPPORTED_PLAT=linux_rhel50_gcc44x linux> python Python (default, Jul , 10:05:38) >>> import oa >>> oa.oalib.create("designlib", "./designlibondisk") <Swig Object of type 'OpenAccess_4::oaLib *' at 0x7feace8141f0> >>> quit() linux> ls -ld designlibondisk drwxrwxr-x. 2 me user 4096 May 28 12:12 designlibondisk 7

8 Create a lib.defs (library definition) file: The lib.defs file associates logical library names used by tools with physical locations on disks. lib.defs DEFINE designlib./designlibondisk The lib.defs file is a text file. It can be created and managed by OpenAccess functions, OR it can be created and edited in your favorite text editor. For our simple example, it is made in the editor. 8

9 The DEFINE statement specifies the mapping between a logical library name and its physical location on disk. lib.defs DEFINE The library s logical name is designlib. The library s physical location is./designlibondisk. 9

10 The OpenAccess API looks for a lib.defs file in 1. The current directory 2. The home directory 3. <oainstalldir>/data/libraries directory lib.defs DEFINE designlib./designlibondisk 10

11 Creating an example design script: #!/usr/bin/env python makedesign.py Execute as a python script. 11

12 Creating an example design script: #!/usr/bin/env python import sys import oa makedesign.py Import the system uality and oa modules. 12

13 Creating an example design script: #!/usr/bin/env python import sys import oa oa.oadesigninit() makedesign.py import oa calls oadesigninit() automaacally, so this isn t needed 13

14 Creating an example design script: #!/usr/bin/env python import sys import oa oa.oalibdeflist.openlibs() makedesign.py Read the lib.defs file, which maps logical names to physical locaaons. 14

15 Creating an example design script: #!/usr/bin/env python import sys import oa oa.oalibdeflist.openlibs() vt=oa.oaviewtype.get( netlist ) makedesign.py viewtype must be specified to create a design. 15

16 Creating an example design script: import sys import oa oa.oalibdeflist.openlibs() vt=oa.oaviewtype.get( netlist ) des=oa.oadesign.open( designlib, mycell, myview, vt, w ) makedesign.py Open a design with logical, cell, and view names, viewtype, and write mode. 16

17 Creating an example design script: oa.oalibdeflist.openlibs() vt=oa.oaviewtype.get( netlist ) des=oa.oadesign.open( designlib, mycell, myview, vt, w ) block=oa.oablock.create(des) makedesign.py The block holds a physical descripaon of the design. 17

18 Creating an example design script: des=oa.oadesign.open( designlib, mycell, myview, vt, w ) block=oa.oablock.create(des) oa.oascalarnet.create(block, net1 ) makedesign.py This creates the 1st net, net1. 18

19 Creating an example design script: makedesign.py block=oa.oablock.create(des) This creates the 2nd net, net2. oa.oascalarnet.create(block, net1 ) oa.oascalarnet.create(block, net2 ) 19

20 Creating an example design script: block=oa.oablock.create(des) oa.oascalarnet.create(block, net1 ) oa.oascalarnet.create(block, net2 ) for net in (block.getnets()): print net in block: %s % (net.getname()) makedesign.py This iterates over the collecaon of nets in the block. 20

21 Creating an example design script: block=oa.oablock.create(des) oa.oascalarnet.create(block, net1 ) oa.oascalarnet.create(block, net2 ) for net in (block.getnets()): print net in block: %s % (net.getname()) makedesign.py This prints each net s name in the collecaon. 21

22 Creating an example design script: oa.oascalarnet.create(block, net1 ) oa.oascalarnet.create(block, net2 ) for net in (block.getnets()): print net in block: %s % (net.getname()) des.save() makedesign.py This saves the design to the disk. 22

23 Creating an example design script: makedesign.py oa.oascalarnet.create(block, net2 ) This closes the design. for net in (block.getnets()): print net in block: %s % (net.getname()) des.save() des.close() 23

24 Running the makedesign.py script: Don t forget your environment variables linux> export PYTHONPATH=/opt/oaScript/python2 linux> export LD_LIBRARY_PATH=/opt/oa22.43p004/ /opt linux> export OA_UNSUPPORTED_PLAT=linux_rhel50_gcc44x Make sure you have the script, library, and lib.defs file in the current directory. linux> ls lib.defs makedesign.py designlibondisk You may need to make your file executable linux> chmod +x makedesign.py 24

25 Running the makedesign.py script: Execute the script linux>./makedesign.py net in block: net1 net in block: net2 NoAce: this is our expected output. 25

26 OpenAccess News The new ESG v2.0 License has been approved! Sign Once / Use Many model. String/Name Table Capacity Increase Due in END of LIFE coming January 1, 2014: oa22.04 Stream oa22.42 Stream 26

27 oascript 2.0 NOW AVAILABLE TO ALL SI2 MEMBERS! UNDER THE ESG LICENSE v

28 For More Information oascript Users Wiki README notes for the oascript releases OpenAccess Documentation and Training Si2 OpenAccess Online Course Si2 OpenAccess Tutorial and Labs OpenAccess Online Docs 28

29 THANK YOU! 29

oascript & oadebug Kevin Nesmith Lead Engineer, Si2 June 7, 2013

oascript & oadebug Kevin Nesmith Lead Engineer, Si2 June 7, 2013 oascript & oadebug Kevin Nesmith Lead Engineer, Si2 June 7, 2013 1 oascript News Chip Designer Centric Python API Tcl API Ruby API Perl API Language-Specific Bindings Type Mapping Type Mapping Type Mapping

More information

An Introduction to OpenAccess Scripting

An Introduction to OpenAccess Scripting An Introduction to OpenAccess Scripting James D. Masters Intel Corp Design Automation Conference June 6, 2011 1 What is it? Standalone direct interface to OpenAccess (OA) No dependencies beyond OA and

More information

A Comparison of OpenAccess Scripting Languages

A Comparison of OpenAccess Scripting Languages A Comparison of OpenAccess Scripting Languages James D. Masters, Intel Corp OpenAccess Conference October 20, 2010 1 Common API to OpenAccess Perl API Python API Ruby API Tcl API Language-Specific Bindings

More information

Table of Contents EVALUATION COPY

Table of Contents EVALUATION COPY Table of Contents Introduction... 1-2 A Brief History of Python... 1-3 Python Versions... 1-4 Installing Python... 1-5 Environment Variables... 1-6 Executing Python from the Command Line... 1-7 IDLE...

More information

Mar-05 TETware training course 7-48

Mar-05 TETware training course 7-48 7.5 - The Ruby API The Ruby API provides a binding to the TET C API All the functions provided by the API are in a single Ruby module Rbtet This module must be imported at the start of the test code require

More information

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda

Essential Unix and Linux! Perl for Bioinformatics, ! F. Pineda Essential Unix and Linux! Perl for Bioinformatics, 140.636! F. Pineda Generic computer architecture Memory Storage Fig. 1.2 From Designing Embedded Hardware, 2 nd Ed. by John Catsoulis OS concepts Shell

More information

Mar-05 TETware training course 7-66

Mar-05 TETware training course 7-66 7.6 - The PHP-CLI API The PHP-CLI API provides a binding to the TET C API All the functions provided by the API are referenced from a single PHP module phptet.php This module must be included at the start

More information

Assignment 1: Communicating with Programs

Assignment 1: Communicating with Programs Assignment 1: Communicating with Programs EC602 Design by Software Fall 2018 Contents 1 Introduction 2 1.1 Assignment Goals........................... 2 1.2 Group Size.............................. 2 1.3

More information

Using echo command in shell script

Using echo command in shell script Lab 4a Shell Script Lab 2 Using echo command in shell script Objective Upon completion of this lab, the student will be able to use echo command in the shell script. Scenario The student is the administrator

More information

McGill University School of Computer Science Sable Research Group. *J Installation. Bruno Dufour. July 5, w w w. s a b l e. m c g i l l.

McGill University School of Computer Science Sable Research Group. *J Installation. Bruno Dufour. July 5, w w w. s a b l e. m c g i l l. McGill University School of Computer Science Sable Research Group *J Installation Bruno Dufour July 5, 2004 w w w. s a b l e. m c g i l l. c a *J is a toolkit which allows to dynamically create event traces

More information

Putting Curves in an Orthogonal World

Putting Curves in an Orthogonal World Putting Curves in an Orthogonal World Extending the EDA Flow to Support Integrated Photonics Masahiro Shiina October 2018 Traditional IC Design Designers & tool developers have lived in a orthogonal world

More information

But before understanding the Selenium WebDriver concept, we need to know about the Selenium first.

But before understanding the Selenium WebDriver concept, we need to know about the Selenium first. As per the today s scenario, companies not only desire to test software adequately, but they also want to get the work done as quickly and thoroughly as possible. To accomplish this goal, organizations

More information

Creating LEF File. Abstract Generation: Creating LEF Tutorial File Release Date: 01/13/2004. Export GDS:

Creating LEF File. Abstract Generation: Creating LEF Tutorial File Release Date: 01/13/2004. Export GDS: Creating LEF Tutorial 1-1 - Creating LEF File Abstract Generation: Export GDS: Abstract generator comes as a part of the Silicon Ensemble package. As such, it cannot directly read ICFB library databases.

More information

Shell Scripting. Jeremy Sanders. October 2011

Shell Scripting. Jeremy Sanders. October 2011 Shell Scripting Jeremy Sanders October 2011 1 Introduction If you use your computer for repetitive tasks you will find scripting invaluable (one of the advantages of a command-line interface). Basically

More information

Compiling Software on UNIX. System Administration Decal Spring 2009 Lecture #4 George Wu Slides prepared by Joshua Kwan

Compiling Software on UNIX. System Administration Decal Spring 2009 Lecture #4 George Wu Slides prepared by Joshua Kwan Compiling Software on UNIX System Administration Decal Spring 2009 Lecture #4 George Wu Slides prepared by Joshua Kwan Today How to turn source code into programs that run on Linux? What if that software

More information

9.2 Linux Essentials Exam Objectives

9.2 Linux Essentials Exam Objectives 9.2 Linux Essentials Exam Objectives This chapter will cover the topics for the following Linux Essentials exam objectives: Topic 3: The Power of the Command Line (weight: 10) 3.3: Turning Commands into

More information

Open Process Spec Adoption: a Case Study

Open Process Spec Adoption: a Case Study Open Process Spec Adoption: a Case Study June 3 rd, 2014 AGENDA 2 OpenPDK & OPS Introduction What does OPS looks like? Let s do an openpdk with OPS Target of OpenPDK Coalition 3 a set of open standards

More information

Linux Command Line Interface. December 27, 2017

Linux Command Line Interface. December 27, 2017 Linux Command Line Interface December 27, 2017 Foreword It is supposed to be a refresher (?!) If you are familiar with UNIX/Linux/MacOS X CLI, this is going to be boring... I will not talk about editors

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

Adding Curves to an Orthogonal World

Adding Curves to an Orthogonal World Adding Curves to an Orthogonal World Extending the EDA Flow to Support Integrated Photonics Paul Double July 2018 Traditional IC Design BREXIT AHOY! Designers & tool developers have lived in a orthogonal

More information

Lab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script

Lab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script Lab 5a Shell Script Lab 4 Using Arithmetic Operators in shell script Objective Upon completion of this lab, the student will be able to use arithmetic operators in Linux shell script. Scenario The student

More information

Chapter 1 - Introduction. September 8, 2016

Chapter 1 - Introduction. September 8, 2016 Chapter 1 - Introduction September 8, 2016 Introduction Overview of Linux/Unix Shells Commands: built-in, aliases, program invocations, alternation and iteration Finding more information: man, info Help

More information

Linux Systems Administration Shell Scripting Basics. Mike Jager Network Startup Resource Center

Linux Systems Administration Shell Scripting Basics. Mike Jager Network Startup Resource Center Linux Systems Administration Shell Scripting Basics Mike Jager Network Startup Resource Center mike.jager@synack.co.nz These materials are licensed under the Creative Commons Attribution-NonCommercial

More information

CS354 gdb Tutorial Written by Chris Feilbach

CS354 gdb Tutorial Written by Chris Feilbach CS354 gdb Tutorial Written by Chris Feilbach Purpose This tutorial aims to show you the basics of using gdb to debug C programs. gdb is the GNU debugger, and is provided on systems that

More information

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN<

PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< PROJECT INFRASTRUCTURE AND BASH INTRODUCTION MARKUS PILMAN< MPILMAN@INF.ETHZ.CH> ORGANIZATION Tutorials on Tuesdays - Sometimes, will be announced In General: no exercise sessions (unless you get an email

More information

Command-line arguments processing in bash

Command-line arguments processing in bash Command-line arguments processing in bash Matěj Týč, OpenAlt 2017 1 / 24 Outline How people tend to design interface of their bash scripts? What exactly is command-line interface? How is bash diferent

More information

OpenPDK Production Value and Benchmark Results

OpenPDK Production Value and Benchmark Results OpenPDK Production Value and Benchmark Results Philippe MAGARSHACK Executive Vice-President, Design Enablement and Services June 2 nd, 2014 ST s Strong technology portfolio : Several R&D Partnerships &

More information

Introduction to Linux for BlueBEAR. January

Introduction to Linux for BlueBEAR. January Introduction to Linux for BlueBEAR January 2019 http://intranet.birmingham.ac.uk/bear Overview Understanding of the BlueBEAR workflow Logging in to BlueBEAR Introduction to basic Linux commands Basic file

More information

Linux Software Installation Exercises 2 Part 1. Install PYTHON software with PIP

Linux Software Installation Exercises 2 Part 1. Install PYTHON software with PIP Linux Software Installation Exercises 2 Part 1. Install PYTHON software with PIP 1.1 Login to the BioHPC machine and install deeptools; Login (ssh) to the machine that you are assigned for this workshop

More information

Software Installation - Accessing Linux and Checking your Environmental Variables

Software Installation - Accessing Linux and Checking your Environmental Variables Accessing Linux and Checking your Environmental Although you may be fortunate enough to have a powerful multi-processor desktop running Linux, most of our sponsors do not. Most of our sponsors will have

More information

Itron Riva Dev Software Development Getting Started Guide

Itron Riva Dev Software Development Getting Started Guide Itron Riva Dev Software Development Getting Started Guide Table of Contents Introduction... 2 Busybox Command-line [Edge and Mini]... 2 BASH Scripts [Edge and Mini]... 3 C Programs [Edge and Mini]... 5

More information

Operating Systems, Unix Files and Commands SEEM

Operating Systems, Unix Files and Commands SEEM Operating Systems, Unix Files and Commands SEEM 3460 1 Major Components of Operating Systems (OS) Process management Resource management CPU Memory Device File system Bootstrapping SEEM 3460 2 Programs

More information

Scripting Languages Course 1. Diana Trandabăț

Scripting Languages Course 1. Diana Trandabăț Scripting Languages Course 1 Diana Trandabăț Master in Computational Linguistics - 1 st year 2017-2018 Today s lecture Introduction to scripting languages What is a script? What is a scripting language

More information

OpenAccess based architecture for Neolinear s Rapid Analog Design Flow

OpenAccess based architecture for Neolinear s Rapid Analog Design Flow OpenAccess based architecture for Neolinear s Rapid Analog Design Flow Bogdan Arsintescu, David Cuthbert, Elias Fallon, Matt Phelps Abstract Developing tools for today s analog and mixed-signal design

More information

UI6A. User Environments and Scripting Languages: Embedding vs Extending

UI6A. User Environments and Scripting Languages: Embedding vs Extending UI6A. User Environments and Scripting Languages: Embedding vs Extending Date: 16 Aug 2002 (draft v0) Contributors: J. Chiang (GSFC-UMBC) Purpose Analyzing data interactively generally presupposes the existence

More information

Astronomical Data Analysis with Python

Astronomical Data Analysis with Python Astronomical Data Analysis with Python Lecture 8 Yogesh Wadadekar NCRA-TIFR July August 2010 Yogesh Wadadekar (NCRA-TIFR) Topical course 1 / 27 Slides available at: http://www.ncra.tifr.res.in/ yogesh/python_course_2010/

More information

How To Start Mysql Use Linux Command Line Client In Ubuntu

How To Start Mysql Use Linux Command Line Client In Ubuntu How To Start Mysql Use Linux Command Line Client In Ubuntu Getting started with MySQL for web and server applications on Ubuntu 14.04 LTS (Trusty Tahr). get started with MySQL on an Ubuntu 14.04 LTS (Trusty

More information

B a s h s c r i p t i n g

B a s h s c r i p t i n g 8 Bash Scripting Any self-respecting hacker must be able to write scripts. For that matter, any selfrespecting Linux administrator must be able to script. Hackers often need to automate commands, sometimes

More information

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209 CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System

More information

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9

Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 http://xkcd.com/353/ Chris Simpkins (Georgia Tech) CS 2316 Data Manipulation for Engineers Python Overview 1 / 9 Python Python is a general-purpose programming language, meaning you can write any kind

More information

Lecture 1. A. Sahu and S. V. Rao. Indian Institute of Technology Guwahati

Lecture 1. A. Sahu and S. V. Rao. Indian Institute of Technology Guwahati Lecture 1 Introduction to Computing A. Sahu and S. V. Rao Dept of Comp. Sc. & Engg. Indian Institute of Technology Guwahati 1 Outline Computer System Problem Solving and Flow Chart Linux Command ls, mkdir,

More information

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction to Linux. Woo-Yeong Jeong Computer Systems Laboratory Sungkyunkwan University Introduction to Linux Woo-Yeong Jeong (wooyeong@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu What is Linux? A Unix-like operating system of a computer What is an

More information

Applied Informatics POCO PRO C++ Frameworks

Applied Informatics POCO PRO C++ Frameworks Applied Informatics POCO PRO C++ Frameworks Getting Started Guide Version 1.10 Purpose of This Document This document guides developers interested in the POCO PRO C++ Frameworks by Applied Informatics

More information

Lab 3a Using the vi editor

Lab 3a Using the vi editor Lab 3a Using the vi editor Objectives: Become familiar with the vi Editor Review the three vi Modes Review keystrokes to move between vi modes Create a new file with vi Editor Invoke vi with show mode

More information

2. Learn how to use Bus Functional Models (BFM) and write test cases for verifying your design.

2. Learn how to use Bus Functional Models (BFM) and write test cases for verifying your design. Verifying your IP Objective The purpose of this tutorial is to guide a user through the simulation and verification framework available in quartus. By the end of this tutorial you will be able to : 1.

More information

Bring order into packaging madness. Marcela Mašláňová Supervisor Software Engineer, Red Hat May 2013

Bring order into packaging madness. Marcela Mašláňová Supervisor Software Engineer, Red Hat May 2013 Bring order into packaging madness Marcela Mašláňová Supervisor Software Engineer, Red Hat May 2013 Objectives introduce improved packaging system show how to use it show how to create it introduce products

More information

LAB #5 Intro to Linux and Python on ENGR

LAB #5 Intro to Linux and Python on ENGR LAB #5 Intro to Linux and Python on ENGR 1. Pre-Lab: In this lab, we are going to download some useful tools needed throughout your CS career. First, you need to download a secure shell (ssh) client for

More information

CS240: Programming in C

CS240: Programming in C CS240: Programming in C Lecture 1: Class overview. Cristina Nita-Rotaru Lecture 1/ Fall 2013 1 WELCOME to CS240 Cristina Nita-Rotaru Lecture 1/ Fall 2013 2 240 Team Instructor: Cristina Nita-Rotaru Special

More information

I/O and Shell Scripting

I/O and Shell Scripting I/O and Shell Scripting File Descriptors Redirecting Standard Error Shell Scripts Making a Shell Script Executable Specifying Which Shell Will Run a Script Comments in Shell Scripts File Descriptors Resources

More information

Laker and Calibre RealTime, an OA Integration Success Story

Laker and Calibre RealTime, an OA Integration Success Story Silicon Integration Initiative Laker and Calibre RealTime, an OA Integration Success Story Rich Morse, Marketing & EDA Alliances Manager, SpringSoft Anant Adke, Director of Engineering, Design to Silicon

More information

TENSORRT 3.0. DU _v3.0 February Installation Guide

TENSORRT 3.0. DU _v3.0 February Installation Guide TENSORRT 3.0 DU-08731-001_v3.0 February 2018 Installation Guide TABLE OF CONTENTS Chapter 1. Overview... 1 Chapter 2. Getting Started... 2 Chapter 3. Downloading TensorRT...4 Chapter 4. Installing TensorRT...

More information

PowerVM Lx86 for x86 Linux Applications Administration Guide

PowerVM Lx86 for x86 Linux Applications Administration Guide PowerVM Lx86 for x86 Linux Applications Administration Guide SA38-0650-03 PowerVM Lx86 for x86 Linux Applications Administration Guide SA38-0650-03 Note Before using this information and the product it

More information

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou

EECS Software Tools. Lab 2 Tutorial: Introduction to UNIX/Linux. Tilemachos Pechlivanoglou EECS 2031 - Software Tools Lab 2 Tutorial: Introduction to UNIX/Linux Tilemachos Pechlivanoglou (tipech@eecs.yorku.ca) Sep 22 & 25, 2017 Material marked with will be in your exams Sep 22 & 25, 2017 Introduction

More information

Introduction to Supercomputing

Introduction to Supercomputing Introduction to Supercomputing TMA4280 Introduction to UNIX environment and tools 0.1 Getting started with the environment and the bash shell interpreter Desktop computers are usually operated from a graphical

More information

Tutorial for Encounter

Tutorial for Encounter Tutorial for Encounter STEP 1: Login to the Linux system on Linuxlab server. Start a terminal (the shell prompt). (If you don t know how to login to Linuxlab server, look at here) Click here to open a

More information

Project C: B+Tree. This project may be done in groups of up to three people.

Project C: B+Tree. This project may be done in groups of up to three people. Project C: B+Tree In this last project, you will implement a B+Tree index in C++. At the end of the project, you will have a C++ class that conforms to a specific interface. Your class is then used by

More information

TENSORRT 4.0 RELEASE CANDIDATE (RC)

TENSORRT 4.0 RELEASE CANDIDATE (RC) TENSORRT 4.0 RELEASE CANDIDATE (RC) DU-08731-001_v4.0 RC March 2018 Installation Guide TABLE OF CONTENTS Chapter 1. Overview... 1 Chapter 2. Getting Started... 2 Chapter 3. Downloading TensorRT...3 Chapter

More information

Introduction to NS-2

Introduction to NS-2 Introduction to NS-2 Dr. Donald C. Wunsch II, dwunsch@umr.edu Dr. Larry Pyeatt, pyeattl@umr.edu Tae-hyung Kim, tk424@umr.edu Department of Electrical Computer Engineering University of Missouri-Rolla,

More information

Linux/Cygwin Practice Computer Architecture

Linux/Cygwin Practice Computer Architecture Linux/Cygwin Practice 2010 Computer Architecture Linux Login Use ssh client applications to connect (Port : 22) SSH Clients zterm ( http://www.brainz.co.kr/products/products4_2.php ) Putty ( http://kldp.net/frs/download.php/3411/hangulputty-0.58.h2.exe

More information

Introduction to Linux

Introduction to Linux Introduction to Linux January 2011 Don Bahls User Consultant (Group Leader) bahls@arsc.edu (907) 450-8674 Overview The shell Common Commands File System Organization Permissions Environment Variables I/O

More information

Short Introduction to ESS

Short Introduction to ESS Why? Emacs ESS Demo Summary edd@debian.org, Dirk.Eddelbuettel@R-Project.org With thanks to ESS Core for their presentations in SVN Short presentation Chicago R User Group 16 December 2010 Outline Why?

More information

Scripting in Python Laborations and projects

Scripting in Python Laborations and projects Scripting in Python Laborations and projects 1 Introduction There are two possibilities for the scripting labs in the compiler course, either implementing a self-selected project or implementing the proposed

More information

Introduction to MD++

Introduction to MD++ Manual 01 for MD++ Introduction to MD++ Keonwook Kang and Wei Cai January 10, 2007 1 Overview MD++ is a molecular dynamics simulation package written in C++. It is originally developed by Wei Cai when

More information

Tcl/Tk for XSPECT a Michael Flynn

Tcl/Tk for XSPECT a Michael Flynn Tcl/Tk for XSPECT a Michael Flynn Tcl: Tcl (i.e. Tool Command Language) is an open source scripting language similar to other modern script languages such as Perl or Python. It is substantially more powerful

More information

Global-Net 2.0d Quick Installation

Global-Net 2.0d Quick Installation Global-Net 2.0d Quick Installation 1. Install Global-Net 1.1 Windows Copy Global-Net_2.0d.zip to your disk. (Ex. C:\) Extract the file and open the directory Global-Net_2.0d. Double-click launch.exe 1.2

More information

1. What statistic did the wc -l command show? (do man wc to get the answer) A. The number of bytes B. The number of lines C. The number of words

1. What statistic did the wc -l command show? (do man wc to get the answer) A. The number of bytes B. The number of lines C. The number of words More Linux Commands 1 wc The Linux command for acquiring size statistics on a file is wc. This command provides the line count, word count and number of bytes in a file. Open up a terminal, make sure you

More information

Using WestGrid from the desktop Oct on Access Grid

Using WestGrid from the desktop Oct on Access Grid Using WestGrid from the desktop Oct 11 2007 on Access Grid Introduction Simon Sharpe, UCIT Client Services The best way to contact WestGrid support is to email support@westgrid.ca This seminar gives you

More information

Backpacking with Code: Software Portability for DHTC Wednesday morning, 9:00 am Christina Koch Research Computing Facilitator

Backpacking with Code: Software Portability for DHTC Wednesday morning, 9:00 am Christina Koch Research Computing Facilitator Backpacking with Code: Software Portability for DHTC Wednesday morning, 9:00 am Christina Koch (ckoch5@wisc.edu) Research Computing Facilitator University of Wisconsin - Madison Understand the basics of...

More information

Introduction. Overview of 201 Lab and Linux Tutorials. Stef Nychka. September 10, Department of Computing Science University of Alberta

Introduction. Overview of 201 Lab and Linux Tutorials. Stef Nychka. September 10, Department of Computing Science University of Alberta 1 / 12 Introduction Overview of 201 Lab and Linux Tutorials Stef Nychka Department of Computing Science University of Alberta September 10, 2007 2 / 12 Can you Log In? Should be same login and password

More information

Concurrent, OA-based Mixed-signal Implementation

Concurrent, OA-based Mixed-signal Implementation Concurrent, OA-based Mixed-signal Implementation Mladen Nizic Eng. Director, Mixed-signal Solution 2011, Cadence Design Systems, Inc. All rights reserved worldwide. Mixed-Signal Design Challenges Traditional

More information

Programming in Python

Programming in Python COURSE DESCRIPTION This course presents both the programming interface and the techniques that can be used to write procedures in Python on Unix / Linux systems. COURSE OBJECTIVES Each participant will

More information

Chapter 1: Introduction

Chapter 1: Introduction Chapter 1: Introduction Outline Introduction What Is a Computer? Computer Hardware Computer Software Computer Programming Languages Machine Code, Assembly Languages and High-Level Languages. The History

More information

CSE 374: Programming Concepts and Tools. Eric Mullen Spring 2017 Lecture 4: More Shell Scripts

CSE 374: Programming Concepts and Tools. Eric Mullen Spring 2017 Lecture 4: More Shell Scripts CSE 374: Programming Concepts and Tools Eric Mullen Spring 2017 Lecture 4: More Shell Scripts Homework 1 Already out, due Thursday night at midnight Asks you to run some shell commands Remember to use

More information

Introduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie

Introduction in Unix. Linus Torvalds Ken Thompson & Dennis Ritchie Introduction in Unix Linus Torvalds Ken Thompson & Dennis Ritchie My name: John Donners John.Donners@surfsara.nl Consultant at SURFsara And Cedric Nugteren Cedric.Nugteren@surfsara.nl Consultant at SURFsara

More information

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys Hitchhiker s Guide to VLSI Design with Cadence & Synopsys David Money Harris 17 January 2009 The VLSI design tools at Harvey Mudd College are hosted on a Linux server named chips. This document introduces

More information

How many of you have never built a NetBSD kernel?

How many of you have never built a NetBSD kernel? A Smart Port Card Tutorial - The Exercises John DeHart Washington University jdd@arl.wustl.edu http://www.arl.wustl.edu/~jdd 1 Question? How many of you have never built a NetBSD kernel? 2 page 1 Exercises

More information

Lab #3 Automating Installation & Introduction to Make Due in Lab, September 15, 2004

Lab #3 Automating Installation & Introduction to Make Due in Lab, September 15, 2004 Lab #3 Automating Installation & Introduction to Make Due in Lab, September 15, 2004 Name: Lab Time: Grade: /10 Error Checking In this lab you will be writing a shell script to automate the installation

More information

Modules and Programs 1 / 14

Modules and Programs 1 / 14 Modules and Programs 1 / 14 Python Programs Python code organized in modules, packages, and scripts. We ve already used some modules, now we ll learn what they are, how they re orgainized in packages,

More information

Introduction to the shell Part II

Introduction to the shell Part II Introduction to the shell Part II Graham Markall http://www.doc.ic.ac.uk/~grm08 grm08@doc.ic.ac.uk Civil Engineering Tech Talks 16 th November, 1pm Last week Covered applications and Windows compatibility

More information

EE516: Embedded Software Project 1. Setting Up Environment for Projects

EE516: Embedded Software Project 1. Setting Up Environment for Projects EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment

More information

CSE 374 Programming Concepts & Tools. Brandon Myers Winter 2015 Lecture 4 Shell Variables, More Shell Scripts (Thanks to Hal Perkins)

CSE 374 Programming Concepts & Tools. Brandon Myers Winter 2015 Lecture 4 Shell Variables, More Shell Scripts (Thanks to Hal Perkins) CSE 374 Programming Concepts & Tools Brandon Myers Winter 2015 Lecture 4 Shell Variables, More Shell Scripts (Thanks to Hal Perkins) test / if Recall from last lecture: test (not built-in) takes arguments

More information

CS2900 Introductory Programming with Python and C++ Kevin Squire LtCol Joel Young Fall 2007

CS2900 Introductory Programming with Python and C++ Kevin Squire LtCol Joel Young Fall 2007 CS2900 Introductory Programming with Python and C++ Kevin Squire LtCol Joel Young Fall 2007 Course Web Site http://www.nps.navy.mil/cs/facultypages/squire/cs2900 All course related materials will be posted

More information

Introduction to ROOT. M. Eads PHYS 474/790B. Friday, January 17, 14

Introduction to ROOT. M. Eads PHYS 474/790B. Friday, January 17, 14 Introduction to ROOT What is ROOT? ROOT is a software framework containing a large number of utilities useful for particle physics: More stuff than you can ever possibly need (or want)! 2 ROOT is written

More information

Part III Appendices 165

Part III Appendices 165 Part III Appendices 165 Appendix A Technical Instructions Learning Outcomes This material will help you learn how to use the software you need to do your work in this course. You won t be tested on it.

More information

CS Introduction to Computational and Data Science. Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017

CS Introduction to Computational and Data Science. Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017 CS 133 - Introduction to Computational and Data Science Instructor: Renzhi Cao Computer Science Department Pacific Lutheran University Spring 2017 Previous class We have learned the path and file system.

More information

CLAS12 Software Tutorial

CLAS12 Software Tutorial CLAS12 Software Tutorial Nathan Harrison Jefferson Lab CLAS Collaboration Meeting June 14, 2017 Jefferson Lab Outline Introduction and preliminary set-up (5 min) Software PSA (5 min) Simulations with GEMC

More information

One of the hardest things you have to do is to keep track of three kinds of commands when writing and running computer programs. Those commands are:

One of the hardest things you have to do is to keep track of three kinds of commands when writing and running computer programs. Those commands are: INTRODUCTION Your first daily assignment is to modify the program test.py to make it more friendly. But first, you need to learn how to edit programs quickly and efficiently. That means using the keyboard

More information

python-ev3dev Documentation

python-ev3dev Documentation python-ev3dev Documentation Release 1.0.0.post32 Ralph Hempel et al Oct 08, 2017 Contents 1 Getting Started 3 2 Usage Examples 5 2.1 Required: Import the library.......................................

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

RHEL Packaging. (making life easier with RPM) Jindr ich Novy Ph.D., June 26, 2012

RHEL Packaging. (making life easier with RPM) Jindr ich Novy Ph.D., June 26, 2012 RHEL Packaging (making life easier with RPM) Jindr ich Novy Ph.D., jnovy@redhat.com June 26, 2012 RHEL Packaging 1/30 Agenda 1 How Red Hat Enterprise Linux is packaged 2 Software Collections (SCLs) Filesystem

More information

Embedded System Design

Embedded System Design Embedded System Design Lecture 10 Jaeyong Chung Systems-on-Chips (SoC) Laboratory Incheon National University Environment Variables Environment variables are a set of dynamic named values that can affect

More information

Coding Getting Started with Python

Coding Getting Started with Python DEVNET-3602 Coding 1002 - Getting Started with Python Matthew DeNapoli, DevNet Developer Evangelist Cisco Spark How Questions? Use Cisco Spark to communicate with the speaker after the session 1. Find

More information

Galaxy Custom Designer SE The New Choice in Custom Schematic Editing and Simulation Environment

Galaxy Custom Designer SE The New Choice in Custom Schematic Editing and Simulation Environment Datasheet Galaxy Custom Designer SE The New Choice in Custom Schematic Editing and Simulation Environment Overview Galaxy Custom Designer SE is the next-generation choice for schematic entry, enabling

More information

Downloading, Installing, and Configuring Audacity Under OS X

Downloading, Installing, and Configuring Audacity Under OS X Downloading, Installing, and Configuring Audacity Under OS X This tutorial describes downloading, installing, and configuring Audacity on computers using the OS X. If Audacity is already on the computer

More information

PROGRAMMING PROJECT ONE DEVELOPING A SHELL

PROGRAMMING PROJECT ONE DEVELOPING A SHELL PROGRAMMING PROJECT ONE DEVELOPING A SHELL William Stallings Copyright 2011 Supplement to Operating Systems, Seventh Edition Prentice Hall 2011 ISBN: 013230998X http://williamstallings.com/os/os7e.html

More information

G-WAN. Complete install process for Ubuntu (both for the 32 and the 64 OS versions).

G-WAN. Complete install process for Ubuntu (both for the 32 and the 64 OS versions). G-WAN Complete install process for Ubuntu 11.10 (both for the 32 and the 64 OS versions). G-WAN (Global Web Area Network) is both a web server (for static web pages) and a web application server (for rich

More information

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209

CSC209. Software Tools and Systems Programming. https://mcs.utm.utoronto.ca/~209 CSC209 Software Tools and Systems Programming https://mcs.utm.utoronto.ca/~209 What is this Course About? Software Tools Using them Building them Systems Programming Quirks of C The file system System

More information

BASH SHELL SCRIPT 1- Introduction to Shell

BASH SHELL SCRIPT 1- Introduction to Shell BASH SHELL SCRIPT 1- Introduction to Shell What is shell Installation of shell Shell features Bash Keywords Built-in Commands Linux Commands Specialized Navigation and History Commands Shell Aliases Bash

More information

R in Linguistic Analysis. Week 2 Wassink Autumn 2012

R in Linguistic Analysis. Week 2 Wassink Autumn 2012 R in Linguistic Analysis Week 2 Wassink Autumn 2012 Today R fundamentals The anatomy of an R help file but first... How did you go about learning the R functions in the reading? More help learning functions

More information

Tutorial II: Cadence Virtuoso ECE6133: Physical Design Automation of VLSI Systems Georgia Institute of Technology Prof.

Tutorial II: Cadence Virtuoso ECE6133: Physical Design Automation of VLSI Systems Georgia Institute of Technology Prof. Tutorial II: Cadence Virtuoso ECE6133: Physical Design Automation of VLSI Systems Georgia Institute of Technology Prof. Sung Kyu Lim I. Setup for Cadence Virtuoso 1. Copy the following files into your

More information