1 / 59

Case Study: Building a Cluster

Case Study: Building a Cluster. Build a Beowulf Cluster Supercomputer Special Acknowledgment: Jesse Mays, Morehouse College. Topology : Star. MAC Mini Network. Step #1. Take the mini out of the box . MAC Mini Network. Keyboard Mouse Monitor

myra-greer
Télécharger la présentation

Case Study: Building a Cluster

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. Case Study: Building a Cluster Build a Beowulf Cluster Supercomputer Special Acknowledgment: Jesse Mays, Morehouse College

  2. Topology : Star

  3. MAC Mini Network Step #1. Take the mini out of the box 

  4. MAC Mini Network Keyboard Mouse Monitor Ethernet Power

  5. MAC Mini Network

  6. Steps to Configuring the MAC Mini’s 1) Create Accounts a. Name Machine b. User Name c. Password 3) Configure IP Address 2) System Preferences a. File Sharing b. Remote Sharing c. Energy Saver off d. Firewall off

  7. #1a : Configure System Preferences Click on System Preferences

  8. #1a : Configure System Preferences Click on Sharing Name: ARC1, ARC2, etc

  9. #1 b c : Configure System Preferences Click on System Preferences and Choose Accounts

  10. #1b : Configure System Preferences Click on Accounts Click on lock to unlock Click on +

  11. #1b : Configure System Preferences Select Administrator from Drop Down menu & change

  12. #2 c : Configure System Preferences Click on System Preferences

  13. #2 c : Configure System Preferences Click on Energy Saver Slide bars to Never, Uncheck all boxes

  14. #2 d : Configure System Preferences Click on System Preferences

  15. #2 d : Configure System Preferences Click on Security Click on Firewall

  16. #3: Configure the IP Address Click on System Preferences

  17. Configure IP Address Click on Network Click on Ethernet

  18. Configure IP Address Change DHCP (drop down) Select Manually

  19. Configure IP Address

  20. Configure IP Address Click on Advanced Click on Ethernet

  21. Configure IP Addressing Make These Changes

  22. Server vs. Nodes In the next steps, we will first setup the Server (ARC1) . Then to setup the nodes all we need to do is a secure copy to the nodes.

  23. So …. We are all the same: Logout user: Bobby Login user : ARC

  24. Configure the Unixfor the Server – ARC1 • Setup Host Files • Setup SSH • Install & Configure GCC • Install & Configure MPICH • Configure MPI to work with SSH • Test SSH, GCC and MPI

  25. Setup Host Files Click on Go, Select Utilities. Drag the Terminal to the Dock. Click on the Terminal in the Dock

  26. Setup Host Files cd to root (cd /) Type: sudo pico /etc/hosts

  27. Setup Host Files Add the following at the bottom of the file: 172.30.220.1 ARC1 172.30.220.2 ARC2 172.30.220.3 ARC3 172.30.220.4 ARC4 172.30.220.5 ARC5 172.30.220.6 ARC6

  28. Setting up SSH What is SSH? Why do we Need it? SSH Encryrption Port 22

  29. Setting up SSH We will be modifying 3 files: • /etc/ssh_config • /etc/sshd_config • /etc/hosts.equiv

  30. Setting up SSH Type: sudo pico /etc/ssh_config host * HostbasedAuthentication yes EnableSSHKeysign yes

  31. Setting up SSH Type: sudo pico /etc/sshd_config HostbasedAuthentication yes

  32. Setting up SSH Type: sudo pico /etc/hosts.equiv Add the following hostnames: ARC1 ARC2 ARC3 ARC4 ARC5 ARC6

  33. Install and Configure GCC What is GCC? Why do we need GCC? Reference: http://en.wikipedia.org/wiki/GNU_Compiler_Collection

  34. Install and Configure GCC We have provided this Apple Developer Tool for you on DVD: Click Here to Download and Install Xcode: Reference: http://developer.apple.com/technology/Xcode.html

  35. Install and Configure GCC Steps to Follow: 1.) Double Click on Xcode Folder 2.) Double Click on Xcode Tools 3.) Double Click on Packages

  36. B4 We Can Proceed :We Need to Create the DirectoryWhere We Will Install GCC

  37. Install and Configure GCC Steps to Follow: 1.) Double Click on gcc4.2

  38. Install and Configure GCC Steps to Follow: 4.)Choose folder Macintosh HD /arc_share/apps

  39. Results of Folder Selection

  40. Install and Configure GCC Steps to Follow: 5.)Click Continue 6.) Click Install

  41. GCC Install – Requires Password

  42. Results of GCC Installation

  43. Install and Configure MPICH What is MPICH? Why do we Need MPICH? Reference: http://en.wikipedia.org/wiki/MPICH

  44. Download MPICH http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads

  45. MPICH: Extracting the tar file • Copy the tar file to the directory arc_share by opening the finder, and dragging it from desktop 2) Double click on the MPICH.tar.tar icon to un-tar the file

  46. Install MPICH Type: cd /arc_share/mpich1.2.7p1 ./configure - -with-device=ch_p4 – prefix=/usr/local/mpich-1.2.5/ch_p4 -rsh=ssh

  47. Installing MPICH Type: make sudo make install

  48. MPICH: Set the Path What is a path? Why do we need to set it?

  49. Path Statement Type: cd sudo pico .bashrc #! /usr/bash export PATH=/arc_share/mpich-1.2.7p1/bin:$PATH Ctrl o – to write Ctrl x to exit cp .bashrc .bash_profile

More Related