netcdf error after using chgres_cube

I have received the following error when checking the atmosphere fields from chgres_cube 

$  ncdump out.atm.tile1.nc
ncdump: out.atm.tile1.nc: NetCDF: HDF error

 

I was trying to obtain the nemsio forecast fields for the 3 6 and 9 hour forecasts both atms and sfc for 20180806 but cannot find them so tried to convert the grb2 level 4 file which i have done successfully before. is the original file corrupted, i checked the other files and they all appear fine, there also appears to not be any where as much info in the PET00 file compared to the other ones.

The problem seems relate to NetCDF / HDF5 file locking, try to set environment variable:

export HDF5_USE_FILE_LOCKING=FALSE

Thanks,

Linlin