Presentation is loading. Please wait.

Presentation is loading. Please wait.

Introduction to Parallel Processing

Similar presentations


Presentation on theme: "Introduction to Parallel Processing"— 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

7 Different MPI packages
You can always try: mpirun -h & 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

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

9 Profiling a demo from my laptop
~/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 , Error is wall clock time = Writing logfile.... Enabling the Default clock synchronization... Finished writing logfile ./cpilog.clog2.

10 Profiling - log file conversion
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 6118)‏ MethodDefs is 0)‏ LineIDMaps is 6753)‏ TreeRoot is 108)‏ TreeDir is 6985)‏ Annotations is 0)‏ Postamble is 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 ~/mpich2-install/bin/jumpshot ./cpilog.slog2

12

13 Parallel Debugger


Download ppt "Introduction to Parallel Processing"

Similar presentations


Ads by Google