Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 560
Fopa Léon Constantin Avatar asked Aug 02 '10 13:08

Fopa Léon Constantin


4 Answers

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

like image 164
Paul R Avatar answered Oct 21 '22 05:10

Paul R


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

like image 42
Fopa Léon Constantin Avatar answered Oct 21 '22 04:10

Fopa Léon Constantin


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

like image 1
Phil Miller Avatar answered Oct 21 '22 04:10

Phil Miller


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.

like image 1
David Avatar answered Oct 21 '22 04:10

David