ECP-VELOC Components
User documentation for all components
shuffile.h
Go to the documentation of this file.
1 #ifndef SHUFFILE_H
2 #define SHUFFILE_H
3 
4 #include "mpi.h"
5 
16 /* enable C++ codes to include this header directly */
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 
21 #define SHUFFILE_SUCCESS (0)
22 #define SHUFFILE_FAILURE (1)
23 
24 #define SHUFFILE_KEY_CONFIG_MPI_BUF_SIZE "MPI_BUF_SIZE"
25 #define SHUFFILE_KEY_CONFIG_DEBUG "DEBUG"
26 
28 int shuffile_init();
29 
31 int shuffile_finalize();
32 
33 /* needs to be above doxygen comment to get association right */
34 typedef struct kvtree_struct kvtree;
35 
56 kvtree* shuffile_config(
57  const kvtree* config
58 );
59 
63 int shuffile_create(
64  MPI_Comm comm,
65  MPI_Comm comm_store,
66  int numfiles,
67  const char** files,
68  const char* name
69 );
70 
74  MPI_Comm comm,
75  MPI_Comm comm_store,
76  const char* name
77 );
78 
82 int shuffile_remove(
83  MPI_Comm comm,
84  MPI_Comm comm_store,
85  const char* name
86 );
87 
88 /* enable C++ codes to include this header directly */
89 #ifdef __cplusplus
90 } /* extern "C" */
91 #endif
92 
93 #endif /* SHUFFILE_H */
shuffile_migrate
int shuffile_migrate(MPI_Comm comm, MPI_Comm comm_store, const char *name)
shuffile_finalize
int shuffile_finalize()
shuffile_config
kvtree * shuffile_config(const kvtree *config)
kvtree_struct
Definition: kvtree.h:87
shuffile_remove
int shuffile_remove(MPI_Comm comm, MPI_Comm comm_store, const char *name)
shuffile_init
int shuffile_init()
shuffile_create
int shuffile_create(MPI_Comm comm, MPI_Comm comm_store, int numfiles, const char **files, const char *name)