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

John Robinson jr at vertica.com
Tue Jan 24 15:16:57 CST 2006


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