ITCS 4/5010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Dec 28, 2012assignprelim.1 Assignment Preliminaries ITCS 4010/5010 Spring 2013.

Slides:



Advertisements
Similar presentations
1 Workshop 20: Teaching a Hands-on Undergraduate Grid Computing Course SIGCSE The 41st ACM Technical Symposium on Computer Science Education Friday.
Advertisements

Dayu Zhang 9/8/2014 Lab02. Example of Commands pwd --- show your current directory This is home of venus, not your home directory Tilde: means you are.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
1c.1 Assignment 2 Preliminaries Review Full details in assignment write-up. ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. Jan 24, 2007.
AssignPrelim1.1 © 2011 B. Wilkinson/Clayton Ferner. Modification date: Aug 22, 2011 Course Preliminaries.
Introducing the Command Line CMSC 121 Introduction to UNIX Much of the material in these slides was taken from Dan Hood’s CMSC 121 Lecture Notes.
AssignPrelim1.1 ITCS 4010 Grid Computing, 2005, UNC-Charlotte, B. Wilkinson. Course Preliminaries.
AssignPrelim1.1 ITCS 4146/5146 Grid Computing, 2007, UNC-Charlotte, B. Wilkinson. Jan 13, 2007 Course Preliminaries.
AssignPrelim1.1 ITCS 4146/5146 Grid Computing, 2008, UNC-Charlotte, B. Wilkinson. Aug 25, 2008 Course Preliminaries.
1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2010 B. Wilkinson/Clayton Ferner. Spring 2010 Grid computing course. Modification.
1c.1 Assignment 2 Preliminaries Review (Full details in assignment write-up.)‏ © 2011 B. Wilkinson/Clayton Ferner. Fall 2011 Grid computing course. Modification.
CS1020: Intro Workshop. Topics CS1020Intro Workshop Login to UNIX operating system 2. …………………………………… 3. …………………………………… 4. …………………………………… 5. ……………………………………
Dayu Zhang 9/3/2014 Lab01. Lab Instructor: Dayu Zhang Office Hour Mon/Wed 10:40am – 11:10am Room A201 Lab Website
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
AssignPrelim1.1 © 2010 B. Wilkinson/Clayton Ferner. Modification date: Dec 20, 2009 Course Preliminaries.
A crash course in njit’s Afs
L INUX C OMMAND L INE I NTERFACE G UNAANBAN.G
Using Macs and Unix Nancy Griffeth January 6, 2014 Funding for this workshop was provided by the program “Computational Modeling and Analysis of Complex.
ITCS 6/8010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Jan 22, 2011assignprelim.1 Assignment Preliminaries ITCS 6010/8010 Spring 2011.
Introduction to UNIX/Linux Exercises Dan Stanzione.
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2012, Jan 18, 2012assignprelim.1 Assignment Preliminaries ITCS 4145/5145 Spring 2012.
Help session: Unix basics Keith 9/9/2011. Login in Unix lab  User name: ug0xx Password: ece321 (initial)  The password will not be displayed on the.
Nick Geoghegan1 Introduction to Linux Workshop. Nick Geoghegan2 Getting Started Download the following files:
1 Intro to Linux - getting around HPC systems Himanshu Chhetri.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
HPC at HCC Jun Wang Outline of Workshop1 Overview of HPC Computing Resources at HCC How to obtain an account at HCC How to login a Linux cluster at HCC.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
1 ITI 1120 Lab # 1 An Introduction to the Lab Environment Contributors: G. Arbez, M. Eid, D. Inkpen, A. Williams, D. Amyot.
PROGRAMMING PROJECT POLICIES AND UNIX INTRO Sal LaMarca CSCI 1302, Fall 2009.
AE6382 Secure Shell Usually referred to as ssh, the name refers to both a program and a protocol. The program ssh is one of the most useful networking.
ACCESS IC LAB Graduate Institute of Electronics Engineering, NTU Usage of Workstation Lecturer: Yu-Hao( 陳郁豪 ) Date:
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
Getting started: Basics Outline: I.Connecting to cluster: ssh II.Connecting outside UCF firewall: VPN client III.Introduction to Linux IV.Intoduction to.
ITCS 4/5010 CUDA Programming, UNC-Charlotte, B. Wilkinson Dec 24, 2012outline.1 ITCS 4010/5010 Topics in Computer Science: GPU Programming for High Performance.
BIF713 Basic Unix/Linux Commands Getting Help with Commands.
1 Short Course on Grid Computing Jornadas Chilenas de Computación 2010 INFONOR-CHILE 2010 November 15th - 19th, 2010 Antofagasta, Chile Dr. Barry Wilkinson.
Unix and Samba By: IC Labs (Raj Kidambi). What is Unix?  Unix stands for UNiplexed Information and Computing System. (It was originally spelled "Unics.")
1May 16, 2005 Week 2 Lab Agenda Command Line FTP Commands Review More UNIX commands to learn File name expansion - * Introduction of vi.
ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, Dec 26, 2012outline.1 ITCS 4145/5145 Parallel Programming Spring 2013 Barry Wilkinson Department.
Introduction to Programming Using C An Introduction to Operating Systems.
1 Workshop 9: General purpose computing using GPUs: Developing a hands-on undergraduate course on CUDA programming SIGCSE The 42 nd ACM Technical.
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Dr. Sajib Datta Jan 16,  The website is up.  Course lectures will be uploaded there ◦ Check regularly for assignments and update.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Installing and Configuring Moodle. Download Download latest Windows Install package from Moodle.orgMoodle.org.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Jan 16a, 2014.
Assignment Preliminaries The following applies to all assignments © 2016 B. Wilkinson Assignprelim.ppt Modification date: January 3, 2016.
Assignprelim.1 Assignment Preliminaries © 2012 B. Wilkinson/Clayton Ferner. Modification date: Aug 10, 2012.
Advanced Computing Facility Introduction
Tutorial Six Linux Basics CompSci Semester Two 2016.
GRID COMPUTING.
ENEE150 Discussion 01 Section 0101 Adam Wang.
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.
CS1010: Intro Workshop.
Getting started with CentOS Linux
Tutorial Six Recap & Linux Basics CompSci Semester Two 2016.
Assignment Preliminaries
Dr. Barry Wilkinson © B. Wilkinson Modification date: Jan 9a, 2014
Web Programming Essentials:
Getting Started: Amazon AWS Account Creation
Getting started with CentOS Linux
Assignment Preliminaries
UNIX/LINUX Commands Using BASH Copyright © 2017 – Curt Hill.
CSCE 206 Lab Structured Programming in C
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

