1 / 13

Introduction to Parallel Processing

Introduction to Parallel Processing. Working on the Educational Cluster “hobbit” Guy Tel-Zur. Logging in. Basic Linux Commands. Our First MPI program. Compiling and Executing. Cluster Monitoring. http://hobbit5.ee.bgu.ac.il. Different MPI packages. You can always try: mpirun -h

fayola
Download Presentation

Introduction to Parallel Processing

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. Introduction to Parallel Processing Working on the Educational Cluster “hobbit” Guy Tel-Zur

  2. Logging in

  3. Basic Linux Commands

  4. Our First MPI program

  5. Compiling and Executing

  6. Cluster Monitoring http://hobbit5.ee.bgu.ac.il

  7. Different MPI packages You can always try: mpirun -h telzur@gtz2:~mpi>mpd & telzur@gtz2:~/mpi> mpiexec -machinefile ./machinefile -np 4 ./hellow Hello world from process 0 of 4 Hello world from process 1 of 4 Hello world from process 3 of 4 Hello world from process 2 of 4 telzur@gtz2:~/mpi>

  8. Discuss this program with the students Ref: /home/telzur/mpi/mpe/cpilog.c cpilog

  9. Profilinga demo from my laptop telzur@gtz2:~/mpi/mpe> ~/mpich2-install/bin/mpirun-machinefile ../machinefile -np 4 ./cpilog Process 0 running on gtz2 Process 2 running on gtz2 Process 1 running on gtz2 Process 3 running on gtz2 pi is approximately 3.1415926535899028, Error is 0.0000000000001097 wall clock time = 0.106649 Writing logfile.... Enabling the Default clock synchronization... Finished writing logfile ./cpilog.clog2. telzur@gtz2:~/mpi/mpe>

  10. Profiling - log file conversion telzur@gtz2:~/mpi/mpe> clog2TOslog2 ./cpilog.clog2 GUI_LIBDIR is set. GUI_LIBDIR = /usr/local/lib SLOG-2 Header: version = SLOG 2.0.6 NumOfChildrenPerNode = 2 TreeLeafByteSize = 65536 MaxTreeDepth = 0 MaxBufferByteSize = 6010 Categories is FBinfo(635 @ 6118)‏ MethodDefs is FBinfo(0 @ 0)‏ LineIDMaps is FBinfo(232 @ 6753)‏ TreeRoot is FBinfo(6010 @ 108)‏ TreeDir is FBinfo(38 @ 6985)‏ Annotations is FBinfo(0 @ 0)‏ Postamble is FBinfo(0 @ 0)‏ Number of Drawables = 204 Number of Unmatched Events = 0 Total ByteSize of the logfile = 14168 timeElapsed between 1 & 2 = 38 msec timeElapsed between 2 & 3 = 139 msec

  11. Starting Jumpshot4 telzur@gtz2:~/mpi/mpe> ~/mpich2-install/bin/jumpshot ./cpilog.slog2

  12. Parallel Debugger

More Related