[mpich-discuss] Trouble in getting the logging interface to work

Anthony Chan chan at mcs.anl.gov
Wed Mar 19 01:20:13 CDT 2008



On Wed, 19 Mar 2008, Krishna Chaitanya wrote:

> Hi,
>          I tried configuring MPICH2 by doing :
> ./configure --prefix=/home/kc/mpich-install/ --enable-mpe
> --with-logging=SLOG  CC=gcc CFLAGS=-g   && make && make install
>          It  flashed an error messaage saying :
> onfigure: error: ./src/util/logging/SLOG does not exist.  Configure aborted

The --with-logging is for MPICH2's internal logging, not MPE's logging.
As what you did below is fine is fine.
>
>          After that, I tried :
> ./configure --prefix=/home/kc/mpich-install/ --enable-mpe CC=gcc CFLAGS=-g
> && make && make install
>         The installation was normal, when I tried compiling an example
> program by doing :
> mpicc -mpilog -o sample  sample.c
> cc1: error: unrecognized command line option "-mpilog"

Do "mpicc -mpe=mpilog -o sample sample.c" instead.  For more details,
see "mpicc -mpe=help" and see mpich2/src/mpe2/README.

A.Chan

>
>          Can anyone please tell me what needs to be done to use the SLOG
> logging format?
>
> Thanks,
> Krishna Chaitanya K
>
>
>
>
>
> -- 
> In the middle of difficulty, lies opportunity
>




More information about the mpich-discuss mailing list