How to profile memory usage and performances of an openMPI program in C
Asked Answered
C

5

5

I'm looking for a way to profile my openMPI program in C, i'm using openMPI 1.3 with Linux Ubuntu 9.10 and my programs are run under a Intel Duo T1600.

what I want in profile is cache-misses, memory usage and execution time in any part of the program.

thanks for reply

Copestone answered 2/8, 2010 at 13:8 Comment(0)
C
1

Have a look at gprof and at Intel's VTune. Valgrind with the cachegrind tool could be useful, too.

Crocket answered 2/8, 2010 at 13:25 Comment(1)
Regarding gprof: https://mcmap.net/q/15226/-alternatives-to-gprof-closed/…Beehive
A
2

For Linux I recommend Zoom for this kind of profiling. You can get a free 30 day evaluation in order to try it out.

Alphitomancy answered 2/8, 2010 at 13:45 Comment(0)
C
2

I finally found graphical tools for mpi profilling

vampir : www.vampir.eu and paraprof at http://www.cs.uoregon.edu/research/tau/docs/paraprof/index.html

enjoy

Copestone answered 3/8, 2010 at 14:37 Comment(0)
C
1

Have a look at gprof and at Intel's VTune. Valgrind with the cachegrind tool could be useful, too.

Crocket answered 2/8, 2010 at 13:25 Comment(1)
Regarding gprof: https://mcmap.net/q/15226/-alternatives-to-gprof-closed/…Beehive
B
1

Allinea MAP is ideal for this. It will highlight poor cache performance, memory usage and execution time right down to the source lines in your code. There is no need to recompile or instrument the application in order to profile it with Allinea MAP - which makes it unusually easy to get started with. On most HPC systems and with most MPIs it takes your binary, runs it, and loads up the source code automatically to display the recorded performance data.

Bucci answered 31/3, 2013 at 19:36 Comment(0)
S
1

Take a look to profiling MPI. Some tools for profiling is mpiP and pgprof.

Slough answered 31/3, 2013 at 19:51 Comment(1)
profilling MPI link is broken, do you have a redirect?Airman

© 2022 - 2024 — McMap. All rights reserved.