LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Irshad Ahmed (irshi2000_at_[hidden])
Date: 2004-04-25 13:05:20


How can we get trace of MPI calls in a parallel program, which also has detached threads, the threads also executes MPI calls. The programm is working absolutely ok, and is tested much many times,and now it is the analysis phase.(POSIX threads used)
I tried to use XMPI but at the end of execution of the XMPI shows only the last thread which executed the MPI call ( "sndng-rcvng-DIE.lamtr" trace file is attached).the file shows only end portion of the program.

I think that XMPI flushes out the trace or cannot show the multiple threads

1- ANY IDEA ABOUT WHAT SHOULD I DO.

2- STEPS, HOW A PARALLEL PROGRAM SHOULD BE ANALYZED ? i mean which things should get proper attention and how?

3- Which technique is better for executing parallel program, either the executable file of the parallel program on each node, or it is appropriate to have only one executable file at the node which initiats the mpirun command. REASON, why?
 
When i use the "MPIL_Trace_on()" and "MPIL_Trace_off()" function calls,the following error comes, and no traces are generated:
****************************************************************
[ahmed_at_Master work]$ mpirun N -toff p_program song.wav
mpirun: cannot start thread_mpi on n0 (o): Permission denied
****************************************************************

Ahmed irshad
                
---------------------------------
Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25¢