ECP-VELOC Components
User documentation for all components
|
Go to the documentation of this file. 1 #ifndef SHUFFILE_UTIL_H
2 #define SHUFFILE_UTIL_H
7 #define SHUFFILE_SUCCESS (0)
8 #define SHUFFILE_FAILURE (1)
10 #define SHUFFILE_VERSION "0.1.0"
12 #define SHUFFILE_MAX_FILENAME (1024)
39 #define SHUFFILE_MALLOC(X) shuffile_malloc(X, __FILE__, __LINE__);
55 const char* send_str,
int send_rank,
56 char** recv_str,
int recv_rank,
61 const char* file_send,
int rank_send,
62 char* file_recv,
size_t size_recv,
int rank_recv,
63 const char* dir_recv, MPI_Comm comm
71 #define COPY_FILES (0)
72 #define MOVE_FILES (1)
76 const char* file_send, kvtree* meta_send,
int rank_send,
77 const char* file_recv, kvtree* meta_recv,
int rank_recv,
void * shuffile_align_malloc(size_t size, size_t align)
void shuffile_align_free(void *buf)
int shuffile_swap_files(int swap_type, const char *file_send, kvtree *meta_send, int rank_send, const char *file_recv, kvtree *meta_recv, int rank_recv, MPI_Comm comm)
int shuffile_swap_file_names(const char *file_send, int rank_send, char *file_recv, size_t size_recv, int rank_recv, const char *dir_recv, MPI_Comm comm)
This file defines the data structure for a hash, which is an unordered list of elements,...
size_t shuffile_page_size
void shuffile_abort(int rc, const char *fmt,...)
int shuffile_str_sendrecv(const char *send_str, int send_rank, char **recv_str, int recv_rank, MPI_Comm comm)
int shuffile_mpi_buf_size
void shuffile_err(const char *fmt,...)
void shuffile_warn(const char *fmt,...)
void * shuffile_malloc(size_t size, const char *file, int line)
void shuffile_free(void *ptr)
int shuffile_alltrue(int flag, MPI_Comm comm)
void shuffile_dbg(int level, const char *fmt,...)