CS791v Homework and Submission

Slides:



Advertisements
Similar presentations
Ravi Mathur Updated December 5,  ODTBX uses Git (see the ODTBX Git Tutorial) ODTBXODTBX Git Tutorial ◦ SourceForge account needed (free). SourceForge.
Advertisements

 Please sit next to your partner.  If you don’t have a partner, please find one now.
SENG 301 – Tutorial 1 Introduction to Eclipse and Subclipse Slides: Theodore D. Hellmann and Jamie Starke.
Submitting Your Signature Piece Electronic Portfolio On Taskstream [Version 5/1/08 /mb] Submitting Your Signature Piece… 1. What Is A “Signature Piece”?
Reproducible Environment for Scientific Applications (Lab session) Tak-Lon (Stephen) Wu.
CSE 528 Final Project Submission Dongli Zhang. Recent Due 10-Paper Survey due November 26 Send PDF file to BOTH Professor and TA Professor:
Getting Started with GIT. Basic Navigation cd means change directory cd.. moves you up a level cd dir_name moves you to the folder named dir_name A dot.
Deep Project Management with XNAT Vanderbilt University
CSE 305 Theory of Database Tutorial on Connecting with Sybase from Java program and Developing GUI Jalal Mahmud, TA, CSE 305.
A primer on version control at OTN
CS Tutorial 1 Getting Started with Visual Studio 2012 (Visual Studio 2010 are no longer available on MSDNAA, please choose Visual Studio 2012 which.
How to Install and Run Prepared by: Shubhra Kanti Karmaker Santu Lecturer CSE Department BUET.
| nectar.org.au NECTAR TRAINING Module 10 Beyond the Dashboard.
1 PA1 - Specification ● Goal ● To see how modern graphics engine and application works ● Objective ● Compile and run samples from a modern ray tracing.
Cole David Ronnie Julio Sam Littlefield. Let’s Begin  Globus Toolkit runs on Unix platform only  Install Ubuntu  download all updates for Ubuntu.
Instructions for ConnectK Game AI project
Install CB 1.8 on Ubuntu. Steps Followed Install Ubuntu (Ubuntu LTS) on Virtual machine – (VMware Workstation) (
How to configure, build and install Trilinos November 2, :30-9:30 a.m. Jim Willenbring.
ECE 544 Software Project 1 Kuo-Chun Huang (KC). Environment Linux (Ubuntu or others) Windows with Cygwin
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Tutorial for Modelsim 1 Installation Download the Modelsim Student Edition: Follow the.
Installing git In Linux: sudo apt-get install git In Windows: download it from run the setuphttp://git-scm.com/download/win.
CSCI 3100 Tutorial 5 Bootstrap & Git ZENG, Jichuan Department of Computer Science and Engineering The Chinese University of Hong.
Indiana Utility Regulatory Commission Electronic Filing System “EFS” Tutorial.
Advanced Computing Facility Introduction
General Purpose computing on Graphics Processing Units
37C00400 Programming I Introduction to the Course - September 13th, 2017 Venkata Marella (Ven)
Version Control Systems
Basics of GIT for developers and system administrators
Welcome to Indiana University Clusters
M.Sc. Juan Carlos Olivares Rojas
CS5100 Advanced Computer Architecture
Development Environment
Source Control Systems
L – Modeling and Simulating Social Systems with MATLAB
Open OnDemand: Open Source General Purpose HPC Portal
Install external command line softwares
L – Modeling and Simulating Social Systems with MATLAB
Setting up Git, GitBash, and GitHub
IST256 : Applications Programming for Information Systems
L – Modeling and Simulating Social Systems with MATLAB
Version Control overview
To the OASIS Royalty Reporting Online Training Course
Eagle Gate College/Provo College Group
INSTALLING SQL SERVER 2016 vNext CTP 1.2 ON LINUX UBUNTU 16.04LTS
Hodor HPC Cluster LON MNG HPN Head Node Comp Node Comp Node Comp Node
AES on GPU using CUDA Choi dae soon.
The Linux Operating System
ALICE-Juniors Meeting
Version Control Systems
ECE544: Software Assignment 3
Distributed Version Control with git
Testing REST IPA using POSTMAN
The Big Picture
Setting up Git, GitBash, and GitHub
slides borrowed and adapted from Alex Mariakis and CSE 390a
Operation System Program 4
Some Tips for Using Eclipse
What is the Chapter Dashboard?
Computer Systems Programming
How to Run a Java Program
Advanced Computing Facility Introduction
How to Run a Java Program
To the OASIS Royalty Reporting Online Training Course
Introduction to Git and GitHub
Introduction to Git and Github
Preparation for Assignment 2
Chapter 4:Parallel Programming in CUDA C
CSCE 206 Lab Structured Programming in C
Operating System Kernel Compilation
Presentation transcript:

CS791v Homework and Submission Rui (Ray) Wu raywu1990@nevada.unr.edu

Overview How to submit homework How to install CUDA toolkit How to use Cubix

How to submit homework Step 1: Register for a GitHub student account Step 2: Download Rui’s GitHub template repository: https://github.com/ruiwu1990/CS791v-GPU Step 3: Add Rui as your collaborator

Step 1: Register a GitHub student account Apply for a UNR edu email address. Instructions are here: https://www.unr.edu/it/communications/email/student Register for a GitHub student account: https://education.github.com/ With a GitHub student account you can create a private repository (for free) ,

Step 2: Download Rui’s GitHub template repository Here is the link: https://github.com/ruiwu1990/CS791v-GPU Folder structure: include (header files), src (.cpp and .cu), build (DON’T UPLOAD, files generated by the “make” command), README file (introduction) A similar folder structure is acceptable, e.g. data (.csv) Three special files: .gitignore: what kind files will not be uploaded makefile: commands to compile your program and generate executable file. Here is a tutorial how to write a makefile: https://www.cs.bu.edu/teaching/cpp/writing-makefiles/ Cmake: more power but more complex. CMake recognizes which compilers to use for a given kind of source. Daniel provides PA0 cmake file. Here is a tutorial on Cmake: https://cmake.org/cmake/help/v3.3/command/file.html

Step 3: Add Rui as your collaborator My GitHub id: ruiwu1990 Live demo how to add: settings->collaborators->type Rui’s ID How I will check your homework: I will ONLY use Make in the TERMINAL, so test it in a terminal before the deadline. Place all your homework in the same repository (PA0, PA1, …) Cuda IDEs will be introduced in the next class

How to install the CUDA toolkit Ubuntu 16.04 First you need to check if the driver is installed, by using “nvidia-smi” If “cannot communicate with graphic card”, follow instructions: https://askubuntu.com/questions/851069/latest-nvidia-driver-on-ubuntu-16-04

How to install the CUDA toolkit Here is the download link: https://developer.nvidia.com/cuda-90-download-archive Latest version is 9.1 but it is not stable. We are using 9.0 in this course Step 1, you need to cd into the download folder Step 2: sudo apt-key add /var/cuda-repo-9-0-local/7fa2af80.pub After Step 4, you may need to run: sudo apt-get -f install

How to install the CUDA toolkit Setup your PATH variable This tells your shell where to find the executable file->nvcc apt install nvidia-cuda-toolkit may work BUT it changes the paths and makes the installation of other tools more difficult. If it does not work: try this: https://askubuntu.com/questions/799184/how-can-i-install-cuda-on-ubuntu-16-04

How to use Cubix First you need a Cubix account (cse account) Some of you already have one, The rest need to ask for one: CSE Admins, ehelp@cse.unr.edu ssh <username>@cubix.cse.unr.edu, replace <username> with your username If you execute any GPU program in Cubix, you need to use Slurm: https://slurm.schedmd.com/quickstart.html Slurm: a workload manager and manages all the execution requests in queues.

How to use Cubix Environmental parameter setup Execute program: srun nvcc ./PA0 Other slurm commands: https://ubccr.freshdesk.com/support/solutions/articles/5000686861-how-do-i-check-the-status-of-my-job-s-

PA0 If everything is installed correctly: If not: Let’s do a live demo

Questions & Comments? Img credit: http://advertisementfeature.cnn.com/think-brilliant/wrong-question-right-answer.html