ITCS 4/5010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Dec 28, 2012assignprelim.1 Assignment Preliminaries ITCS 4010/5010 Spring 2013

assignprelim.2 Computer systems used for assignments Generally GPU programming assignments will be done on GPU server coit-grid07.uncc.edu GPU server coit-grid06.uncc.edu is available as a backup if coit-grid07.uncc.edu is not available. Account details for the coit-grid cluster will be sent by .

coit-grid01-4: Each two Xeon processors (3.4Ghz) 8GB main memory coit-grid05: Dell R900, four quad-core Xeon processors (2.93Ghz) 64GB main memory 1.2 TB disk coit- grid01 switch coit- grid05 coit- grid03 coit- grid02 coit- grid04 All user’s home directories on coit-grid05 (NFS) UNCC GPU servers used for course coit- grid06 NVIDIA Tesla GPU (448 core Fermi) Login from within the campus only Login from on-campus or off-campus coit- grid07 NVIDIA Tesla GPU (448 core Fermi) coit-grid07: GPU server, X GHz quad-core Xeon processor with NVIDIA 2050 GPU, 12GB main memory coit-grid06: GPU server with NVIDIA 2050 GPU, Backup coit-grid07.uncc.edu

Accounts As soon as you get your account details, check that account works!! If you do not, it could delay you doing the assignments and is not a valid reason for being late on a submission. assignprelim.4

assignprelim.5 Traditional way from a Windows system is to use PuTTY for a command line remote access. Remote Access coit-grid07.uncc.edu Select SSH PuTTY -- obtain from: Can use this to save settings

Terminal Window assignprelim.6 Enter your username and after password prompt, your password. When server information filled in PuTTY correctly, click Open button. This will open a terminal:

WinSCP SCP client Useful for transferring files to and from servers. Can also be used as an ssh client. WinSCP can be downloaded from It is recommended to install both PuTTY and WinSCP. assignprelim.7 Remote directoryLocal directory Drag to move files

WinSCP console window Console terminal selection

assignprelim.9 Testing account Log onto coit-grid07 with the username and password given. Check simple Linux commands work. See next. Make sure you can see your home directory (/nsf-home/, which is on coit-grid05).

assignprelim.10 Commonly Used Linux Commands Viewing and Navigating Directories Frequently used commands for viewing/navigating directories. ls -a List files in current directory. -a says list all files including hidden files (those starting with a period) pwdPrint the full path of the current directory cd directory Change user’s directory to that specified, or if none specified, to user’s home directory cd..Move up one directory

