SlideShare a Scribd company logo
CLUSTERING MANUAL

Introduction:
Parallel computing is a form of computation in which many calculations
are carried out simultaneously operating on the principle that large
problems can often be divided into smaller ones, which are then solved
concurrently ("in parallel")

What Is Cluster:
In a computer system, a cluster is a group of servers and other resources
that act like a single system and enable high availability and, in some
cases, load balancing and parallel processing

Beowulf Cluster:
 Beowulf is an approach to building a supercomputer as a cluster of
commodity off-the-shelf personal computers, interconnected with a local
area network technology like Ethernet, and running programs written for
parallel processing.

Cluster Prerequisites:
1. Atleast Two Computers with a Linux Distribution installed in it.Make
sure that your system has GCC installed in it.
2. A network connection between them. If you have just two computers,
you can connect them using an ethernet wire. Make sure that IP
addresses are assigned to them. If you don’t have a router to assign IP,
you can statically assign them IP addresses, assign static IP addresses.
Steps Of Building a Beowulf Cluster:
The following steps are to be done for every node.

Step 1:Add Nodes-
First add the nodes.We can add the nodes in /etc/hosts file.We can use
the text editor to add node's IP address followed by its host name. For
example,
                            node0 10.1.1.1
                            node1 10.1.1.2
we will list the nodes using their host names. When required, the
program will use this hosts file to convert host names to corresponding
I.Ps.Like
                         10.255.2.x hostname1
                         10.255.2.y hostname2
                         10.255.2.z hostname3

Step 2:Create a user-
We shpuld create a new user for all nodes.we can create new user
through System->Administration->Users and Groups and give a
passward.We need to make same user all nodes not need to make same
passward to all nodes.

Step 3: Installing SSH-
Now download and install ssh-server in every node. Execute the
command sudo apt-get install opensshserver. Now we need to use
OpenSSH Server for enabling remote login. It should be mentioned that
remote tasks can be performed through telnet as well. But it does not
provide security for data flow. OpenSSH is a safer method for remote
login between PCs, hence it is adopted.



Step 4:Login to new user-
Now logout my current sesson and login as mpiuser.

Step 5: Generating SSH key-
After login as mpiuser open the terminal and type the ssh-keygen -t dsa.
This command will generate a new ssh key. It will be saved in the file
id_dsa and id_dsa.pub. The public key is saved in the file
~/.ssh/id_dsa.pub, while ~/.ssh/id_dsa is the private key. These files will
be saved in /home/mpiuser/.ssh/.

Step 6: Authorizing Keys-
A folder called .ssh will be created in your home directory. Its a hidden
folder. This folder will contain a file id_dsa.pub that contains your
public key. Now copy this key to another file called authorized_keys in
the same directory. Execute the command in the terminal cd
/home/mpiuser/.ssh; cat id_dsa.pub >>authorized_keys.If we donot do
this then we need to passward for every time for connect to others
computer.

Step 7:Download MPICH1-
Now download the MPICH1 from the web. Parallel computing system
MPICH is a robust and flexible implementation of the MPI (Message
Passing Interface). MPI is often used with parallel or distributed
computing projects. MPICH is a multi-platform, configurable system
(development, execution, libraries, etc) for MPI. It can achieve
parallelism using networked machines or using multitasking on a single
machine.



Step 8:Install MPICH1-
Make a folder in home folder then configure it and install it by executing
the command :
mkdir /home/mpiuser/mpich1

./configure --prefix=/home/mpiuser/mpich1

make

make install

Step 9:Editing files-
Open the file .bashrc in your home directory. If file does not exist, create
one. Copy the following code into that file
export PATH=/home/mpiuser/mpich1/bin:$PATH

export PATH

LD_LIBRARY_PATH="/home/mpiuser/mpich1/lib:$LD_LIBRARY_P
ATH"

export LD_LIBRARY_PATH

