Title: Introduction to Parallel Processing
1Introduction to Parallel Processing
Working on the Educational Cluster vdwarf Gu
y Tel-Zur May 2008 PP2008B
2Logging in
3Basic Linux Commands
4Our First MPI program
5Compiling and Executing
6Cluster Monitoring
http//eesgi2.ee.bgu.ac.il
7Different MPI packages
You can always try mpirun -h telzur_at_gtz2mpigtmp
d telzur_at_gtz2/mpigt 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_at_gtz2/mpigt
8cpilog
- Discuss this program with the students
- Ref /home/telzur/mpi/mpe/cpilog.c
9Profilinga demo from my laptop
telzur_at_gtz2/mpi/mpegt /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 wa
ll clock time 0.106649 Writing
logfile.... Enabling the Default clock
synchronization... Finished writing logfile
./cpilog.clog2. telzur_at_gtz2/mpi/mpegt
10Profiling - log file conversion
telzur_at_gtz2/mpi/mpegt 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 _at_ 6118)? MethodDefs is FBinfo(0 _at_
0)? LineIDMaps is FBinfo(232 _at_ 6753)? TreeRoot
is FBinfo(6010 _at_ 108)? TreeDir is FBinfo(38
_at_ 6985)? Annotations is FBinfo(0 _at_ 0)? Postamble
is FBinfo(0 _at_ 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
11Starting Jumpshot4
telzur_at_gtz2/mpi/mpegt /mpich2-install/bin/jumpsh
ot ./cpilog.slog2
12(No Transcript)
13Parallel Debugger