PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

How to profile a LAM MPI code ?

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
petrebang



Joined: 21 Apr 2006
Posts: 6

PostPosted: Thu May 04, 2006 8:02 am    Post subject: How to profile a LAM MPI code ? Reply with quote

I try to profile a MPI code (LAM-MPI implementation).

But when I link with -Mprof=mpi, it doesn't work, and I get :
"/usr/bin/ld: cannot find -lfmpich"

Any idea, please ?
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6134
Location: The Portland Group Inc.

PostPosted: Thu May 04, 2006 4:42 pm    Post subject: Reply with quote

Hi petrebang,

The error your seeing is because the driver automatically adds the MPICH libraries, included with the PGI CDK product, to the link line when "-Mprof=mpi" is used. Currently, only MPICH is supported by the PGI debugger and profiler. We do plan on supporting more flavors of MPI in the future, but for now you'll need to use MPICH in order to profile and debug MPI code.

- Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group