![]() |
SIONlib
1.7.3
Scalable I/O library for parallel access to task-local files
|
#include <stdio.h>#include "sion_const.h"#include "sion_datatypes.h"#include "sion_generic_apidesc.h"Go to the source code of this file.
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) |
| 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 66 of file sion_generic_mapped.c.
1.8.15