OSP Tutorial An Introduction. Getting to OSP  Obtain a CSE account  Recommend xming to remote log in from USF Website  https://rc.usf.edu/trac/doc/wiki/XmingInstall.

Slides:



Advertisements
Similar presentations
An Introduction to Programming By :- Vishal Hirani B.Tech II year (CSE)
Advertisements

Introduction to the Omega Server CSE Overview Intro to Omega Basic Unix Command Files Directories Printing C and C++ compilers GNU Debugger.
CodeCrunch Getting Started.
HELP GUIDE NEW USER REGISTRATION (SLIDE 2) TAKING A QUIZ (SLIDE 8) REVIEWING A QUIZ (SLIDE 17) GROUP MEMBERSHIP (SLIDE 26) CREATING QUIZZES (SLIDE 31)
Compliance Assist! Refresher Instruction Guide Accreditation Module.
THE UNIX SYSTEM Ashish Gupta TA, Intro to Networking Jan Recital 2 Introduction to Networking, Instructor: Prof. Yan Chen.
COWL Pilots in Economics These slides contain tips on using the COWL site for peer review Peer review means giving and receiving feedback on draft assignments.
Introduction to C Programming Overview of C Hello World program Unix environment C programming basics.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
Assignments. Overview Introduction Naming uploading Browsing Submitting Grade.
HPCC Mid-Morning Break Interactive High Performance Computing Dirk Colbry, Ph.D. Research Specialist Institute for Cyber Enabled Discovery.
1 Some basic Unix commands u Understand the concept of loggin into and out of a Unix shell u Interact with the system in a basic way through keyboard and.
By: Jesse Robillard.  This PowerPoint will take you though the process of making a successful website.
Creating a Web Page HTML, FrontPage, Word, Composer.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction What is Unix? An operation system (OS), similar to Windows, MacOS X Why learn Unix? Greatest Software.
CS190/295 Programming in Python for Life Sciences: Lecture 1 Instructor: Xiaohui Xie University of California, Irvine.
Agenda What is Computer Programming? The Programming Process
Introduction to UNIX/Linux Exercises Dan Stanzione.
CSE 390a Editing and Moving Files
YourClassPage.com TM Inservice Quickstart Guide Getting YOUR classpage up and running!
SimpleScalar Tool Set, Version 2 CSE 323 Department of Computer Engineering.
Chapter 3: Completing the Problem- Solving Process and Getting Started with C++ Introduction to Programming with C++ Fourth Edition.
Vim Editor and Unix Command gcc compiler Computer Networks.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
CPSC1301 Computer Science 1 Overview of Dr. Java.
Active-HDL Interfaces Debugging C Code Course 10.
Next Unix Topics Tuesday, 2/11 & 18/2014. Change Password (by 2/14/14) ssh to account on – faclinux.cse.ohio-state.edu – stdlinux.cse.ohio-state.edu passwd.
CGS 3460 Why we choose UNIX n Powerful lMulti-user operating system lGood programming tools Most heavy-duty database management systems started out on.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
1 ENGI 2420 Structured Programming (Lab Tutorial 7) Memorial University of Newfoundland.
1 SEEM3460 Tutorial Compiling and Debugging C programs.
1 Running Programs on CSP CSP01.csci.unt.edu … CSP09. … Secure shell (ssh) to CSP computer Transfer file(s) using scp, … Edit on CSP machine with vi, pico,
MySQL Getting Started BCIS 3680 Enterprise Programming.
THE UNIX SYSTEM Jan Recitation 2 Introduction to Networking.
1 ENGI 2420 Structured Programming (Lab Tutorial 7) Memorial University of Newfoundland.
How to Execute TSR Program. Install Borland C++ Download Borland C++ from LMS – oads/BORLANDC.rarhttp://vulms.vu.edu.pk/Courses/CS609/Downl.
1 Introduction to SQL *Plus Oracle SQL Interface MIS309 Database Systems.
Lecture 1: Introduction UNIX programming environment –Editors –Remote shell setup –C compilers –Debugger –make.
1 CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
MySQL Getting Started BCIS 3680 Enterprise Programming.
Linux CSE 1222 CSE1222: Lecture 1BThe Ohio State University1.
Tutorial Six Linux Basics CompSci Semester Two 2016.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
First Day in Lab Making a C++ program
slides created by Marty Stepp, modified by Josh Goodwin
Appendix A Barb Ericson Georgia Institute of Technology May 2006
Getting Started with R.
Basic operations in Matlab
Creating Programs on UNIX
Including Your Modules into NS 2
Quick Start Guide for Visual Studio 2010
CS190/295 Programming in Python for Life Sciences: Lecture 1
Compilation VS Interpretation
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
How to Run a Java Program
Operating Systems Lecture 5.
Getting Started: Developing Code with Cloud9
Debugging at Scale.
Preceptor Introduction to CORE ELMS
CSE 391 Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
How to Execute TSR Program
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
How to submit your project?
CSE 390a Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
CSE 391 Lecture 3 bash shell continued: processes; multi-user systems; remote login; editors slides created by Marty Stepp, modified by Jessica Miller.
How to Execute TSR Program
Video Notes.
Numpy, pylab, matplotlib (follow-up)
CSCE 206 Lab Structured Programming in C
Presentation transcript:

