[MPICH] Using -mpilog does not produce any log

Anthony Chan chan at mcs.anl.gov
Mon Mar 26 17:06:43 CDT 2007



On Mon, 26 Mar 2007, Reuben Budiardja wrote:

> >>
> > 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  ?

Could it be possible that you are still not putting -mpe=mpilog in the
link command of your Makefile ?  A common mistake is that people put
"-mpe=mpilog" in FFLAGS but FFLAGS is not used in the link step.

A.Chan

>
> 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