|
SCORPIO 2.0.0
|
Public headers for the PIO C interface. More...
#include <stdio.h>#include <stdlib.h>#include <stdbool.h>#include <string.h>#include <mpi.h>#include "pio_config.h"#include "pio_api.h"

Go to the source code of this file.
Classes | |
| struct | rearr_comm_fc_opt |
| Rearranger comm flow control options. More... | |
| struct | rearr_opt |
| Rearranger options. More... | |
Macros | |
| #define | PIO_IODESC_START_ID 512 |
| The start ID and maximum number of IDs for IO decompositions. | |
| #define | PIO_IODESC_MAX_IDS 65536 |
| #define | PIO_MAX_VARS_UB 8192 |
| The maximum number of variables allowed in a netCDF file. | |
| #define | PIO_MAX_VARS NC_MAX_VARS |
| #define | PIO_MAX_DIMS_UB 1024 |
| The maximum number of dimensions allowed in a netCDF file. | |
| #define | PIO_MAX_DIMS NC_MAX_DIMS |
| #define | PIO_MAX_ATTRS_UB 8192 |
| The maximum number of attributes allowed in a netCDF file. | |
| #define | PIO_MAX_ATTRS NC_MAX_ATTRS |
| #define | PIO_DEFAULT (-1) |
| Pass this to PIOc_set_iosystem_error_handling() as the iosysid in order to set default error handling. | |
| #define | DECOMP_VERSION_ATT_NAME "version" |
| Used in the decomposition netCDF file. | |
| #define | DECOMP_MAX_MAPLEN_ATT_NAME "max_maplen" |
| #define | DECOMP_TITLE_ATT_NAME "title" |
| #define | DECOMP_HISTORY_ATT_NAME "history" |
| #define | DECOMP_SOURCE_ATT_NAME "source" |
| #define | DECOMP_ORDER_ATT_NAME "array_order" |
| #define | DECOMP_BACKTRACE_ATT_NAME "backtrace" |
| #define | DECOMP_DIM_DIM "dims" |
| #define | DECOMP_TASK_DIM_NAME "task" |
| #define | DECOMP_MAPELEM_DIM_NAME "map_element" |
| #define | DECOMP_NDIMS "ndims" |
| #define | DECOMP_GLOBAL_SIZE_VAR_NAME "global_size" |
| #define | DECOMP_MAPLEN_VAR_NAME "maplen" |
| #define | DECOMP_MAP_VAR_NAME "map" |
| #define | DECOMP_C_ORDER_STR "C" |
| #define | DECOMP_FORTRAN_ORDER_STR "Fortran" |
| #define | PIO_EINDEP (-203) |
| Define the extra error codes for the parallel-netcdf library. | |
| #define | PIO_REQ_NULL (-1) |
| #define | PIO_FIRST_ERROR_CODE (-500) |
| Define error codes for PIO. | |
| #define | PIO_EBADIOTYPE (-500) |
| #define | PIO_EINTERNAL (-501) |
| #define | PIO_REARR_COMM_UNLIMITED_PEND_REQ -1 |
Typedefs | |
| typedef PIO_OFFSET_C_TYPENAME | PIO_Offset |
| typedef struct rearr_comm_fc_opt | rearr_comm_fc_opt_t |
| Rearranger comm flow control options. | |
| typedef struct rearr_opt | rearr_opt_t |
| Rearranger options. | |
Public headers for the PIO C interface.
| #define DECOMP_BACKTRACE_ATT_NAME "backtrace" |
| #define DECOMP_C_ORDER_STR "C" |
| #define DECOMP_DIM_DIM "dims" |
| #define DECOMP_FORTRAN_ORDER_STR "Fortran" |
| #define DECOMP_GLOBAL_SIZE_VAR_NAME "global_size" |
| #define DECOMP_HISTORY_ATT_NAME "history" |
| #define DECOMP_MAP_VAR_NAME "map" |
| #define DECOMP_MAPELEM_DIM_NAME "map_element" |
| #define DECOMP_MAPLEN_VAR_NAME "maplen" |
| #define DECOMP_MAX_MAPLEN_ATT_NAME "max_maplen" |
| #define DECOMP_NDIMS "ndims" |
| #define DECOMP_ORDER_ATT_NAME "array_order" |
| #define DECOMP_SOURCE_ATT_NAME "source" |
| #define DECOMP_TASK_DIM_NAME "task" |
| #define DECOMP_TITLE_ATT_NAME "title" |
| #define DECOMP_VERSION_ATT_NAME "version" |
Used in the decomposition netCDF file.
| #define PIO_DEFAULT (-1) |
Pass this to PIOc_set_iosystem_error_handling() as the iosysid in order to set default error handling.
| #define PIO_EBADIOTYPE (-500) |
| #define PIO_EINDEP (-203) |
Define the extra error codes for the parallel-netcdf library.
| #define PIO_EINTERNAL (-501) |
| #define PIO_FIRST_ERROR_CODE (-500) |
Define error codes for PIO.
| #define PIO_IODESC_MAX_IDS 65536 |
| #define PIO_IODESC_START_ID 512 |
The start ID and maximum number of IDs for IO decompositions.
| #define PIO_MAX_ATTRS NC_MAX_ATTRS |
| #define PIO_MAX_ATTRS_UB 8192 |
The maximum number of attributes allowed in a netCDF file.
| #define PIO_MAX_DIMS NC_MAX_DIMS |
| #define PIO_MAX_DIMS_UB 1024 |
The maximum number of dimensions allowed in a netCDF file.
| #define PIO_MAX_VARS NC_MAX_VARS |
| #define PIO_MAX_VARS_UB 8192 |
The maximum number of variables allowed in a netCDF file.
| #define PIO_REARR_COMM_UNLIMITED_PEND_REQ -1 |
| #define PIO_REQ_NULL (-1) |
| typedef PIO_OFFSET_C_TYPENAME PIO_Offset |
| typedef struct rearr_comm_fc_opt rearr_comm_fc_opt_t |
Rearranger comm flow control options.
| typedef struct rearr_opt rearr_opt_t |
Rearranger options.
| enum PIO_ERROR_HANDLERS |
These are the supported error handlers.
| enum PIO_IOTYPE |
These are the supported methods of reading/writing input/output files.
The PnetCDF, NetCDF and HDF5 libraries output data in the NetCDF file format. The ADIOS library outputs data in the BP file format.
Rearranger comm flow control direction.
The rearranger option values must match the definitions in the fortran interface.
| enum PIO_REARR_COMM_TYPE |
| enum PIO_REARRANGERS |