diff --git a/src/clib/pioc_support.c b/src/clib/pioc_support.c index 22ac350d311..202b7b51996 100644 --- a/src/clib/pioc_support.c +++ b/src/clib/pioc_support.c @@ -2113,6 +2113,7 @@ PIOc_createfile_int(int iosysid, int *ncidp, int *iotype, const char *filename, * generated on the computation processors, with the ncid * generated by the I/O processors (which know about all open * files). In normal PIO operation, the ncid is generated here. */ +#ifdef NETCDF_INTEGRATION if (use_ext_ncid) { /* The ncid was assigned on the computational @@ -2123,6 +2124,7 @@ PIOc_createfile_int(int iosysid, int *ncidp, int *iotype, const char *filename, file->pio_ncid = file->pio_ncid << ID_SHIFT; PLOG((2, "changed ncid to file->pio_ncid = %d", file->pio_ncid)); } +#endif /* NETCDF_INTEGRATION */ PLOG((2, "file->fh = %d file->pio_ncid = %d", file->fh, file->pio_ncid)); /* Return the ncid to the caller. */