SIONlib
1.7.7
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-2019 **
5
** Forschungszentrum Juelich, Juelich Supercomputing Centre **
6
** **
7
** Copyright (c) 2019 **
8
** DataDirect Networks **
9
** **
10
** See the file COPYRIGHT in the package base directory for details **
11
****************************************************************************/
12
13
#ifndef PARTEST_OPTS_H_
14
#define PARTEST_OPTS_H_
15
16
#define FNAMELEN 255
17
18
struct
_test_options_struct
{
19
sion_int64 bufsize;
20
sion_int64 totalsize;
21
sion_int64 globalsize;
22
sion_int64 chunksize;
23
sion_int32 fsblksize;
24
int
type;
25
int
bluegene;
26
int
bluegene_np;
27
int
bluegene_sort;
28
int
verbose;
29
int
debug;
30
int
Debug;
31
int
numfiles;
32
int
startoffset;
33
int
read_task_offset;
34
int
collectiveopenforread;
35
int
collectiveread;
36
int
collectivewrite;
37
int
collmsa;
38
int
unlink_files;
39
int
suppress_checksum;
40
int
serialize_blocknum;
41
int
mpiio_lb;
42
int
mpiio_bs;
43
int
mpiio_sa;
44
double
factor;
45
int
do_read;
46
int
do_write;
47
int
use_posix;
48
#if defined(_SION_SIONFWD)
49
int
use_sionfwd;
50
#endif
51
#ifdef _SION_IME_NATIVE
52
int
use_ime_native;
53
#endif
54
char
filename[FNAMELEN];
55
};
56
57
typedef
struct
_test_options_struct
_test_options
;
58
59
60
int
init_options (
_test_options
*options);
61
int
parse_options_std (
int
argc,
char
**argv,
_test_options
*options);
62
int
parse_options_long (
int
argc,
char
**argv,
_test_options
*options);
63
int
distribute_options_mpi (
_test_options
*options);
64
void
usage(
char
*name);
65
void
usage_long(
char
*name);
66
sion_int64 to_bytes (
char
*option);
67
#endif
/* PARTEST_OPTS_H_ */
_test_options_struct
Definition:
partest_opts.h:18
Generated by
1.9.1