SIONlib
1.7.7
Scalable I/O library for parallel access to task-local files
|
Internal Functions(parallel) More...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "sion.h"
#include "sion_debug.h"
#include "sion_error_handler.h"
#include "sion_file.h"
#include "sion_filedesc.h"
#include "sion_fd.h"
#include "sion_metadata.h"
#include "sion_internal.h"
#include "sion_internal_startptr.h"
#include "sion_printts.h"
#include "sion_buffer.h"
#include "sion_keyvalue.h"
#include "sion_generic_internal.h"
#include "sion_generic_collective.h"
Go to the source code of this file.
Macros | |
#define | _XOPEN_SOURCE 700 |
#define | _SION_CONST_MAX_INT32 2147483647 |
Functions | |
int | _sion_paropen_mapped_generic (int sid, char *fname, sion_int64 file_mode_flags, char *prefix, int *numFiles, int *nlocaltasks, int **globalranks, sion_int64 **chunksizes, int **mapping_filenrs, int **mapping_lranks, sion_int32 *fsblksize, int rank, int ntasks, int flag, FILE **fileptr, _sion_generic_gendata *sion_gendata) |
Generic parallel open of one direct access file. Mapping sion files to environment with less tasks. More... | |
int | _sion_parclose_mapped_generic (int sid, int rank, int ntasks, _sion_generic_gendata *sion_gendata) |
Internal Functions(parallel)
Definition in file sion_generic_mapped.c.
int _sion_paropen_mapped_generic | ( | int | sid, |
char * | fname, | ||
sion_int64 | file_mode_flags, | ||
char * | prefix, | ||
int * | numFiles, | ||
int * | nlocaltasks, | ||
int ** | globalranks, | ||
sion_int64 ** | chunksizes, | ||
int ** | mapping_filenrs, | ||
int ** | mapping_lranks, | ||
sion_int32 * | fsblksize, | ||
int | rank, | ||
int | ntasks, | ||
int | flag, | ||
FILE ** | fileptr, | ||
_sion_generic_gendata * | sion_gendata | ||
) |
Generic parallel open of one direct access file. Mapping sion files to environment with less tasks.
sid | sion file handle |
fname | filename to use |
file_mode_flags | flags from already parsed file_mode (see also sion_internal.h) |
prefix | prefix to be used in case of multiple files |
numFiles | Number of files to open |
nlocaltasks | FIXME |
globalranks | FIXME |
chunksizes | chunksizes for all tasks |
mapping_filenrs | FIXME |
mapping_lranks | FIXME |
fsblksize | blocksize of filesystem (must be equal on all processors) |
rank | rank of the current process |
ntasks | number of processes |
flag | sion options flag |
fileptr | filepointer for this task |
sion_gendata | FIXME |
Definition at line 69 of file sion_generic_mapped.c.