SIONlib
1.6.2
Scalable I/O library for parallel access to task-local files
src
parutils
partest_opts.h
1
/****************************************************************************
2
** SIONLIB http://www.fz-juelich.de/jsc/sionlib **
3
*****************************************************************************
4
** Copyright (c) 2008-2016 **
5
** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6
** **
7
** See the file COPYRIGHT in the package base directory for details **
8
****************************************************************************/
9
10
#ifndef PARTEST_OPTS_H_
11
#define PARTEST_OPTS_H_
12
13
#define FNAMELEN 255
14
15
struct
_test_options_struct
{
16
sion_int64 bufsize;
17
sion_int64 totalsize;
18
sion_int64 globalsize;
19
sion_int64 chunksize;
20
sion_int32 fsblksize;
21
int
type;
22
int
bluegene;
23
int
bluegene_np;
24
int
bluegene_sort;
25
int
verbose;
26
int
debug;
27
int
Debug;
28
int
numfiles;
29
int
startoffset;
30
int
read_task_offset;
31
int
collectiveopenforread;
32
int
collectiveread;
33
int
collectivewrite;
34
int
unlink_files;
35
int
suppress_checksum;
36
int
serialize_blocknum;
37
int
mpiio_lb;
38
int
mpiio_bs;
39
int
mpiio_sa;
40
double
factor;
41
int
do_read;
42
int
do_write;
43
int
use_posix;
44
char
filename[FNAMELEN];
45
};
46
47
typedef
struct
_test_options_struct
_test_options
;
48
49
50
int
init_options (
_test_options
*options);
51
int
parse_options_std (
int
argc,
char
**argv,
_test_options
*options);
52
int
parse_options_long (
int
argc,
char
**argv,
_test_options
*options);
53
int
distribute_options_mpi (
_test_options
*options);
54
void
usage(
char
*name);
55
void
usage_long(
char
*name);
56
sion_int64 to_bytes (
char
*option);
57
#endif
/* PARTEST_OPTS_H_ */
_test_options_struct
Definition:
partest_opts.h:15
Generated by
1.8.15