diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-28 18:45:26 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-10-28 18:45:26 (GMT) |
commit | 0d1aba339eb7f0fd53282412289226896df1e988 (patch) | |
tree | 46ffeb916926d629eae9d9d37e0c825a1d19fe17 /src/H5FPserver.c | |
parent | 4bd557ec1ee1f85bfda57a304093ca1768ba2d0a (diff) | |
download | hdf5-0d1aba339eb7f0fd53282412289226896df1e988.zip hdf5-0d1aba339eb7f0fd53282412289226896df1e988.tar.gz hdf5-0d1aba339eb7f0fd53282412289226896df1e988.tar.bz2 |
[svn-r6040] Purpose:
Code cleanup
Description:
Add more comments and clean up small bits of the FPH5 code.
Platforms tested:
FreeBSD 4.7 (sleipnir), changes too minor to affect other platforms.
Diffstat (limited to 'src/H5FPserver.c')
-rw-r--r-- | src/H5FPserver.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/H5FPserver.c b/src/H5FPserver.c index b4eb3bc..5fe3df3 100644 --- a/src/H5FPserver.c +++ b/src/H5FPserver.c @@ -25,10 +25,6 @@ * handle requests from clients. */ -#include <stdio.h> -#include <stdlib.h> -#include <string.h> - #include "H5private.h" /* Generic Functions */ #include "H5Eprivate.h" /* Error Handling */ #include "H5Oprivate.h" /* Object Headers */ @@ -38,14 +34,11 @@ #include "H5FPprivate.h" /* Flexible Parallel Functions */ -#include "mpi.h" - /* Pablo mask */ #define PABLO_MASK H5FPserver_mask /* Is the interface initialized? */ static int interface_initialize_g = 0; - #define INTERFACE_INIT NULL MPI_Datatype SAP_request_t; /* MPI datatype for the SAP_request obj */ @@ -819,6 +812,7 @@ H5FP_sap_handle_open_request(struct SAP_request req, char *mdata, int md_len) HGOTO_ERROR(H5E_FPHDF5, H5E_CANTINSERT, FAIL, "can't insert file structure into tree"); /* broadcast the file id to all processes */ + /* FIXME: Isn't there some way to broadcast this result to the barrier group? -QAK */ for (i = 0; i < H5FP_comm_size; ++i) if ((unsigned)i != H5FP_sap_rank) if ((mrc = MPI_Send(&new_file_id, 1, MPI_UNSIGNED, i, |