The two lines are used to append the address /home/mpiuser/mpich1/bin
which contains necessary executables of MPICH to the PATH variable.
The last two lines are used to append the address
/home/mpiuser/mpich1/lib which contains necessary libraries of MPICH
to the shared library path.
Step 10:Define the path to MPICH for SSH-
Give this command to add the bin directory of mpich1 to environment:
sudo echo /home/mpiuser/mpich1/bin >> /etc/environment

Now logout and login back into the user mpiuser.

Step 11:Edit machines.Linux-
 In the folder mpich1, within the sub-directory share or util/machines/ a
file called machines.LINUX will be found. Open that file and add the
hostnames of all nodes except the home node ie. If you're editing the
machines.LINUX file of node0, then that file will contain host names of
all nodes except node0. By default MPICH executes a copy of the
program in the home node. The machines. sample contents of
machines.LINUX file:
                               hostname1
                               hostname2




Now cluster is ready .We can run any program through cluster.
Ad

More Related Content

What's hot (20)

Linux basic commands tutorial
Linux basic commands tutorialLinux basic commands tutorial
Linux basic commands tutorial
Teja Bheemanapally
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
Harish1983
 
6. centos networking
6. centos networking6. centos networking
6. centos networking
Mohd yasin Karim
 
Red Hat Linux cheat sheet
Red Hat Linux cheat sheetRed Hat Linux cheat sheet
Red Hat Linux cheat sheet
Rafael Montesinos Muñoz
 
Using filesystem capabilities with rsync
Using filesystem capabilities with rsyncUsing filesystem capabilities with rsync
Using filesystem capabilities with rsync
Hazel Smith
 
UNIX/Linux training
UNIX/Linux trainingUNIX/Linux training
UNIX/Linux training
Michael Olafusi
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)
abdullah roomi
 
Docker for dev
Docker for devDocker for dev
Docker for dev
Yusuf Found
 
Linux commands
Linux commandsLinux commands
Linux commands
Hemakumar.S
 
LXC NSAttach
LXC NSAttachLXC NSAttach
LXC NSAttach
Darshan Parmar
 
Introduce to linux
Introduce to linuxIntroduce to linux
Introduce to linux
Shamimul Alam
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Edureka!
 
basic linux command (questions)
basic linux command (questions)basic linux command (questions)
basic linux command (questions)
Sukhraj Singh
 
Infrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & AnsibleInfrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & Ansible
Robert Reiz
 
Dev ops night i the new infrastructure landscape
Dev ops night i   the new infrastructure landscapeDev ops night i   the new infrastructure landscape
Dev ops night i the new infrastructure landscape
Igor Gentil
 
Docker orchestration using core os and ansible - Ansible IL 2015
Docker orchestration using core os and ansible - Ansible IL 2015Docker orchestration using core os and ansible - Ansible IL 2015
Docker orchestration using core os and ansible - Ansible IL 2015
Leonid Mirsky
 
Linux Knowledge Transfer
Linux Knowledge TransferLinux Knowledge Transfer
Linux Knowledge Transfer
Tapio Vaattanen
 
Unix tutorial-08
Unix tutorial-08Unix tutorial-08
Unix tutorial-08
Tushar Jain
 
5. centos security
5. centos security5. centos security
5. centos security
Mohd yasin Karim
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
PrashantTechment
 
Linux Administration
Linux AdministrationLinux Administration
Linux Administration
Harish1983
 
Using filesystem capabilities with rsync
Using filesystem capabilities with rsyncUsing filesystem capabilities with rsync
Using filesystem capabilities with rsync
Hazel Smith
 
Network File System (NFS)
Network File System (NFS)Network File System (NFS)
Network File System (NFS)
abdullah roomi
 
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Linux Tutorial For Beginners | Linux Administration Tutorial | Linux Commands...
Edureka!
 
basic linux command (questions)
basic linux command (questions)basic linux command (questions)
basic linux command (questions)
Sukhraj Singh
 
Infrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & AnsibleInfrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & Ansible
Robert Reiz
 
Dev ops night i the new infrastructure landscape
Dev ops night i   the new infrastructure landscapeDev ops night i   the new infrastructure landscape
Dev ops night i the new infrastructure landscape
Igor Gentil
 
