Skip to content

Commit

Permalink
perf test development
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 14, 2019
1 parent a75df83 commit 7b05637
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions tests/cunit/test_async_perf.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,9 @@
#define LON_LEN 3

/* The length of our sample data along each dimension. */
#define X_DIM_LEN 128
#define Y_DIM_LEN 128
#define Z_DIM_LEN 128
#define X_DIM_LEN 4
#define Y_DIM_LEN 4
#define Z_DIM_LEN 4

/* The number of timesteps of data to write. */
#define NUM_TIMESTEPS 3
Expand Down Expand Up @@ -261,7 +261,7 @@ int main(int argc, char **argv)
ERR(ERR_INIT);

/* This code runs only on computation components. */
if (my_rank)
if (my_rank >= num_io_procs[niotest])
{
/* Run the simple darray async test. */
if ((ret = run_darray_async_test(iosysid, fmt, my_rank, ntasks, num_io_procs[niotest],
Expand Down Expand Up @@ -298,14 +298,14 @@ int main(int argc, char **argv)
printf("%d\t%d\t%d\t%d\t%d\t%8.3f\t%8.1f\t%8.3f\n", ntasks, num_io_procs[niotest],
1, 0, fmt, delta_in_sec, num_megabytes, mb_per_sec);
}

} /* next fmt */
} /* next niotest */

/* printf("%d %s SUCCESS!!\n", my_rank, TEST_NAME); */
/* Finalize the MPI library. */
if ((ret = pio_test_finalize(&test_comm)))
return ret;

/* printf("%d %s SUCCESS!!\n", my_rank, TEST_NAME); */

return 0;
}

0 comments on commit 7b05637

Please sign in to comment.