ITCS 6/8010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Jan 22, 2011assignprelim.1 Assignment...

Post on 25-Dec-2015

217 views 4 download

Tags:

transcript

ITCS 6/8010 CUDA Programming, UNC-Charlotte, B. Wilkinson, Jan 22, 2011 assignprelim.1

Assignment Preliminaries

ITCS 6010/8010Spring 2011

coit-grid01-4 each dual Xeon processors(3.4Ghz) 8GB main memory

coit-grid05 -- Four quad-core Xeon processors (2.93Ghz)64GB main memory1.2 TB disk

coit-grid01

coit-grid01.uncc.edu – coit-grid06.uncc.edu

switch

coit-grid05

coit-grid03

coit-grid02

coit-grid04

All user’s home directories on coit-grid05 (NFS)

Computer system used for course

coit-grid06

NVIDIA Tesla GPU

(448 core Fermi)

Login from within the campus onlyLogin from

off-campus

assignprelim.3

Student accounts on computer systems

• Most programming assignments will be done on coit-grid06 GPU server.

• Account details will be sent by email.

Changing your password

You have to log onto coit-grid02 to change your password for it to take effect and be propagated to all servers in the cluster.  There may be a time delay for that to happen.

Command to change password passwd

assignprelim.4

• Traditional way from a Windows system is to use PuTTY for a command line remote access.

Remote Access

coit-grid01.uncc.edu

Select ssh

Obtain from:

http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html (Search on PuTTy)

File transfers and editing

• Convenient to use WinSCP as well as Putty or instead of Putty

assignprelim.5

Obtain from: http://winscp.net/eng/index.php

Editor

• Once logged onto server, can use various Linux editors.

• nano is easy (although does not highlight C syntax)

assignprelim.6

assignprelim.7

Linux systemIt turns out that often it is more convenient to use Linux system, especially if you are forwarding graphics.

Cygwin can be installed on a Windows system to run native Linux applications including shells.

Very large if whole package installed. Find from: http://cygwin.com/

Probably best if you intend to forward graphics (see assignments) as it comes with an X11 server (XWin) and a command line terminal X client (Xterm)

assignprelim.8

Start Xterm (should also start X server)

Check X server running

with xclock

Connecting to coit-grid06.uncc.edu• You cannot connect to coit-grid06.uncc.edu

from off-campus because of a firewall

• So you will need to ssh into coit-grid01 and then ssh from coit-grid01 to coit-grid06

• From command line, type:

ssh coit-grid06.uncc –l username -X

assignprelim.9

-l option if a different username

-X option if need X11 forwarding

PCs with GPUs installedLab 335

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 – more details in assignment.

Your own PC with a NVIDIA GPU installedYou can also do work using your own computer if it has a NVIDIA GPU installed – you will need to install NVIDA software and Visual Studio.

(New) Mac Pro’sHas NVIDIA GPU installed. You will still need to install NVIDA software Use basically as a Linux system.

assignprelim.10

assignprelim.11

Moodle will be used for submitting assignments and for multiple-choice class tests.

Access is through 49er Express or

http://moodle.uncc.edu/

A link is provided from the course home page:

Make sure you use a recent browser.

Class tests and assignment submission

MoodleSelect the combined course:ITCS-6010-091:ITCS-8010-091_Combined (201110)

For Moodle, Mozilla Firefox seems better than Internet Explorer (some layout issues with Explorer)

assignprelim.13

It is important to submit assignments on time so there will be a penalty for late assignments of 10%/day.

assignprelim.14

• You name!• 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.15

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: Adobe PDF print driver, my approach (or “save as PDF” may be available or use a free converter such as pdf995).

Document format

• 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 EMAIL UNLESS I SPECIFICALLY ASK YOU TO DO SO!!

I WILL IGNORE THE EMAIL.

• SUBMIT ONLY ONE UNCOMPRESSED PDF FILE TO MOODLE, OTHERWISE:

assignprelim.18

Each assignment will have posted due date posted on the course home page:

http://www.cs.uncc.edu/~abw/ITCS6010S11/

which is firm unless you have documented system problems.

Due Date

Course Assistance

Teaching course assistant

• Jeremy Villalobos (PhD student):

jeremyvillalobos@gmail.com

Contact on matters such as user accounts or system not functioning.

Contact Instructor for matters such as course materials and assignment write-up.

Questions