Docker orchestration using core os and ansible - Ansible IL 2015
Docker orchestration using core os and ansible - Ansible IL 2015Docker orchestration using core os and ansible - Ansible IL 2015
Docker orchestration using core os and ansible - Ansible IL 2015
Leonid Mirsky
 
Linux Knowledge Transfer
Linux Knowledge TransferLinux Knowledge Transfer
Linux Knowledge Transfer
Tapio Vaattanen
 
Unix tutorial-08
Unix tutorial-08Unix tutorial-08
Unix tutorial-08
Tushar Jain
 
Linux file commands and shell scripts
Linux file commands and shell scriptsLinux file commands and shell scripts
Linux file commands and shell scripts
PrashantTechment
 

Viewers also liked (18)

Mediator pattern
Mediator patternMediator pattern
Mediator pattern
Md. Mahedi Mahfuj
 
Observer pattern
Observer patternObserver pattern
Observer pattern
Md. Mahedi Mahfuj
 
Parallel searching
Parallel searchingParallel searching
Parallel searching
Md. Mahedi Mahfuj
 
Parallel computing chapter 2
Parallel computing chapter 2Parallel computing chapter 2
Parallel computing chapter 2
Md. Mahedi Mahfuj
 
Parallel computing chapter 3
Parallel computing chapter 3Parallel computing chapter 3
Parallel computing chapter 3
Md. Mahedi Mahfuj
 
Parallel computing(2)
Parallel computing(2)Parallel computing(2)
Parallel computing(2)
Md. Mahedi Mahfuj
 
Bengali optical character recognition system
Bengali optical character recognition systemBengali optical character recognition system
Bengali optical character recognition system
Md. Mahedi Mahfuj
 
Map reduce
Map reduceMap reduce
Map reduce
Md. Mahedi Mahfuj
 
Apache hadoop & map reduce
Apache hadoop & map reduceApache hadoop & map reduce
Apache hadoop & map reduce
Md. Mahedi Mahfuj
 
R with excel
R with excelR with excel
R with excel
Md. Mahedi Mahfuj
 
Nmdl final pp 1
Nmdl final pp 1Nmdl final pp 1
Nmdl final pp 1
kevinmsu
 
Icons presentation
Icons presentationIcons presentation
Icons presentation
Willis Kennedy
 
Interviews 1
Interviews 1Interviews 1
Interviews 1
Mayela TD
 
Understanding Your Credit Report
Understanding Your Credit ReportUnderstanding Your Credit Report
Understanding Your Credit Report
heatherviolet
 
Big data
Big dataBig data
Big data
Md. Mahedi Mahfuj
 
Strategy pattern.pdf
Strategy pattern.pdfStrategy pattern.pdf
Strategy pattern.pdf
Md. Mahedi Mahfuj
 
Job search_resume
Job search_resumeJob search_resume
Job search_resume
Md. Mahedi Mahfuj
 
Twitter
TwitterTwitter
Twitter
Alex J. Martin
 
Ad

Similar to Clustering manual (20)

Install websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bitsInstall websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bits
Manuel Vega
 
Namespaces and cgroups - the basis of Linux containers
Namespaces and cgroups - the basis of Linux containersNamespaces and cgroups - the basis of Linux containers
Namespaces and cgroups - the basis of Linux containers
Kernel TLV
 
Linux week 2
Linux week 2Linux week 2
Linux week 2
Vinoth Sn
 
Complete MPICH2 Clustering Manual in Ubuntu
Complete MPICH2 Clustering Manual in UbuntuComplete MPICH2 Clustering Manual in Ubuntu
Complete MPICH2 Clustering Manual in Ubuntu
Minhas Kamal
 
Unix Security
Unix SecurityUnix Security
Unix Security
replay21
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
karlhennesey
 
Linux
LinuxLinux
Linux
sravan kumar
 
linux
linuxlinux
linux
Ajay Chawda
 
Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
Muhammad Bilal
 
Linuxppt
LinuxpptLinuxppt
Linuxppt
TSUBHASHRI
 
