Skip to content

Commit

Permalink
getting close to turning on int reads
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Sep 3, 2019
1 parent 3d8167a commit 20a3b29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/ncint/tst_pio_async.c
Original file line number Diff line number Diff line change
Expand Up @@ -96,19 +96,19 @@ main(int argc, char **argv)
/* Open the file. */
if (nc_open(FILE_NAME, NC_UDF0, &ncid)) PERR;

/* /\* Read distributed arrays. *\/ */
/* if (!(data_in = malloc(elements_per_pe * sizeof(int)))) PERR; */
/* Read distributed arrays. */
if (!(data_in = malloc(elements_per_pe * sizeof(int)))) PERR;
/* if (nc_get_vard_int(ncid, varid, ioid, 0, data_in)) PERR; */

/* /\* Check results. *\/ */
/* Check results. */
/* for (i = 0; i < elements_per_pe; i++) */
/* if (data_in[i] != my_data[i]) PERR; */

/* Close file. */
if (nc_close(ncid)) PERR;

/* /\* Free resources. *\/ */
/* free(data_in); */
/* Free resources. */
free(data_in);
free(my_data);
if (nc_free_decomp(ioid)) PERR;
if (nc_free_iosystem(iosysid)) PERR;
Expand Down

0 comments on commit 20a3b29

Please sign in to comment.