better handling of var cache for parallel builds
@@ -1109,7 +1109,10 @@ nc4_adjust_var_cache(NC_GRP_INFO_T *grp, NC_VAR_INFO_T *var)
/* Nothing to be done. */
if (var->contiguous)
return NC_NOERR;
+
#ifdef USE_PARALLEL4
+ /* Don't set cache for files using parallel I/O. */
+ if (var->nc4_info->parallel)
return NC_NOERR;
#endif
