Skip to content

Commit

Permalink
adding async perf test
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 13, 2019
1 parent 84634cd commit 229d05d
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/cunit/test_async_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
/* The name of this test. */
#define TEST_NAME "test_async_perf"

/* For 1-D use. */
#define NDIM1 1

/* For 2-D use. */
#define NDIM2 2

/* For 3-D use. */
#define NDIM3 3

/* For 4-D use. */
#define NDIM3 4

/* For maplens of 2. */
#define MAPLEN2 2

Expand Down Expand Up @@ -56,7 +56,7 @@
#define NOREC_VAR_NAME "surface_height"
#define NOREC_VAR_NAME2 "surface_height2"

char dim_name[NDIM3][PIO_MAX_NAME + 1] = {"unlim", "lat", "lon"};
char dim_name[NDIM4][PIO_MAX_NAME + 1] = {"unlim", "x", "y", "z"};

/* Length of the dimension. */
#define LEN3 3
Expand Down Expand Up @@ -110,7 +110,7 @@ run_darray_async_test(int iosysid, int my_rank, int ntasks, MPI_Comm test_comm,
{
int ioid;
int ioid3;
int dim_len[NDIM3] = {NC_UNLIMITED, 2, 3};
int dim_len[NDIM4] = {NC_UNLIMITED, 2, 3};
PIO_Offset elements_per_pe = LAT_LEN;
PIO_Offset compdof[LAT_LEN] = {my_rank * 2 - 2, my_rank * 2 - 1};
char decomp_filename[PIO_MAX_NAME + 1];
Expand Down

0 comments on commit 229d05d

Please sign in to comment.