CSCE UVM Hands-on Session-1 Pre-Work

Similar documents
CS 246 Winter Tutorial 1

CS 261 Recitation 1 Compiling C on UNIX

CS CS Tutorial 2 2 Winter 2018

Version Control with Git ME 461 Fall 2018

Git. Charles J. Geyer School of Statistics University of Minnesota. Stat 8054 Lecture Notes

Lesson 7: Recipe Display Application Setup Workspace

Tutorial: Getting Started with Git. Introduction to version control Benefits of using Git Basic commands Workflow

Version Control. Software Carpentry Github s Hello World Git For Ages 4 And Up You need source code control now

L Modeling and Simulating Social Systems with MATLAB

Sample Spark Web-App. Overview. Prerequisites

Git Guide. Meher Krishna Patel. Created on : Octorber, 2017 Last updated : October, More documents are freely available at PythonDSP

Effective Software Development and Version Control

GETTING STARTED WITH. Michael Lessard Senior Solutions Architect June 2017

Lecture 01 - Working with Linux Servers and Git

Version control system (VCS)

213/513/613 Linux/Git Bootcamp. Cyrus, Eugene, Minji, Niko

2 Initialize a git repository on your machine, add a README file, commit and push

Object Oriented Programming. Week 1 Part 2 Git and egit

Tips on how to set up a GitHub account:

Introduction to Unix The Windows User perspective. Wes Frisby Kyle Horne Todd Johansen

GIT. A free and open source distributed version control system. User Guide. January, Department of Computer Science and Engineering

Eugene, Niko, Matt, and Oliver

Introduction to the Linux Command Line

Lab 4: Shell Scripting

Getting the files for the first time...2. Making Changes, Commiting them and Pull Requests:...5. Update your repository from the upstream master...

Introduction to the UNIX command line

Version Control with GIT

Code Repository. P Blanchfield

(Cloud9) and to the Remote Repository (GitHub)

A Brief Git Primer for CS 350

CS 143A. Principles of Operating Systems. Instructor : Prof. Anton Burtsev

Precursor Steps & Storage Node

Software Development I

Lecture 2: Data in Linguistics, Git/GitHub, Jupyter Notebook. LING 1340/2340: Data Science for Linguists Na-Rae Han

Submitting your Work using GIT

Intermediate Programming, Spring Misha Kazhdan

Setting up GitHub Version Control with Qt Creator*

Software Installation - Accessing Linux and Checking your Environmental Variables

Version Control with Git

Version control with git and Rstudio. Remko Duursma

Linux and Git Boot Camp

OpenMP Example. $ ssh # You might have to type yes if this is the first time you log on

Programming the DMCC in C

Windows. Everywhere else

History...: Displays a window of Gitk, a standard commit viewer for Git.

Oregon State University School of Electrical Engineering and Computer Science. CS 261 Recitation 1. Spring 2011

LAB MANUAL GIT BY PRATIK JAIN. To start with git bash, we need to authenticate ourselves so that for every commit, git can use this information.

Supercomputing environment TMA4280 Introduction to Supercomputing

Lab 1 1 Due Wed., 2 Sept. 2015

Gitlab Setup/Usage by Yifeng Zhu modified by Vince Weaver 30 January 2019

Agenda. - Final Project Info. - All things Git. - Make sure to come to lab for Python next week

User Guide Version 2.0

EECS 470 Lab 4. Version Control System. Friday, 31 st January, 2014

Part I. UNIX Workshop Series: Quick-Start

School of Computing Science Gitlab Platform - User Notes

15-122: Principles of Imperative Computation

Helpful Tips for Labs. CS140, Spring 2015

LAB #5 Intro to Linux and Python on ENGR

Installing and Using Docker Toolbox for Mac OSX and Windows

SwanSim - A Guide to Git / SourceTree / GitLab for Windows

Bitnami Apache Solr for Huawei Enterprise Cloud

Intermediate Programming, Spring Misha Kazhdan

Introduction to Scientific Computing

Software Project (Lecture 4): Git & Github

Introduction to Git and GitHub for Writers Workbook February 23, 2019 Peter Gruenbaum

Revision Control. An Introduction Using Git 1/15

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Managing Projects with Git

Chapter 5. Version Control: Git

Rabbit Linux Masternode with Windows Cold Wallet

Recitation #1 Unix Boot Camp. August 29th, 2017

Lab Exercise Git: A distributed version control system

GitHub Classroom. Click Sign up in to top right of the page, and the following dialog is displayed.

Bitnami MEAN for Huawei Enterprise Cloud

Lab 4: Bash Scripting

Dalhousie University CSCI 2132 Software Development Winter 2018 Lab 8, March 22

CS314 Software Engineering Configuration Management

Using GitHub to Share with SparkFun a

bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs

FEEG Applied Programming 3 - Version Control and Git II

CVS How-to. 17th July 2003

Contents. Note: pay attention to where you are. Note: Plaintext version. Note: pay attention to where you are... 1 Note: Plaintext version...

Introduction to Discovery.

Lab Objective. Lab Assignment. Downloads and Installation

Carnegie Mellon. Linux Boot Camp. Jack, Matthew, Nishad, Stanley 6 Sep 2016

