SIONlib  1.7.5
Scalable I/O library for parallel access to task-local files
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 ** 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 collmsa;
35  int unlink_files;
36  int suppress_checksum;
37  int serialize_blocknum;
38  int mpiio_lb;
39  int mpiio_bs;
40  int mpiio_sa;
41  double factor;
42  int do_read;
43  int do_write;
44  int use_posix;
45  char filename[FNAMELEN];
46 };
47 
48 typedef struct _test_options_struct _test_options;
49 
50 
51 int init_options ( _test_options *options);
52 int parse_options_std ( int argc, char **argv, _test_options *options);
53 int parse_options_long ( int argc, char **argv, _test_options *options);
54 int distribute_options_mpi ( _test_options *options);
55 void usage(char *name);
56 void usage_long(char *name);
57 sion_int64 to_bytes ( char *option);
58 #endif /* PARTEST_OPTS_H_ */
_test_options_struct
Definition: partest_opts.h:14