Sharif University of technology, Parallel Processing course, ce647/ MPI & ADA Server Introduction By...
-
Upload
toby-melton -
Category
Documents
-
view
224 -
download
5
Transcript of Sharif University of technology, Parallel Processing course, ce647/ MPI & ADA Server Introduction By...
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
MPI & ADA Server Introduction
By Shervin Daneshpajouh
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Outline
MPI What is MPI A brief introduction of MPI
Installing MPI on windows MPI on ADA Server
Connecting ADA server Compiling your MPI source code on ADA server Running your MPI program on ADA server
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Outline
MPI What is MPI A brief introduction of MPI
Installing MPI on windows MPI on ADA Server
Connecting ADA server Compiling your MPI source code on ADA server Running your MPI program on ADA server
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Outline
MPI What is MPI A brief introduction of MPI
Installing MPI on windows MPI on ADA Server
Connecting ADA server Compiling your MPI source code on ADA server Running your MPI program on ADA server
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Installing MPI on Windows
Downloading MPICH http://mehr.sharif.edu/ce647/materials/mpi/
mpich.nt.1.2.5.exe The steps to creating MPICH project with VC
6
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Outline
MPI What is MPI A brief introduction of MPI
Installing MPI on windows MPI on ADA Server
Connecting ADA server Compiling your MPI source code on ADA server Running your MPI program on ADA server
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Connecting to ADA server
Downloading SSH ftp://cabinet.ce.sharif.edu http://sina.sharif.ir/SSHWinSecureShell24.exe
Installing SSH Running SSH
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Connecting to ADA server
Host Name: ada.ce.sharif.edu
Username CE Username user01
Password CE Password
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Running Your Program On ADA server
Lamboot –v <hostfile> Please Do not run this command if LAMMPI is
running
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Running Your Program On ADA server
Lamboot –v <hostfile> Please Do not run this command if LAMMPI is
running Lamnodes
Print List active nodes (computers)
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Running Your Program On ADA server
Lamboot –v <hostfile> Please Do not run this command if LAMMPI is
running Lamnodes
Print List active nodes (computers) MPICC –o <outputfile> <sourcefile> lmpi
Compile your source code and make executable file
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Running Your Program On ADA server
Lamboot –v <hostfile> Please Do not run this command if LAMMPI is
running Lamnodes
Print List active nodes (computers) MPICC –o <outputfile> <sourcefile> lmpi
Compile your source code and make executable file
Copy your file on all nodes
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Copy your file on all nodes
ADA ServerHttp://ada.ce.sharif.edu
Workstation
Your computer
Connecting to server using SSH
client01
client02
client024
Connecting to Client01 using SFTP
SFTP
SFTP
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Copy your file on all nodes SSH
ssh <client name> Ssh <client IP> Cd Pwd Mkdir Exit Rmdir Rm ls
SFTP Put Get
ADA ServerHttp://ada.ce.sharif.edu
Workstation
Your computer
Connecting to server using SSH
client01
client02
client024
Connecting to Client01 using SFTP
SFTP
SFTP
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Running Your Program On ADA server
Lamboot –v <hostfile> Please Do not run this command if LAMMPI is running
Lamnodes Print List active nodes (computers)
MPICC –o <outputfile> <sourcefile> lmpi Compile your source code and make executable file
Copy your file on all nodes MPIRUN –NP 4 <program name>
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Running Your Program On ADA server
Lamboot –v <hostfile> Please Do not run this command if LAMMPI is running
Lamnodes Print List active nodes (computers)
MPICC –o <outputfile> <sourcefile> lmpi Compile your source code and make executable file
Copy your file on all nodes MPIRUN –NP 4 <program name> Lamclean -v
Remove all running tasks
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Running Your Program On ADA server Lamboot –v <hostfile>
Please Do not run this command if LAMMPI is running Lamnodes
Print List active nodes (computers) MPICC –o <outputfile> <sourcefile> lmpi
Compile your source code and make executable file Copy your file on all nodes Lamclean -v
Remove all running tasks Wipe –v hf
Unloading LAMMPI Please Do not run this command when other people using
the server
Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/
Good luck