~ubuntu-branches/debian/stretch/adios/stretch

« back to all changes in this revision

Viewing changes to src/core/adios_bp_v1.h

  • Committer: Package Import Robot
  • Author(s): Alastair McKinstry
  • Date: 2014-06-16 23:06:38 UTC
  • mfrom: (1.1.4)
  • Revision ID: package-import@ubuntu.com-20140616230638-5a0z7ylxx8i0edrg
Tags: 1.7.0-1
* New upstream release.
* Add adios.pc pkgconfig file. adios_config now uses this.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
#include "core/adios_transport_hooks.h"
14
14
#include "core/qhashtbl.h"
15
15
 
16
 
#define ADIOS_VERSION_NUM_MASK                       0x00000011
 
16
#define ADIOS_VERSION_BP_FORMAT                      2
 
17
#define ADIOS_VERSION_NUM_MASK                       0x000000FF
17
18
#define ADIOS_VERSION_HAVE_SUBFILE                   0x00000100
18
19
#define ADIOS_VERSION_HAVE_TIME_INDEX_CHARACTERISTIC 0x00000200
19
20
enum ADIOS_CHARACTERISTICS
124
125
{
125
126
    uint64_t offset;  // beginning of the var or attr entry
126
127
    struct adios_index_characteristic_dims_struct_v1 dims;
127
 
    uint16_t var_id;
 
128
    uint32_t var_id;
128
129
    void * value;
129
130
    uint64_t payload_offset;   // beginning of the var or attr payload
130
131
    uint32_t file_index;  // subfile index
147
148
 
148
149
struct adios_index_var_struct_v1
149
150
{
150
 
    uint16_t id;
 
151
    uint32_t id;
151
152
    char * group_name;
152
153
    char * var_name;
153
154
    char * var_path;
163
164
 
164
165
struct adios_index_attribute_struct_v1
165
166
{
166
 
    uint16_t id;
 
167
    uint32_t id;
167
168
    char * group_name;
168
169
    char * attr_name;
169
170
    char * attr_path;
202
203
struct adios_dimension_item_struct_v1
203
204
{
204
205
    uint64_t rank;
205
 
    uint16_t var_id;
 
206
    uint32_t var_id;
206
207
    enum ADIOS_FLAG time_index;
207
208
};
208
209
 
218
219
{
219
220
    enum ADIOS_FLAG host_language_fortran;
220
221
    char * name;
221
 
    uint16_t coord_var_id;
 
222
    uint32_t coord_var_id;
222
223
    char * time_index_name;
223
224
    uint32_t time_index;
224
225
    uint8_t methods_count;
227
228
 
228
229
struct adios_vars_header_struct_v1
229
230
{
230
 
    uint16_t count;
 
231
    uint32_t count;
231
232
    uint64_t length;
232
233
};
233
234
 
234
235
struct adios_attributes_header_struct_v1
235
236
{
236
 
    uint16_t count;
 
237
    uint32_t count;
237
238
    uint64_t length;
238
239
};
239
240
 
240
241
struct adios_var_header_struct_v1
241
242
{
242
 
    uint16_t id;
 
243
    uint32_t id;
243
244
    char * name;
244
245
    char * path;
245
246
    enum ADIOS_DATATYPES type;
256
257
 
257
258
struct adios_attribute_struct_v1
258
259
{
259
 
    uint16_t id;
 
260
    uint32_t id;
260
261
    char * name;
261
262
    char * path;
262
263
 
263
264
    enum ADIOS_FLAG is_var;
264
265
 
265
 
    uint16_t var_id;
 
266
    uint32_t var_id;
266
267
 
267
268
    enum ADIOS_DATATYPES type;
268
269
    uint32_t length;