Skip to content

Commit

Permalink
Merge pull request #84 from NCAR/ejh_darray4
Browse files Browse the repository at this point in the history
Ejh darray4 - splitting async code, starting to add LOG statements and comments, cleanup of docs
  • Loading branch information
Katetc authored Jun 22, 2016
2 parents c902eb9 + 5831e9f commit 7febfee
Show file tree
Hide file tree
Showing 6 changed files with 2,432 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/clib/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ set (PIO_C_SRCS topology.c
pioc_sc.c
pio_spmd.c
pio_rearrange.c
pio_darray.c
pio_nc4.c
bget.c)

Expand All @@ -23,9 +22,10 @@ set (PIO_GENNC_SRCS ${CMAKE_CURRENT_BINARY_DIR}/pio_put_nc.c
${CMAKE_CURRENT_BINARY_DIR}/pio_nc.c)

if (PIO_ENABLE_ASYNC)
set (PIO_ADDL_SRCS pio_nc_async.c pio_put_nc_async.c pio_get_nc_async.c pio_msg.c pio_varm.c)
set (PIO_ADDL_SRCS pio_nc_async.c pio_put_nc_async.c pio_get_nc_async.c
pio_msg.c pio_varm.c pio_darray_async.c)
else ()
set (PIO_ADDL_SRCS ${PIO_GENNC_SRCS})
set (PIO_ADDL_SRCS pio_darray.c ${PIO_GENNC_SRCS})
endif ()

add_library (pioc ${PIO_C_SRCS} ${PIO_ADDL_SRCS})
Expand Down
1 change: 0 additions & 1 deletion src/clib/bget.c
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@
BGET CONFIGURATION
==================
*/
//#define PIO_USE_MALLOC 1
#ifdef PIO_USE_MALLOC
#include <stdlib.h>
#endif
Expand Down
2 changes: 1 addition & 1 deletion src/clib/pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
typedef struct var_desc_t
{
/** The unlimited dimension in the netCDF file (typically the time
* dimension). */
* dimension). -1 if there is no unlimited dimension. */
int record;

/** Number of dimensions for this variable. */
Expand Down
Loading

0 comments on commit 7febfee

Please sign in to comment.