[mpich2-dev] using gprof to profile MPICH2 codes

Anjin.Pradhan at ait.ac.th Anjin.Pradhan at ait.ac.th
Sat Apr 11 12:14:24 CDT 2009


I have to profile mpich code, so that i can understand the code.

I tried doing     anjin at anjin:~/mpich2-1.0.8p1$ make "CFLAGS = 02 - pg"

but when you do this i get this error
    make[4]: Entering directory
    `/home/anjin/Desktop/mpich2-1.0.8p1/src/pm/mpd'
    /usr/bin/install -c -m 644 ./mpdroot.c mpich2-mpdroot.c
    gcc -I. -I. 02 - pg  -c mpich2-mpdroot.c
    gcc: 02: No such file or directory
    gcc: pg: No such file or directory

So i wanted how i can use gprof or any other code profiler to profile 
MPICH. I am stuck in this and any help would be greatly appreciated.

Anjin

- Ignored:


- Done.



----- End forwarded message -----

-------------- next part --------------
An embedded message was scrubbed...
From: Anjin Pradhan <Anjin.Pradhan at ait.ac.th>
Subject: using gprof to profiling mpich code
Date: Sat, 11 Apr 2009 12:53:35 +0700
Size: 2989
URL: <https://lists.mcs.anl.gov/mailman/private/mpich2-dev/attachments/20090412/060600d6/attachment.eml>


More information about the mpich2-dev mailing list