linux installation.pdf
linux installation.pdflinux installation.pdf
linux installation.pdf
MuhammadShoaibHussai2
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
KunalKewat1
 
3. intro
3. intro3. intro
3. intro
Harsh Shrimal
 
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
KesavanT10
 
cisco
ciscocisco
cisco
edomaldo
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modules
mohamedmoharam
 
Sandy Report
Sandy ReportSandy Report
Sandy Report
sandeepkumar907
 
Sandy Report
Sandy ReportSandy Report
Sandy Report
sandeepkumar907
 
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
ChoiYura
 
Hadoop on osx
Hadoop on osxHadoop on osx
Hadoop on osx
Devopam Mittra
 
Install websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bitsInstall websphere message broker 8 RHEL 6 64 bits
Install websphere message broker 8 RHEL 6 64 bits
Manuel Vega
 
Namespaces and cgroups - the basis of Linux containers
Namespaces and cgroups - the basis of Linux containersNamespaces and cgroups - the basis of Linux containers
Namespaces and cgroups - the basis of Linux containers
Kernel TLV
 
Linux week 2
Linux week 2Linux week 2
Linux week 2
Vinoth Sn
 
Complete MPICH2 Clustering Manual in Ubuntu
Complete MPICH2 Clustering Manual in UbuntuComplete MPICH2 Clustering Manual in Ubuntu
Complete MPICH2 Clustering Manual in Ubuntu
Minhas Kamal
 
Unix Security
Unix SecurityUnix Security
Unix Security
replay21
 
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docxPart 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
Part 4 Scripting and Virtualization (due Week 7)Objectives1. .docx
karlhennesey
 
Adding System Call to Kernel
Adding System Call to KernelAdding System Call to Kernel
Adding System Call to Kernel
Muhammad Bilal
 
Linux Operating System
Linux Operating SystemLinux Operating System
Linux Operating System
KunalKewat1
 
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
HISTORY, TYPES OF EMBEDDED LINUX, COMMANDS,
KesavanT10
 
Ansible automation tool with modules
Ansible automation tool with modulesAnsible automation tool with modules
Ansible automation tool with modules
mohamedmoharam
 
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
[ 2021 AI + X 여름 캠프 ] 1. linux 기초 & 장비 세팅
ChoiYura
 
Ad

More from Md. Mahedi Mahfuj (18)

Parallel computing(1)
Parallel computing(1)Parallel computing(1)
Parallel computing(1)
Md. Mahedi Mahfuj
 
Message passing interface
Message passing interfaceMessage passing interface
Message passing interface
Md. Mahedi Mahfuj
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
Md. Mahedi Mahfuj
 
Matrix multiplication graph
Matrix multiplication graphMatrix multiplication graph
Matrix multiplication graph
Md. Mahedi Mahfuj
 
Strategy pattern
Strategy patternStrategy pattern
Strategy pattern
Md. Mahedi Mahfuj
 
Database management system chapter16
Database management system chapter16Database management system chapter16
Database management system chapter16
Md. Mahedi Mahfuj
 
Database management system chapter15
Database management system chapter15Database management system chapter15
Database management system chapter15
Md. Mahedi Mahfuj
 
Database management system chapter12
Database management system chapter12Database management system chapter12
Database management system chapter12
Md. Mahedi Mahfuj
 
Strategies in job search process
Strategies in job search processStrategies in job search process
Strategies in job search process
Md. Mahedi Mahfuj
 
Report writing(short)
Report writing(short)Report writing(short)
Report writing(short)
Md. Mahedi Mahfuj
 
Report writing(long)
Report writing(long)Report writing(long)
Report writing(long)
Md. Mahedi Mahfuj
 
Job search_interview
Job search_interviewJob search_interview
Job search_interview
Md. Mahedi Mahfuj
 
Basic and logical implementation of r language
Basic and logical implementation of r language Basic and logical implementation of r language
Basic and logical implementation of r language
Md. Mahedi Mahfuj
 
R language
R languageR language
R language
Md. Mahedi Mahfuj
 
