Files
hdf5/pablo/HDFmpioProtos.h
Dan Wells b3961ff99f [svn-r3851]
Purpose:
    Bug fix.
Description:
    The Pablo instrumentation would not build because the HAVE_PABLO flag
    was renamed H5_HAVE_PABLO.  Also, there were problems with MPI I/O
    tracing when the MPI did not follow the MPI I/O standards exactly.A
Solution:
    Renamed all conditional compiliation flags so that they begin H5_ .
    Added entries HDF_MPI_xxx for all MPI I/O functions HDF_MPI_xxx used in
    HDF.  These functions record data, call the corresponding function
    MPI_xxx directly, then record exit data.  Previously this was done in
    the MPI I/O portion of the Trace Library, but caused link conflicts.
Platforms tested:
    IRIX64/IRIX32/Linux/Solaris/VClass32/VClass64
2001-04-24 16:20:05 -05:00

38 lines
1.8 KiB
C

#define MPI_File_open HDF_MPI_File_open
#define MPI_File_close HDF_MPI_File_close
#define MPI_File_set_size HDF_MPI_File_set_size
#define MPI_File_get_size HDF_MPI_File_get_size
#define MPI_File_set_view HDF_MPI_File_set_view
#define MPI_File_get_view HDF_MPI_File_get_view
#define MPI_File_read_at HDF_MPI_File_read_at
#define MPI_File_read_at_all HDF_MPI_File_read_at_all
#define MPI_File_write_at HDF_MPI_File_write_at
#define MPI_File_write_at_all HDF_MPI_File_write_at_all
#define MPI_File_sync HDF_MPI_File_sync
int HDF_MPI_File_open( MPI_Comm comm, char *filename, int amode,
MPI_Info info, MPI_File *fh );
int HDF_MPI_File_close( MPI_File *fh );
int HDF_MPI_File_delete( char *filename, MPI_Info info );
int HDF_MPI_File_set_size( MPI_File fh, MPI_Offset size );
int HDF_MPI_File_get_size( MPI_File fh, MPI_Offset *size );
int HDF_MPI_File_set_view( MPI_File fh, MPI_Offset disp, MPI_Datatype etype,
MPI_Datatype filetype, char *datarep,
MPI_Info info );
int HDF_MPI_File_get_view( MPI_File fh, MPI_Offset *disp,
MPI_Datatype *etype, MPI_Datatype *filetype,
char *datarep );
int HDF_MPI_File_read_at( MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype,
MPI_Status *status );
int HDF_MPI_File_read_at_all( MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype,
MPI_Status *status );
int HDF_MPI_File_write_at( MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype,
MPI_Status *status );
int HDF_MPI_File_write_at_all( MPI_File fh, MPI_Offset offset, void *buf,
int count, MPI_Datatype datatype,
MPI_Status *status );
int HDF_MPI_File_sync( MPI_File fh );