[MPICH] ROMIO / MPI_REGISTER_DATAREP

Jeff Squyres jsquyres at cisco.com
Mon Dec 3 16:41:46 CST 2007


I notice that the read/write conversion functions in  
MPI_REGISTER_DATAREP are stored, but they don't appear to be used  
anywhere:

-----
[14:40] svbu-mpi:/home/jsquyres/mpich2-1.0.6p1/src % egrep -r  
'read_conv_fn|write_conv_fn' *
mpi/romio/mpi-io/register_datarep.c:. read_conv_fn - function invoked  
to convert from file representation to
mpi/romio/mpi-io/register_datarep.c:. write_conv_fn - function invoked  
to convert from native representation to
mpi/romio/mpi-io/register_datarep.c:			  
MPI_Datarep_conversion_function *read_conv_fn,
mpi/romio/mpi-io/register_datarep.c:			  
MPI_Datarep_conversion_function *write_conv_fn,
mpi/romio/mpi-io/register_datarep.c:    datarep->read_conv_fn  =  
read_conv_fn;
mpi/romio/mpi-io/register_datarep.c:    datarep->write_conv_fn =  
write_conv_fn;
mpi/romio/adio/include/adioi.h:    MPI_Datarep_conversion_function  
*read_conv_fn;
mpi/romio/adio/include/adioi.h:    MPI_Datarep_conversion_function  
*write_conv_fn;
[14:40] svbu-mpi:/home/jsquyres/mpich2-1.0.6p1/src %
-----

Am I missing something?  Or does ROMIO not support this  
functionality?  (the MPICH2 man page for MPI_Register_datarep does not  
say that these function pointers are effectively ignored)

Thanks!

-- 
Jeff Squyres
Cisco Systems




More information about the mpich-discuss mailing list