1 / 22

Assignment Preliminaries ITCS 4145/5145 Spring 2012

Assignment Preliminaries ITCS 4145/5145 Spring 2012. Computer Systems used for course coit-grid01.uncc.edu – coit-grid7.uncc.edu. Login from within the campus only. Login from on-campus or off-campus Use coit-grid01.uncc.edu. coit-grid06. coit-grid03. coit-grid04. coit-grid01.

Philip
Download Presentation

Assignment Preliminaries ITCS 4145/5145 Spring 2012

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Assignment PreliminariesITCS 4145/5145Spring 2012 ITCS 4/5145 Parallel Programming, UNC-Charlotte, B. Wilkinson, 2012, Jan 18, 2012

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

  3. Student accounts on computer systems • Most programming assignments will be done on the servers: • coit-grid01 – coit-grid05 collectively for message passing programs • coit-grid05 for shared memory programs • coit-grid07 for GPU programming (and Windows computers in lab 335) • Account details will be sent by email. • As soon as you get your account details, check that it works!!

  4. Remote Access • Traditional way from a Windows system is to use PuTTY for a command line remote access. Select SSH coit-grid01.uncc.edu Obtain from: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

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

  6. WinSCPSCP client • Useful for transferring files to and from servers. • Can also be used as an ssh client. • WinSCP can be downloaded from http://winscp.net/eng/index.php • It is recommended to install both PuTTY and WinSCP. Drag to move files Local directory Remote directory

  7. WinSCP console window Console terminal selection

  8. Testing account Log onto coit-grid01 with username and password given. Check you see you home directory (/nsf-home/<username>, which is on coit-grid05). Check simple Linux commands work. See next.

  9. 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 email). The command is • passwd Change user password • 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.)

  10. Viewing and Navigating Directories • The following are frequently used commands for viewing and navigating directories. • ls -a List files in current directory. • -a says list all files including hidden files (those starting with a period) • pwd Print the full path of the current directory • cddirectory Change user’s directory to that specified, or if none specified, to user’s home directory • cd .. Move up one directory

  11. 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 nanofilename 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

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

  13. Manipulating Directories and Files Common commands for manipulating directories and files: mkdirdirectories Create one or more directories catfiles displays contents of files. more file less file display file one page at a time (space bar to go forward one page, 'b' to go backward one page, and 'q' to quit) cpfile1 file2 Copy file1 to file2 cpfile1 directory Copy file1 to directory mvsources destination Move or rename files and directories rmfiles Delete one of more files rmdirdirectories Delete one of more directories. Must be empty. rmdir -r directories Remove non-empty directories (recursive remove)

  14. Class tests and assignment submission 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.

  15. Moodle Select the combined course: ITCS-4145-091:ITCS-5145-091_Combined (Spring 2012) CHECK YOU CAN ACCESS THIS!

  16. What to put in document for each assignment • You name!!!! • Undergraduate or graduate student. (ITCS 4145 or ITCS 5145) • 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.

  17. Document format 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).

  18. Submit your PDF document to Moodle at the appropriate place -- “Assignment 1”, “Assignment 2”, etc, 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 EMAIL UNLESS I SPECIFICALLY ASK YOU TO DO SO!! I WILL IGNORE THE EMAIL.

  19. SUBMIT ONLY ONE UNCOMPRESSED PDF FILE TO MOODLE, OTHERWISE:

  20. Due Date Each assignment will have posted due date posted on the course home page: http://www.cs.uncc.edu/~abw/ITCS4145S12/ which is firm unless you have documented system problems.

  21. Course Assistance • Course Teaching Assistant • Keerthi Galla • kgalla@uncc.edu • Contact on matters such as user accounts or UNC-C system not functioning. • Contact Instructor for matters such as course materials and assignment write-up.

  22. Questions

More Related