[MPICH] MPICH error in MPI::Lookup_name (MPI_Lookup_Name)

Rusty Lusk lusk at mcs.anl.gov
Tue Jan 24 16:27:06 CST 2006


Looks like a bug, all right.  We are on it.  Thanks for the report.

Regards,
Rusty Lusk

From: John Robinson <jr at vertica.com>
Subject: [MPICH] MPICH error in MPI::Lookup_name (MPI_Lookup_Name)
Date: Tue, 24 Jan 2006 16:16:57 -0500

> I found that the implementation of MPI::Lookup_name scribbles outside 
> its buffer.  The MPI spec says that the third argument is a buffer of 
> MPI_MAX_PORT_NAME characters, but the MPICH implementation expects the 
> buffer to be 1024 characters: in PMI_Lookup_name( const char 
> service_name[], char port[] ), the call is to PMIU_getval( "port", port, 
> PMIU_MAXLINE ), where PMIU_MAXLINE = 1024.
> 
> In mpi.h, MPI_MAX_PORT_NAME is 256.
> 
> thanks,
> /jr
> 




More information about the mpich-discuss mailing list