Chatbot Artificial Intelligence
Chatbot Artificial IntelligenceChatbot Artificial Intelligence
Chatbot Artificial Intelligence
Md. Mahedi Mahfuj
 
Cloud testing v1
Cloud testing v1Cloud testing v1
Cloud testing v1
Md. Mahedi Mahfuj
 
Distributed deadlock
Distributed deadlockDistributed deadlock
Distributed deadlock
Md. Mahedi Mahfuj
 
Paper review
Paper review Paper review
Paper review
Md. Mahedi Mahfuj
 

Recently uploaded (20)

Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
Transcript: #StandardsGoals for 2025: Standards & certification roundup - Tec...
BookNet Canada
 
Build Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For DevsBuild Your Own Copilot & Agents For Devs
Build Your Own Copilot & Agents For Devs
Brian McKeiver
 
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath MaestroDev Dives: Automate and orchestrate your processes with UiPath Maestro
Dev Dives: Automate and orchestrate your processes with UiPath Maestro
UiPathCommunity
 
HCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser EnvironmentsHCL Nomad Web – Best Practices and Managing Multiuser Environments
HCL Nomad Web – Best Practices and Managing Multiuser Environments
panagenda
 
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptxIncreasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Increasing Retail Store Efficiency How can Planograms Save Time and Money.pptx
Anoop Ashok
 
How analogue intelligence complements AI
How analogue intelligence complements AIHow analogue intelligence complements AI
How analogue intelligence complements AI
Paul Rowe
 
Mobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi ArabiaMobile App Development Company in Saudi Arabia
Mobile App Development Company in Saudi Arabia
Steve Jonas
 
tecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdftecnologias de las primeras civilizaciones.pdf
tecnologias de las primeras civilizaciones.pdf
fjgm517
 
Linux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdfLinux Professional Institute LPIC-1 Exam.pdf
Linux Professional Institute LPIC-1 Exam.pdf
RHCSA Guru
 
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
IEDM 2024 Tutorial2_Advances in CMOS Technologies and Future Directions for C...
organizerofv
 
Procurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptxProcurement Insights Cost To Value Guide.pptx
Procurement Insights Cost To Value Guide.pptx
Jon Hansen
 
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
AI Changes Everything – Talk at Cardiff Metropolitan University, 29th April 2...
Alan Dix
 
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
#StandardsGoals for 2025: Standards & certification roundup - Tech Forum 2025
BookNet Canada
 
Drupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy ConsumptionDrupalcamp Finland – Measuring Front-end Energy Consumption
Drupalcamp Finland – Measuring Front-end Energy Consumption
Exove
 
TrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business ConsultingTrsLabs - Fintech Product & Business Consulting
TrsLabs - Fintech Product & Business Consulting
Trs Labs
 
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptxSpecial Meetup Edition - TDX Bengaluru Meetup #52.pptx
Special Meetup Edition - TDX Bengaluru Meetup #52.pptx
shyamraj55
 
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes Partner Innovation Updates for May 2025
ThousandEyes
 
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager APIUiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPath Community Berlin: Orchestrator API, Swagger, and Test Manager API
UiPathCommunity
 
Semantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AISemantic Cultivators : The Critical Future Role to Enable AI
Semantic Cultivators : The Critical Future Role to Enable AI
artmondano
 
What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...What is Model Context Protocol(MCP) - The new technology for communication bw...
What is Model Context Protocol(MCP) - The new technology for communication bw...
Vishnu Singh Chundawat
 

