Skip to content

Commit

Permalink
doc fixes, performance program fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed May 1, 2019
1 parent 59b88bc commit 6005e85
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/clib/pio_nc4.c
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ int PIOc_def_var_chunking(int ncid, int varid, int storage, const PIO_Offset *ch
* @param varid the ID of the variable to set chunksizes for.
* @param storagep pointer to int which will be set to either
* NC_CONTIGUOUS or NC_CHUNKED.
* @param chunksizep pointer to memory where chunksizes will be
* @param chunksizesp pointer to memory where chunksizes will be
* set. There are the same number of chunksizes as there are
* dimensions.
* @return PIO_NOERR for success, otherwise an error code.
Expand Down
6 changes: 3 additions & 3 deletions tests/cunit/test_perf2.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#include <sys/time.h>

/* The number of tasks this test should run on. */
#define TARGET_NTASKS 16
#define TARGET_NTASKS 1024

/* The minimum number of tasks this test should run on. */
#define MIN_NTASKS TARGET_NTASKS
Expand All @@ -20,7 +20,7 @@
#define TEST_NAME "test_perf2"

/* Number of processors that will do IO. */
#define NUM_IO_PROCS 1
#define NUM_IO_PROCS 128

/* Number of computational components to create. */
#define COMPONENT_COUNT 1
Expand Down Expand Up @@ -379,7 +379,7 @@ int main(int argc, char **argv)
{
/* Initialize the PIO IO system. This specifies how
* many and which processors are involved in I/O. */
if ((ret = PIOc_Init_Intracomm(test_comm, TARGET_NTASKS, ioproc_stride,
if ((ret = PIOc_Init_Intracomm(test_comm, NUM_IO_PROCS, ioproc_stride,
ioproc_start, rearranger[r], &iosysid)))
return ret;

Expand Down

0 comments on commit 6005e85

Please sign in to comment.