[MPICH] Using -mpilog does not produce any log

Reuben Budiardja techlist at pathfinder.phys.utk.edu
Mon Mar 26 16:26:00 CDT 2007


Anthony Chan wrote:
> 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
>   
The above command doesn't produce any output. So it seems that my code 
is still not linked against the logging library. I've also tried putting 
in this directly on the linker: "-lfmpich -llmpe -lmpe" and got the same 
result. I've also tried compiling mpich2-1.0.5p3 and used "mpif90 
-mpe=mpilog" as my compiler / linker and still  got the same result. Any 
idea why this is the case  ?

BTW, I am using Intel Fortran compiler for the f90 compiler.

Thanks.
RDB

-- 
Reuben D. Budiardja
Dept. Physics and Astronomy
University of Tennessee, Knoxville, TN





More information about the mpich-discuss mailing list