Clustering manual

  • 1. CLUSTERING MANUAL Introduction: Parallel computing is a form of computation in which many calculations are carried out simultaneously operating on the principle that large problems can often be divided into smaller ones, which are then solved concurrently ("in parallel") What Is Cluster: In a computer system, a cluster is a group of servers and other resources that act like a single system and enable high availability and, in some cases, load balancing and parallel processing Beowulf Cluster: Beowulf is an approach to building a supercomputer as a cluster of commodity off-the-shelf personal computers, interconnected with a local area network technology like Ethernet, and running programs written for parallel processing. Cluster Prerequisites: 1. Atleast Two Computers with a Linux Distribution installed in it.Make sure that your system has GCC installed in it. 2. A network connection between them. If you have just two computers, you can connect them using an ethernet wire. Make sure that IP addresses are assigned to them. If you don’t have a router to assign IP, you can statically assign them IP addresses, assign static IP addresses.
  • 2. Steps Of Building a Beowulf Cluster: The following steps are to be done for every node. Step 1:Add Nodes- First add the nodes.We can add the nodes in /etc/hosts file.We can use the text editor to add node's IP address followed by its host name. For example, node0 10.1.1.1 node1 10.1.1.2 we will list the nodes using their host names. When required, the program will use this hosts file to convert host names to corresponding I.Ps.Like 10.255.2.x hostname1 10.255.2.y hostname2 10.255.2.z hostname3 Step 2:Create a user- We shpuld create a new user for all nodes.we can create new user through System->Administration->Users and Groups and give a passward.We need to make same user all nodes not need to make same passward to all nodes. Step 3: Installing SSH- Now download and install ssh-server in every node. Execute the command sudo apt-get install opensshserver. Now we need to use OpenSSH Server for enabling remote login. It should be mentioned that remote tasks can be performed through telnet as well. But it does not
  • 3. provide security for data flow. OpenSSH is a safer method for remote login between PCs, hence it is adopted. Step 4:Login to new user- Now logout my current sesson and login as mpiuser. Step 5: Generating SSH key- After login as mpiuser open the terminal and type the ssh-keygen -t dsa. This command will generate a new ssh key. It will be saved in the file id_dsa and id_dsa.pub. The public key is saved in the file ~/.ssh/id_dsa.pub, while ~/.ssh/id_dsa is the private key. These files will be saved in /home/mpiuser/.ssh/. Step 6: Authorizing Keys- A folder called .ssh will be created in your home directory. Its a hidden folder. This folder will contain a file id_dsa.pub that contains your public key. Now copy this key to another file called authorized_keys in the same directory. Execute the command in the terminal cd /home/mpiuser/.ssh; cat id_dsa.pub >>authorized_keys.If we donot do this then we need to passward for every time for connect to others computer. Step 7:Download MPICH1- Now download the MPICH1 from the web. Parallel computing system MPICH is a robust and flexible implementation of the MPI (Message Passing Interface). MPI is often used with parallel or distributed computing projects. MPICH is a multi-platform, configurable system (development, execution, libraries, etc) for MPI. It can achieve
  • 4. parallelism using networked machines or using multitasking on a single machine. Step 8:Install MPICH1- Make a folder in home folder then configure it and install it by executing the command : mkdir /home/mpiuser/mpich1 ./configure --prefix=/home/mpiuser/mpich1 make make install Step 9:Editing files- Open the file .bashrc in your home directory. If file does not exist, create one. Copy the following code into that file export PATH=/home/mpiuser/mpich1/bin:$PATH export PATH LD_LIBRARY_PATH="/home/mpiuser/mpich1/lib:$LD_LIBRARY_P ATH" export LD_LIBRARY_PATH The two lines are used to append the address /home/mpiuser/mpich1/bin which contains necessary executables of MPICH to the PATH variable. The last two lines are used to append the address /home/mpiuser/mpich1/lib which contains necessary libraries of MPICH to the shared library path. Step 10:Define the path to MPICH for SSH-
  • 5. Give this command to add the bin directory of mpich1 to environment: sudo echo /home/mpiuser/mpich1/bin >> /etc/environment Now logout and login back into the user mpiuser. Step 11:Edit machines.Linux- In the folder mpich1, within the sub-directory share or util/machines/ a file called machines.LINUX will be found. Open that file and add the hostnames of all nodes except the home node ie. If you're editing the machines.LINUX file of node0, then that file will contain host names of all nodes except node0. By default MPICH executes a copy of the program in the home node. The machines. sample contents of machines.LINUX file: hostname1 hostname2 Now cluster is ready .We can run any program through cluster.