fixed some issues

This commit is contained in:
Ed Hartnett 2018-05-08 11:39:37 -06:00
parent a98df356d9
commit c175a302da
2 changed files with 5 additions and 5 deletions

View File

@ -5,8 +5,13 @@
Includes for some HDF5 stuff needed by tests.
*/
#ifndef _NCDIMSCALE_H_
#define _NCDIMSCALE_H_
typedef struct hdf5_objid
{
unsigned long fileno[2]; /* file number */
haddr_t objno[2]; /* object number */
} HDF5_OBJID_T;
#endif

View File

@ -1771,19 +1771,14 @@ int
nc_delete_mp(const char * path, int basepe)
{
NC *nc;
NC3_INFO* nc3;
int status;
int ncid;
size_t chunk = 512;
status = nc_open(path,NC_NOWRITE,&ncid);
if(status) return status;
status = NC_check_id(ncid,&nc);
if(status) return status;
nc3 = NC3_DATA(nc);
nc3->chunk = chunk;
#if defined(LOCKNUMREC) /* && _CRAYMPP */
if (status = NC_init_pe(nc3, basepe)) {