assignprelim.11 Commonly Used Linux Commands Changing Password Once you have logged on, you may need to change your password as your account may have been set up with a password that was sent to you in an insecure way (say by ). The command is passwd which will prompt for the current password and then the new password. NOTE: For the coit-grid cluster, you have to log into coit- grid02.uncc.edu to make a change to the password. (A cron script propagates passwords every 15 minutes to the other servers.)

assignprelim.12 Creating Directories and Files Files are usually created using an editor. The standard Linux editor is called vi. One simple editor that may be more convenient for the casual user and part of most Linux installations is called nano. To invoke nano, type nano filename or without a file name if file not yet created. One simply types into the window to change the contents the file. Use control-O to save and control-X to exit. Available commands are given at the bottom of the window

Nano editor File being edited Simply type in as needed Control key commands: Control-O to save, Control-X to exit

assignprelim.14 Manipulating Directories and Files Common commands for manipulating directories and files: mkdir directoriesCreate one or more directories cat filesdisplays contents of files. more file less fileboth display file one page at a time (space bar to go forward one page, 'b' to go backward one page, 'q' to quit) cp file1 file2Copy file1 to file2 cp file1 directoryCopy file1 to directory mv sources destinationMove or rename files and directories rm filesDelete one of more files rmdir directoriesDelete one of more directories. Must be empty. rmdir -r directoriesRemove non-empty directories (recursive remove)

Connecting to coit-grid06.uncc.edu if needed You cannot connect to coit-grid06.uncc.edu from off-campus because of a firewall So you will need to ssh into say coit-grid01 and then ssh from coit-grid01 to coit-grid06 From coit-grid01 command line, type: ssh coit-grid06.uncc.edu –l username -X assignprelim.15 -l option if a different username -X option if need X11 forwarding

Using an IDE with the remote servers Technically possible to use Eclipse or Microsoft Visual Studio on your client computer for code development with the final code executing on the GPU server. We will look into this more in the class. assignprelim.16

PCs with GPUs installed Lab 335 (planned to be moved) Windows XP computers in Woodward lab room 335 have mid-level NVIDIA GPUs installed and can also be used for testing. Use Microsoft Visual Studio. Your own PC with a NVIDIA GPU installed You can also do work on your own computer if it has a NVIDIA GPU installed – you will need to install NVIDIA software. Some Mac Pro’s Has NVIDIA GPU installed. You will still need to install NVIDIA software. Use basically as a Linux system. assignprelim.17

Using your own computer for assignments Code development may be easier on your own computer with an IDE. Computers will need a NVIDIA GPU card and the NVIDIA CUDA toolkit installed to compile and run code locally assignprelim.18 Unless otherwise directed, you are allowed to do each assignment totally on your own computer with a NVIDIA GPU installed although you will probably will not get the execution speeds possible on the GPU servers – clearly describe your software set-up in the assignment submissions.

assignprelim.19 UNC-C Moodle will be used for submitting assignments and for multiple-choice class tests. Access is through 49er Express or A link is provided from the course home page: Make sure you use a recent browser. Class tests and assignment submission

Moodle Select the combined course: Spring 2013-ITCS :ITCS _Combined CHECK YOU CAN ACCESS THIS!

assignprelim.21 Your name!!!! Whether you are an undergraduate or graduate student. Your institution Clearly identify each part in the assignment you did Give your code with an explanation. Show that your programs work by taking screen shots and include these screen shots in the document. –To include screen shots from Windows XP, select window, press Alt- Printscreen, and paste to source file. –Specific screen shots may be requested in the assignment write-up and must be present and identified. What to put in document for each assignment

assignprelim.22 You can produce the source document in any format (Word etc.) BUT only submit a single PDF document. No other format accepted. IT MUST BE A SINGLE PDF FILE Creating PDF: Print selecting Adobe PDF print driver, my approach (or “save as PDF” may be available or use free converter such as pdf995). Document format

Submit your PDF document to Moodle at the appropriate place e.g. “Assignment 1”, “Assignment 2”, etc, which is only shown when assignment set. DO NOT SUBMIT MULTIPLE FILES. YOU CAN MAKE A RE-SUBMISSION THAT REPLACE THE PREVIOUS SUBMISSION BEFORE THE DEADLINE. DO NOT SUBMIT TO ME BY UNLESS I SPECIFICALLY ASK YOU TO DO SO!! I WILL IGNORE THE .

TO REPEAT - SUBMIT A SINGLE PDF FILE TO MOODLE, OTHERWISE:

assignprelim.25 Each assignment will have posted due date posted on the course home page: which is firm unless you have documented system problems. Due Date

Course Assistance Course Teaching Assistant Haoqi Zhao TA on matters such as user accounts, UNC-C system not functioning, or software issues (with a copy of the to Contact the instructor B. Wilkinson for matters such as course materials and assignment write-up.

Questions