SCORPIO  1.7.0
Macros | Functions | Variables
darray_async.c File Reference
#include <getopt.h>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <mpi.h>
#include <pio.h>
Include dependency graph for darray_async.c:

Macros

#define TEST_NAME   "darray_async"
 
#define NUM_NETCDF_FLAVORS   4
 
#define NDIM3   3
 
#define NUM_TIMESTEPS   2
 
#define DIM_LEN_X   4
 
#define DIM_LEN_Y   4
 
#define VAR_NAME   "foo"
 
#define ERR_BAD   1001
 
#define START_DATA_VAL   42
 
#define TARGET_NTASKS   5
 
#define LOG_LEVEL   3
 
#define NUM_IO_TASKS   1
 
#define NUM_COMP_TASKS   4
 
#define COMPONENT_COUNT   1
 
#define MPIERR(e)
 
#define ERR(e)
 

Functions

int main (int argc, char *argv[])
 

Variables

int dim_len [NDIM3] = {NC_UNLIMITED, DIM_LEN_X, DIM_LEN_Y}
 
char dim_name [NDIM3][PIO_MAX_NAME+1] = {"unlimted", "x", "y"}
 
char err_buffer [MPI_MAX_ERROR_STRING]
 
int resultlen
 

Macro Definition Documentation

◆ COMPONENT_COUNT

#define COMPONENT_COUNT   1

◆ DIM_LEN_X

#define DIM_LEN_X   4

◆ DIM_LEN_Y

#define DIM_LEN_Y   4

◆ ERR

#define ERR (   e)
Value:
do { \
MPI_Finalize(); \
return e; \
} while (0)

◆ ERR_BAD

#define ERR_BAD   1001

◆ LOG_LEVEL

#define LOG_LEVEL   3

◆ MPIERR

#define MPIERR (   e)
Value:
do { \
MPI_Error_string(e, err_buffer, &resultlen); \
printf("MPI error, line %d, file %s: %s\n", __LINE__, __FILE__, err_buffer); \
MPI_Finalize(); \
return 2; \
} while (0)
char err_buffer[MPI_MAX_ERROR_STRING]
Definition: darray_async.c:91
int resultlen
Definition: darray_async.c:95

◆ NDIM3

#define NDIM3   3

◆ NUM_COMP_TASKS

#define NUM_COMP_TASKS   4

◆ NUM_IO_TASKS

#define NUM_IO_TASKS   1

◆ NUM_NETCDF_FLAVORS

#define NUM_NETCDF_FLAVORS   4

◆ NUM_TIMESTEPS

#define NUM_TIMESTEPS   2

◆ START_DATA_VAL

#define START_DATA_VAL   42

◆ TARGET_NTASKS

#define TARGET_NTASKS   5

◆ TEST_NAME

#define TEST_NAME   "darray_async"

◆ VAR_NAME

#define VAR_NAME   "foo"

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Variable Documentation

◆ dim_len

int dim_len[NDIM3] = {NC_UNLIMITED, DIM_LEN_X, DIM_LEN_Y}

◆ dim_name

char dim_name[NDIM3][PIO_MAX_NAME+1] = {"unlimted", "x", "y"}

◆ err_buffer

char err_buffer[MPI_MAX_ERROR_STRING]

◆ resultlen

int resultlen