CS 390 Software Engineering Lecture 5 More Git

Docusnap X - Docusnap Script Linux. Script-based Inventory for Linux

CSE 391 Lecture 9. Version control with Git

Exercise 1: Basic Tools

From Commits to Collaboration: A Git Tutorial for Social Scientists

bwunicluster Tutorial Access, Data Transfer, Compiling, Modulefiles, Batch Jobs

IoT with Intel Galileo Gerardo Carmona. makerobots.tk

Software Revision Control for MASS. Git Installation / Configuration / Use

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

Using ISMLL Cluster. Tutorial Lec 5. Mohsan Jameel, Information Systems and Machine Learning Lab, University of Hildesheim

Remote Access to Unix Machines

Git and GitHub. Dan Wysocki. February 12, Dan Wysocki Git and GitHub February 12, / 48

HW2d Project Addenda

TangeloHub Documentation

Helsinki 19 Jan Practical course in genome bioinformatics DAY 0

Transcription:

CSCE489-689 UVM Hands-on Session-1 Pre-Work Please complete the following steps before the lecture on Feb-16. These steps will help set-up the environment and tools necessary for the hands-on session. You are expected to bring your own machine (preferably a laptop) to the session. This serves as a sanity check of your system, connection and the HERA server. Post any issues you face with the below instructions on Piazza. Please realize that some issues might be specific to your system. It is your responsibility to ensure that this pre-work is completed before the session. Connect to the HERA Server: On Windows: Use Putty along with Xming or Mobaxterm. The detailed instructions are provided in tool_demo_manual.pdf. On Linux: From within the terminal $ ssh -X <username>@hera.ece.tamu.edu Enter your credentials (netid and password) To copy files between the server and your machine: Windows: winscp, Mobaxterm (check piazza for instructions) Linux: $ scp examplefile yourusername@yourserver:/home/yourusername/ (https://linuxacademy.com/blog/linux/ssh-and-scp-howto-tips-tricks/) Essentially, ensure that you can connect to the server and transfer files between your machine and the server. All the instructions below, assume that you use bash as your shell. To check this: $ echo $SHELL or $ echo $0 Expected output is: /bin/bash If you are using a different shell, switch your default shell to Bash or adapt the instructions to your shell. Clone Lab01 GitHub Repository: Create a GitHub user profile, if you do not have one already. Simply, login to the following site with your netid and howdy password: https://github.tamu.edu/ Create a clone of the lab repository in a directory of your choice: $ cd ~ $ git clone https://github.tamu.edu/venkateshwar-k/lab01.git This step creates a copy of the lab files in your directory. A version control system, like GitHub, is slightly confusing initially. But it is immensely helpful in tracking changes, especially when working in a group. We will go through the basics of GitHub in the first session. In case you are impatient, check out this tutorial. It is strongly recommended that you complete your labs and project on GitHub (private view).

Verify that you have a clone of the repository. You must find a directory named lab01. $ ls $ cd ~/lab01 Enter the lab01 directory and verify its contents. You should see the following. Please peruse through the README and browse through the design files (top.sv). setup.sh A bash script to setup environment variables git_commands Some basic git commands README.md README first for file structure project A directory containing the relevant design files Clean Compile: Source the setup script: $ source setup.bash Success Check the setup: $ irun -version TOOL: irun 15.10-s013 is your expected output. If you do not see this, setup was not successful. Go to the simulation folder: $ cd./project/sim/ Compile and elaborate the files: $ irun -f cmd_line_comp_elab.f You should see a directory INCA_libs. This directory stores the work library on compilation. The name INCA_libs is specific to the Cadence toolset. You should also see the log file irun.log. This has a detailed description of the compilation. It is useful to browse through this file. Open irun.log with a text editor of your choice (vim) and look for errors and warnings. $ vim irun.log The keywords for warnings and errors are *W and *E respectively. Search for errors in vim: :/*E You should see E486: Pattern not found: *E. At the end of the file, you should see Writing initial simulation snapshot: worklib.top:sv. Now we can conclude that compilation is clean and free of errors. It is helpful to understand the warnings in the log file. You could also peruse through the following files: file_list.f, and cmd_line_comp_elab.f. Clear up the simulation files: $./ALL_CLEAR Create your own GitHub Repository: The directory lab01 is your own local workspace. In order to have a backup of the changes, you need to create an online repository on GitHub and link the two. You cannot commit any changes to the original lab01 repository. Therefore, you need to create your own github repository.

Please ensure that you clear the simulation files (ALL_CLEAR) before this step. Disconnect from original repository: $ cd ~/lab01 $ git remote rm origin Login to https://github.tamu.edu/ Click on new repository on the top right:

Give your repository a name, and a description. Make it private. No need for a README or gitignore. Click on create repository. Connect your local workspace to this remote repository. Use the directions described under or push an existing repository from the command line

$ git remote add origin https://github.tamu.edu/<username>/my_own_lab.git $ git push -u origin master Check the status of the local workspace: $ git status # On branch master nothing to commit, working directory clean is the expected result. Refresh your GitHub page. You will see all the files on your webpage. That s all folks! You are set for the first hands-on session.