OSP Tutorial An Introduction

Getting to OSP  Obtain a CSE account  Recommend xming to remote log in from USF Website   Log Into grad  grad.cse.usf.edu

Getting to Know OSP  Manual is Your Friend!!!!  Read OSP Manual to gain an understanding of programming in OSP  Read subsequent sections in 1 for an understanding of specific modules in OSP

Guide for First Assignment  Log into grad.cse.usf.edu server  Copy necessary files from /home/csee1/ospuser/HW109.solaris

Guide for First Assignment  Copy necessary files to your computer or to a working directory:  Makefile  inter.c  timeint.c  dialog.c  inter.o

Guide for First Assignment  Follow directions on assignment handout for modifying the Makefile  Use knowledge from other modules in OSP to edit timeint.c  Use favorite C editor to edit the file or pico under Unix.

Guide for First Assignment

 When finished editing timeint.c file, upload files to directory on grad if necessary  On grad, in the directory where your files are located type “make” to compile the program  Type OSP to run the simulator (See 2.2 and 2.3 in manual)

Guide for First Assignment  Compile OSP (ignoring warning messages): 234 grad: make cc -c -g dialog.c cc -c -g inter.c cc -c -g timeint.c cc /home/csee1/ospuser/HW109.solaris/osp.o dialog.o inter.o timeint.o -lm -g –o OSP 235 grad: OSP –d par.high... output is redirected to 'simulation.run'... wait... FINITA FINITA

Guide for First Assignment  Table 2.1 shows simulator parameters  Recommended Interactive and Trace modes to view simulation steps

Guide for First Assignment  Example of step in OSP

Guide for First Assignment  Can put numbers in a file for parameters and load this file using OSP “your_parameter_filename” (see pg77)  Tips for debugging:  OSP –d enters debugging mode  View simulator results using a text editor in simulation.run (ex. PICO)

Guide for First Assignment  Successful Simulator Run:

Guide for First Assignment  Once timeint.c completed, go on to inter.c  Once inter.c is completed, time to hand in!  Hand-In (See pg. 82 in manual)  Run the hand_in script located in the OSP directory from the directory with your files

Guide for First Assignment

 Pick the compiler (here gcc, you use cc)

Guide for First Assignment  Enter the parameter file name  There are two parameter files, one is less intense than the other. First run the par.trace file.

Guide for First Assignment  Enter any necessary comments in the comments field  Hopefully all runs well!

Guide for First Assignment  Now enter the next parameter file par.high

Guide for First Assignment  Again enter any necessary comments

Guide for First Assignment  If you see this, you pat yourself on the back!

Guide for First Assignment  Press enter to close  Verify your submission worked by looking at simulation.run

Guide for First Assignment  Debugging Mode:

Guide for First Assignment  For your result comparison with the simulators’ results, use the run.high parameter file.  Section 2.4 talks about interpreting the results.

Questions?