1 / 18

MPI & ADA Server Introduction

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

hao
Download Presentation

MPI & ADA Server Introduction

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. MPI & ADA Server Introduction By Shervin Daneshpajouh Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/

  2. 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/

  3. 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/

  4. 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/

  5. 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/

  6. 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/

  7. 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/

  8. 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/

  9. 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/

  10. 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/

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

  12. 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/

  13. Copy your file on all nodes Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/

  14. 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/

  15. 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/

  16. 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/

  17. 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/

  18. Good luck Sharif University of technology, Parallel Processing course, http://mehr.sharif.edu/~ce647/

More Related