summaryrefslogtreecommitdiffstats
path: root/src/H5FDfphdf5.h
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2003-02-10 21:53:08 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2003-02-10 21:53:08 (GMT)
commit273479f8f8e4621be5c273e3dd9b3e1bddb3709e (patch)
tree800825f8029ec5506c4e9d46a28b76a731a220fc /src/H5FDfphdf5.h
parentfab16671cb2245bb75e6531ec07c0949b0ae7a68 (diff)
downloadhdf5-273479f8f8e4621be5c273e3dd9b3e1bddb3709e.zip
hdf5-273479f8f8e4621be5c273e3dd9b3e1bddb3709e.tar.gz
hdf5-273479f8f8e4621be5c273e3dd9b3e1bddb3709e.tar.bz2
[svn-r6392] Purpose:
Update Description: Folded in Quincey's changes to the caching stuff. (Stole the code from the H5FDmpio driver). Roughed in some code for doing a read from the SAP. Also roughed in code for doing a write. However, the write requires an OID, which I'm not sure how to pass down into the driver (maybe via the dxpl_id?...but then it has always to be set before calling one of these routines...). Removed some of the global variables which were there because of the FPHDF5 stuff... Removed the H5Ofphdf5.* stuff from the Makefile.in, since I'm pretty sure it's going away and I don't want to waste time updating that module if that's the case...so just don't compile it. Platforms tested: Linux
Diffstat (limited to 'src/H5FDfphdf5.h')
-rw-r--r--src/H5FDfphdf5.h40
1 files changed, 31 insertions, 9 deletions
diff --git a/src/H5FDfphdf5.h b/src/H5FDfphdf5.h
index 46061ec..2aca0ed 100644
--- a/src/H5FDfphdf5.h
+++ b/src/H5FDfphdf5.h
@@ -15,6 +15,7 @@
#ifndef H5FDFPHDF5_H__
#define H5FDFPHDF5_H__
+#include "H5FDmpio.h"
#include "H5FDpublic.h"
#include "H5Ipublic.h"
@@ -42,16 +43,37 @@
extern "C" {
#endif /* __cplusplus */
-H5_DLL hid_t H5FD_fphdf5_init(void);
-H5_DLL herr_t H5Pset_fapl_fphdf5(hid_t fapl_id, MPI_Comm comm, MPI_Info info);
-H5_DLL herr_t H5Pget_fapl_fphdf5(hid_t fapl_id, MPI_Comm *comm/*out*/,
- MPI_Info *info/*out*/);
+/*
+ *==--------------------------------------------------------------------------==
+ * API Functions
+ *==--------------------------------------------------------------------------==
+ */
+H5_DLL herr_t H5Pset_dxpl_fphdf5(hid_t dxpl_id, H5FD_mpio_xfer_t xfer_mode);
+H5_DLL herr_t H5Pget_dxpl_fphdf5(hid_t dxpl_id, H5FD_mpio_xfer_t *xfer_mode);
+H5_DLL herr_t H5Pset_fapl_fphdf5(hid_t fapl_id, MPI_Comm comm,
+ MPI_Comm barrier_comm, MPI_Info info,
+ unsigned sap_rank);
+H5_DLL herr_t H5Pget_fapl_fphdf5(hid_t fapl_id, MPI_Comm *comm,
+ MPI_Comm *barrier_comm, MPI_Info *info,
+ unsigned *sap_rank, unsigned *capt_rank);
+
+/*
+ *==--------------------------------------------------------------------------==
+ * Private Library Functions
+ *==--------------------------------------------------------------------------==
+ */
+H5_DLL hid_t H5FD_fphdf5_init(void);
H5_DLL MPI_Comm H5FD_fphdf5_communicator(H5FD_t *_file);
-H5_DLL herr_t H5FD_fphdf5_setup(hid_t dxpl_id, MPI_Datatype btype,
- MPI_Datatype ftype, unsigned use_view);
-H5_DLL herr_t H5FD_fphdf5_teardown(hid_t dxpl_id);
-H5_DLL int H5FD_fphdf5_mpi_rank(H5FD_t *_file);
-H5_DLL int H5FD_fphdf5_mpi_size(H5FD_t *_file);
+H5_DLL MPI_Comm H5FD_fphdf5_barrier_communicator(H5FD_t *_file);
+H5_DLL herr_t H5FD_fphdf5_setup(hid_t dxpl_id, MPI_Datatype btype,
+ MPI_Datatype ftype, unsigned use_view);
+H5_DLL herr_t H5FD_fphdf5_teardown(hid_t dxpl_id);
+H5_DLL int H5FD_fphdf5_mpi_rank(H5FD_t *_file);
+H5_DLL int H5FD_fphdf5_mpi_size(H5FD_t *_file);
+
+H5_DLL herr_t H5FD_fphdf5_write_real(H5FD_t *_file, H5FD_mem_t type,
+ hid_t dxpl_id, MPI_Offset mpi_off,
+ int size, const void *buf);
#ifdef __cplusplus
}