[MPICH] Using -mpilog does not produce any log

Anthony Chan chan at mcs.anl.gov
Mon Mar 26 13:25:09 CDT 2007


On Mon, 26 Mar 2007, Reuben Budiardja wrote:

> Anthony Chan wrote:
> > On Mon, 26 Mar 2007, Reuben Budiardja wrote:
> >
> >
> >> Hello,
> >> I am trying to use MPE logging facility to profile the MPI calls in my
> >> code. In my makefile I put 'mpif90 -mpilog' as my compiler and linker.
> >> Yet when I run the code I don't get any log produced.
> >>
> >
> > What version of MPICH2 you are using ?  If it is 1.0.3 or later, the
> > command should be "mpif90 -mpe=mpilog", check mpich2-xxx/src/mpe2/README.
> > Earlier MPICH2's compiler wrapper does not have -mpe support.  Only old
> > MPICH-1's compiler wrapper supports "-mpilog".
> >
> > A.Chan
> >
> I am sorry I forgot to include this. I'm still using mpich-1.2.7.
>

Try doing a grep on the executable for any MPE_Log, i.e.

nm <executable_name> | grep -i MPE_Log

A.Chan




More information about the mpich-discuss mailing list