180 likes | 377 Views
MPI & ADA Server Introduction. By Shervin Daneshpajouh . 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. Outline. MPI What is MPI
E N D
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 VC6 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/
Host Name: ada.ce.sharif.edu Username CE Username user01 Password CE Password Connecting to ADA server 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 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 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 Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/