SIONlib
1.7.7
Scalable I/O library for parallel access to task-local files
|
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#include <string.h>
#include <time.h>
#include <sys/time.h>
#include <sys/types.h>
#include <fcntl.h>
#include <unistd.h>
#include "sion.h"
#include "sion_debug.h"
#include "sion_error_handler.h"
#include "sion_internal.h"
#include "sion_fd.h"
#include "sion_filedesc.h"
#include "sion_printts.h"
#include "sion_generic_apidesc.h"
#include "sion_generic_buddy.h"
#include "sion_generic_collective.h"
Go to the source code of this file.
Macros | |
#define | _XOPEN_SOURCE 700 |
#define | DFUNCTION "sion_coll_fwrite" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task More... | |
#define | DFUNCTION "sion_coll_fread" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task More... | |
#define | DFUNCTION "_sion_generic_collective_process_write" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task More... | |
#define | DFUNCTION "_sion_generic_collective_process_read" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task More... | |
#define | DFUNCTION "_sion_coll_check_env" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task More... | |
Functions | |
size_t | sion_coll_fwrite (const void *data, size_t size, size_t nitems, int sid) |
size_t | sion_coll_fread (void *data, size_t size, size_t nitems, int sid) |
int | _sion_generic_collective_process_write (const void *data, sion_int64 *spec, int sid) |
int | _sion_generic_collective_process_read (void *data, sion_int64 *spec, int sid) |
int | _sion_coll_check_env (_sion_filedesc *sion_filedesc) |
#define DFUNCTION "sion_coll_fwrite" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task
*sion_filedesc | sion file description struct (_sion_filedesc) |
Definition at line 387 of file sion_generic_collective.c.
#define DFUNCTION "sion_coll_fread" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task
*sion_filedesc | sion file description struct (_sion_filedesc) |
Definition at line 387 of file sion_generic_collective.c.
#define DFUNCTION "_sion_generic_collective_process_write" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task
*sion_filedesc | sion file description struct (_sion_filedesc) |
Definition at line 387 of file sion_generic_collective.c.
#define DFUNCTION "_sion_generic_collective_process_read" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task
*sion_filedesc | sion file description struct (_sion_filedesc) |
Definition at line 387 of file sion_generic_collective.c.
#define DFUNCTION "_sion_coll_check_env" |
checks if environment variables are set to use collective I/O SION_COLLSIZE = -1 -> number of collector is computed by sionlib and depends on chunksizes and filesystem-blocksize SION_COLLSIZE = 0 -> collective is not used SION_COLLSIZE > 0 -> number of task to be collected by one (master) task
*sion_filedesc | sion file description struct (_sion_filedesc) |
Definition at line 387 of file sion_generic_collective.c.