Skip to content

Commit

Permalink
better handling of netcdf integration in C lirbary
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Jul 12, 2019
1 parent 08e7b2b commit e3d1a21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,7 @@ fi
if test "x$enable_netcdf_integration" = xyes; then
AC_DEFINE([HDF5_PARALLEL],[1],[Does HDF5 library provide parallel access])
AC_DEFINE([USE_NETCDF4],[1],[Does HDF5 library provide parallel access])
AC_DEFINE([NETCDF_INTEGRATION],[1],[Are we building with netCDF integration])
fi

AM_CONDITIONAL(BUILD_NCINT, [test "x$enable_netcdf_integration" = xyes])
Expand Down
2 changes: 1 addition & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# Does the user want to build fortran?
if BUILD_FORTRAN
FLIB = flib
endif
endif # BUILD_FORTRAN

# Are we building with the GPTL timing library?
if USE_GPTL
Expand Down
1 change: 1 addition & 0 deletions src/clib/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ lib_LTLIBRARIES = libpioc.la
# Are we building with netCDF integration?
if BUILD_NCINT
libpioc_la_LIBADD = ../ncint/libncint.la
libpioc_la_CPPFLAGS = -I${top_srcdir}/src/ncint
endif # BUILD_NCINT

# These linker flags specify libtool version info.
Expand Down
1 change: 1 addition & 0 deletions src/clib/pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -1250,6 +1250,7 @@ extern "C" {
int nc_init_intracomm(MPI_Comm comp_comm, int num_iotasks, int stride, int base, int rearr,
int *iosysidp);

int nc_set_iosystem(int iosysid);
int nc_free_iosystem(int iosysid);

int nc_init_decomp(int iosysid, int pio_type, int ndims, const int *gdimlen,
Expand Down

0 comments on commit e3d1a21

Please sign in to comment.